Old smarty version with custom plugins