[geeklog-cvs] Geeklog-1.x/plugins/staticpages install_defaults.php, 1.3, 1.4

Dirk Haun dhaun at qs1489.pair.com
Sun Feb 10 12:09:40 EST 2008


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

Modified Files:
	install_defaults.php 
Log Message:
Decoupled config subgroup and fieldset order from the language files. Now we can reorder / regroup options simply by database updates.


Index: install_defaults.php
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/plugins/staticpages/install_defaults.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** install_defaults.php	2 Feb 2008 16:36:33 -0000	1.3
--- install_defaults.php	10 Feb 2008 17:09:38 -0000	1.4
***************
*** 128,131 ****
--- 128,135 ----
      if (!$c->group_exists('staticpages')) {
  
+         $c->add('sg_main', NULL, 'subgroup',
+                 0, 0, NULL, 0, true, 'staticpages');
+         $c->add('fs_main', NULL, 'fieldset',
+                 0, 0, NULL, 0, true, 'staticpages');
          $c->add('allow_php', $_SP_DEFAULT['allow_php'], 'select',
                  0, 0, 0, 10, true, 'staticpages');
***************
*** 150,153 ****
--- 154,160 ----
          $c->add('atom_max_items', $_SP_DEFAULT['atom_max_items'], 'text',
                  0, 0, null, 110, true, 'staticpages');
+ 
+         $c->add('fs_permissions', NULL, 'fieldset',
+                 0, 1, NULL, 0, true, 'staticpages');
          $c->add('default_permissions', $_SP_DEFAULT['default_permissions'],
                  '@select', 0, 1, 12, 120, true, 'staticpages');




More information about the geeklog-cvs mailing list