[geeklog-cvs] Geeklog-1.x/plugins/links install_defaults.php, 1.1, 1.2

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


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

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/links/install_defaults.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** install_defaults.php	3 Feb 2008 19:11:50 -0000	1.1
--- install_defaults.php	10 Feb 2008 17:09:37 -0000	1.2
***************
*** 173,176 ****
--- 173,178 ----
      if (!$c->group_exists('links')) {
  
+         $c->add('sg_main', NULL, 'subgroup', 0, 0, NULL, 0, true, 'links');
+         $c->add('fs_public', NULL, 'fieldset', 0, 0, NULL, 0, true, 'links');
          $c->add('linksloginrequired', $_LI_DEFAULT['linksloginrequired'],
                  'select', 0, 0, 0, 10, true, 'links');
***************
*** 183,186 ****
--- 185,189 ----
          $c->add('show_category_descriptions', $_LI_DEFAULT['show_category_descriptions'], 'select', 0, 0, 1, 50, true, 'links');
  
+         $c->add('fs_admin', NULL, 'fieldset', 0, 1, NULL, 0, true, 'links');
          $c->add('hidenewlinks', $_LI_DEFAULT['hidenewlinks'], 'select',
                  0, 1, 0, 60, true, 'links');
***************
*** 200,203 ****
--- 203,207 ----
                  0, 1, 0, 130, true, 'links');
  
+         $c->add('fs_permissions', NULL, 'fieldset', 0, 2, NULL, 0, true, 'links');
          $c->add('default_permissions', $_LI_DEFAULT['default_permissions'],
                  '@select', 0, 2, 12, 140, true, 'links');




More information about the geeklog-cvs mailing list