summaryrefslogtreecommitdiff
path: root/modules/system/page.tpl.php
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2008-06-25 09:12:25 +0000
committerDries Buytaert <dries@buytaert.net>2008-06-25 09:12:25 +0000
commit5299b9268995d1018a6b966f9d1ef260931f5c3d (patch)
treed3c3c218f95c64ac211376def10d07e6913a3e94 /modules/system/page.tpl.php
parent61cde080387d331777c87dbaf2b02f4ab5307072 (diff)
downloadbrdo-5299b9268995d1018a6b966f9d1ef260931f5c3d.tar.gz
brdo-5299b9268995d1018a6b966f9d1ef260931f5c3d.tar.bz2
- Patch #270917 by catch, Bojhan, et al: renamed 'primary links' and 'secondary links' to 'main menu' and 'secondary menu' respectively. Based on usability study conducted with the help of Bojhan.
Diffstat (limited to 'modules/system/page.tpl.php')
-rw-r--r--modules/system/page.tpl.php18
1 files changed, 9 insertions, 9 deletions
diff --git a/modules/system/page.tpl.php b/modules/system/page.tpl.php
index 95a53db44..cbbf01f72 100644
--- a/modules/system/page.tpl.php
+++ b/modules/system/page.tpl.php
@@ -45,9 +45,9 @@
*
* Navigation:
* - $search_box: HTML to display the search box, empty if search has been disabled.
- * - $primary_links (array): An array containing primary navigation links for the
+ * - $main_menu (array): An array containing the Main menu links for the
* site, if they have been configured.
- * - $secondary_links (array): An array containing secondary navigation links for
+ * - $secondary_menu (array): An array containing the Secondary menu links for
* the site, if they have been configured.
*
* Page content (in order of occurrance in the default page.tpl.php):
@@ -124,16 +124,16 @@
<div id="container" class="clear-block">
- <div id="navigation" class="menu <?php if (!empty($primary_links)) { print "withprimary"; } if (!empty($secondary_links)) { print " withsecondary"; } ?> ">
- <?php if (!empty($primary_links)): ?>
- <div id="primary" class="clear-block">
- <?php print theme('links', $primary_links, array('class' => 'links primary-links')); ?>
+ <div id="navigation" class="menu <?php if (!empty($main_menu)) { print "withmain"; } if (!empty($secondary_menu)) { print " withsecondary"; } ?> ">
+ <?php if (!empty($main_menu)): ?>
+ <div id="main-menu" class="clear-block">
+ <?php print theme('links', $main_menu, array('class' => 'links main-menu')); ?>
</div>
<?php endif; ?>
- <?php if (!empty($secondary_links)): ?>
- <div id="secondary" class="clear-block">
- <?php print theme('links', $secondary_links, array('class' => 'links secondary-links')); ?>
+ <?php if (!empty($secondary_menu)): ?>
+ <div id="secondary-menu" class="clear-block">
+ <?php print theme('links', $secondary_menu, array('class' => 'links secondary-menu')); ?>
</div>
<?php endif; ?>
</div> <!-- /navigation -->