[geeklog-cvs] Geeklog-1.x/plugins/staticpages functions.inc, 1.112, 1.113
Dirk Haun
dhaun at qs1489.pair.com
Sat Jan 26 08:14:48 EST 2008
Update of /cvsroot/geeklog/Geeklog-1.x/plugins/staticpages
In directory qs1489.pair.com:/tmp/cvs-serv78797/plugins/staticpages
Modified Files:
functions.inc
Log Message:
Moved default permissions to a separate config group
Index: functions.inc
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/plugins/staticpages/functions.inc,v
retrieving revision 1.112
retrieving revision 1.113
diff -C2 -d -r1.112 -r1.113
*** functions.inc 26 Jan 2008 11:47:22 -0000 1.112
--- functions.inc 26 Jan 2008 13:14:46 -0000 1.113
***************
*** 61,66 ****
$sp_config = config::get_instance();
- $LANG_configsubgroups['staticpages'][0] = $LANG_STATIC['config_menubar'];
- $LANG_fs['staticpages'][0] = $LANG_STATIC['config_menu1'];
$_SP_CONF = $sp_config->get_config('staticpages');
}
--- 61,64 ----
***************
*** 1048,1055 ****
$sp_config->add('filter_html', $_SP_CONF['filter_html'], 'select', 0, 0, 0, 80, true, 'staticpages');
$sp_config->add('censor', $_SP_CONF['censor'], 'select', 0, 0, 0, 90, true, 'staticpages');
! $sp_config->add('default_permissions', $_SP_CONF['default_permissions'], '@select', 0, 0, 12, 100, true, 'staticpages');
!
! $sp_config->add('aftersave', $_SP_CONF['aftersave'], 'select', 0, 0, 9, 110, true, 'staticpages');
! $sp_config->add('atom_max_items', $_SP_CONF['atom_max_items'], 'text', 0, 0, null, 120, true, 'staticpages');
// Rename the existing config.php as it's not needed now
--- 1046,1052 ----
$sp_config->add('filter_html', $_SP_CONF['filter_html'], 'select', 0, 0, 0, 80, true, 'staticpages');
$sp_config->add('censor', $_SP_CONF['censor'], 'select', 0, 0, 0, 90, true, 'staticpages');
! $sp_config->add('aftersave', $_SP_CONF['aftersave'], 'select', 0, 0, 9, 100, true, 'staticpages');
! $sp_config->add('atom_max_items', $_SP_CONF['atom_max_items'], 'text', 0, 0, null, 110, true, 'staticpages');
! $sp_config->add('default_permissions', $_SP_CONF['default_permissions'], '@select', 0, 1, 12, 120, true, 'staticpages');
// Rename the existing config.php as it's not needed now
More information about the geeklog-cvs
mailing list