1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-17 20:01:47 +02:00

admin UI - better 'layout' type interface; old featurebox 'method' disabled, shortcode handler reset scClass object method added (start of 'functions to methods' task)

This commit is contained in:
secretr
2009-12-12 16:40:41 +00:00
parent 361b05ce6f
commit 84c75d3c5b
6 changed files with 121 additions and 49 deletions

View File

@@ -9,8 +9,8 @@
* Featurebox administration
*
* $Source: /cvs_backup/e107_0.8/e107_plugins/featurebox/admin_config.php,v $
* $Revision: 1.13 $
* $Date: 2009-12-10 22:46:45 $
* $Revision: 1.14 $
* $Date: 2009-12-12 16:40:41 $
* $Author: secretr $
*
*/
@@ -101,6 +101,19 @@ class fb_category_ui extends e_admin_ui
{
$new_data['fb_category_limit'] = 1;
}
if(!varset($new_data['fb_category_template']))
{
$new_data['fb_category_template'] = 'default';
}
return $new_data;
}
public function beforeUpdate($new_data)
{
if(!varset($new_data['fb_category_template']))
{
$new_data['fb_category_template'] = 'default';
}
return $new_data;
}