[geeklog-cvs] Geeklog-1.x/plugins/staticpages functions.inc, 1.104, 1.105

Blaine Lang blaine at qs1489.pair.com
Sun Dec 30 11:43:44 EST 2007


Update of /cvsroot/geeklog/Geeklog-1.x/plugins/staticpages
In directory qs1489.pair.com:/tmp/cvs-serv94434

Modified Files:
	functions.inc 
Log Message:
Tweak to set the sort order for the config elements.

Index: functions.inc
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/plugins/staticpages/functions.inc,v
retrieving revision 1.104
retrieving revision 1.105
diff -C2 -d -r1.104 -r1.105
*** functions.inc	30 Dec 2007 16:34:37 -0000	1.104
--- functions.inc	30 Dec 2007 16:43:42 -0000	1.105
***************
*** 58,63 ****
      $sp_config->initConfig();
  
!     $LANG_configsubgroups['staticpages'][0] = 'Main Settings';
!     $LANG_fs['staticpages'][0] = 'Main Settings';
  
      $_SP_CONF = $sp_config->get_config('staticpages');
--- 58,63 ----
      $sp_config->initConfig();
  
!     $LANG_configsubgroups['staticpages'][0] = 'Static Pages Main Settings';
!     $LANG_fs['staticpages'][0] = 'Static Pages Main Settings';
  
      $_SP_CONF = $sp_config->get_config('staticpages');
***************
*** 1035,1048 ****
              $sp_config->add('version', '1.5', 'text', 0, 0, null, 0, true, 'staticpages');
  
!             $sp_config->add('allow_php', $_SP_CONF['allow_php'], 'text', 0, 0, null, 0, true, 'staticpages');
!             $sp_config->add('sort_by', $_SP_CONF['sort_by'],  'text', 0, 0, null, 0, true, 'staticpages');
!             $sp_config->add('sort_menu_by', $_SP_CONF['sort_menu_by'], 'text', 0, 0, null, 0, true, 'staticpages');
!             $sp_config->add('delete_pages', $_SP_CONF['delete_pages'] , 'text', 0, 0, null, 0, true, 'staticpages');
!             $sp_config->add('in_block', $_SP_CONF['in_block'], 'text', 0, 0, null, 0, true, 'staticpages');
!             $sp_config->add('show_hits', $_SP_CONF['show_hits'], 'text', 0, 0, null, 0, true, 'staticpages');
!             $sp_config->add('show_date', $_SP_CONF['show_date'], 'text', 0, 0, null, 0, true, 'staticpages');
!             $sp_config->add('filter_html', $_SP_CONF['filter_html'], 'text', 0, 0, null, 0, true, 'staticpages');
!             $sp_config->add('censor', $_SP_CONF['censor'], 'text', 0, 0, null, 0, true, 'staticpages');
!             $sp_config->add('default_permissions', $_SP_CONF['default_permissions'], '@text', 0, 0, null, 0, true, 'staticpages');
  
              //$sp_config->add('aftersave', 'item', 'text', 0, 0, null, 0, true, 'staticpages');
--- 1035,1048 ----
              $sp_config->add('version', '1.5', 'text', 0, 0, null, 0, true, 'staticpages');
  
!             $sp_config->add('allow_php', $_SP_CONF['allow_php'], 'text', 0, 0, null, 10, true, 'staticpages');
!             $sp_config->add('sort_by', $_SP_CONF['sort_by'],  'text', 0, 0, null, 20, true, 'staticpages');
!             $sp_config->add('sort_menu_by', $_SP_CONF['sort_menu_by'], 'text', 0, 0, null, 30, true, 'staticpages');
!             $sp_config->add('delete_pages', $_SP_CONF['delete_pages'] , 'text', 0, 0, null, 40, true, 'staticpages');
!             $sp_config->add('in_block', $_SP_CONF['in_block'], 'text', 0, 0, null, 50, true, 'staticpages');
!             $sp_config->add('show_hits', $_SP_CONF['show_hits'], 'text', 0, 0, null, 60, true, 'staticpages');
!             $sp_config->add('show_date', $_SP_CONF['show_date'], 'text', 0, 0, null, 70, true, 'staticpages');
!             $sp_config->add('filter_html', $_SP_CONF['filter_html'], 'text', 0, 0, null, 80, true, 'staticpages');
!             $sp_config->add('censor', $_SP_CONF['censor'], 'text', 0, 0, null, 90, true, 'staticpages');
!             $sp_config->add('default_permissions', $_SP_CONF['default_permissions'], '@text', 0, 0, null, 100, true, 'staticpages');
  
              //$sp_config->add('aftersave', 'item', 'text', 0, 0, null, 0, true, 'staticpages');




More information about the geeklog-cvs mailing list