renamed Smarty Viewhelper check_permission() to is_authorized()