[geeklog-cvs] geeklog-1.3 config.php,1.114,1.115

dhaun at iowaoutdoors.org dhaun at iowaoutdoors.org
Sat May 29 11:46:58 EDT 2004


Update of /var/cvs/geeklog-1.3
In directory www:/tmp/cvs-serv23780

Modified Files:
	config.php 
Log Message:
The contents and order of the entries in {menu_elements} in header.thtml is now configurable in config.php (new $_CONF['menu_elements'] variable).


Index: config.php
===================================================================
RCS file: /var/cvs/geeklog-1.3/config.php,v
retrieving revision 1.114
retrieving revision 1.115
diff -C2 -d -r1.114 -r1.115
*** config.php	13 May 2004 07:21:20 -0000	1.114
--- config.php	29 May 2004 15:46:55 -0000	1.115
***************
*** 187,190 ****
--- 187,207 ----
  $_CONF['theme']             = 'XSilver';  // default theme
  
+ // List of entries that you want to see in the site's menu bar (if you're using
+ // a theme that uses the {menu_elements} variable in its header.thtml).
+ // Choose any combination of the following (order here = order in the menu).
+ $_CONF['menu_elements'] = array
+ (
+     // 'home',      // link to homepage
+     'contribute',   // contribute / "submit a story" link
+     'links',        // link to the links section (aka web resources)
+     'polls',        // link to past polls
+     'calendar',     // link to the site calendar
+     'search',       // link to advanced search
+     'stats'         // link to site stats
+     // 'prefs',     // link to user's preferences
+     // 'plugins'    // links added by plugins, like {plg_menu_elements}
+     // 'custom'     // for custom links (see lib-custom.php)
+ );
+ 
  // you shouldn't need to edit the following
  $_CONF['layout_url']        = $_CONF['site_url'] . '/layout/' . $_CONF['theme'];




More information about the geeklog-cvs mailing list