Ejemplo n.º 1
0
 static function resetCurrentTemplateVars()
 {
     self::$_current_template_dir = '';
     self::$_current_template_url = '';
     self::$_current_template_file = '';
     self::$_current_actionbox_obj = null;
     self::$_current_template_style_dir = '';
     self::$_current_template_style_url = '';
 }
Ejemplo n.º 2
0
 /**
 * ACTION BOXES
 * =======================* /
 
 	/**
 * @filters get_action_box
 */
 static function defaultGetTemplateFilter($actionBox, $type, $actionBoxObj)
 {
     //error_log( print_r($type, true) );
     switch ($type) {
         case 'optin':
             $actionBox = MAB_Template::getActionBoxOptin($actionBoxObj);
             break;
         default:
             break;
     }
     return $actionBox;
 }