diff --git a/e107_plugins/_blank/admin_config.php b/e107_plugins/_blank/admin_config.php index b65c2ed39..e6d61dddd 100644 --- a/e107_plugins/_blank/admin_config.php +++ b/e107_plugins/_blank/admin_config.php @@ -89,7 +89,7 @@ class plugin_blank_admin_ui extends e_admin_ui * * @var string */ - protected $pluginName = 'blank'; + protected $pluginName = '_blank'; /** * DB Table, table alias is supported @@ -282,12 +282,17 @@ class plugin_blank_admin_ui extends e_admin_ui protected $prefs = array( 'pref_type' => array('title'=> 'type', 'type'=>'text', 'data' => 'string', 'validate' => true), 'pref_folder' => array('title'=> 'folder', 'type' => 'boolean', 'data' => 'integer'), - 'pref_name' => array('title'=> 'name', 'type' => 'text', 'data' => 'string', 'validate' => 'regex', 'rule' => '#^[\w]+$#i', 'help' => 'allowed characters are a-zA-Z and underscore') + 'pref_name' => array('title'=> 'name', 'type' => 'text', 'data' => 'string', 'validate' => 'regex', 'rule' => '#^[\w]+$#i', 'help' => 'allowed characters are a-zA-Z and underscore'), + 'pref_classes' => array('title'=> 'classes', 'type' => 'userclasses', 'data' => 'array') + ); // optional public function init() { + $pref = e107::pref('_blank'); + e107::getDebug()->log($pref); + }