summaryrefslogtreecommitdiff
path: root/themes/engines/phptemplate
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2005-11-03 19:40:36 +0000
committerDries Buytaert <dries@buytaert.net>2005-11-03 19:40:36 +0000
commit1c4cc97225778545794087beb1bac7551f948ec5 (patch)
treed5674523fdc50e491f5c9862b515e092e19c4641 /themes/engines/phptemplate
parentea53aad7c8ced499e397cbedfe1e0cce205c071f (diff)
downloadbrdo-1c4cc97225778545794087beb1bac7551f948ec5.tar.gz
brdo-1c4cc97225778545794087beb1bac7551f948ec5.tar.bz2
- Patch #22215 by Richard Archer: refactored primary and secondary links.
Deprecates the primary_links module. This patch was much needed. Thanks Richards! NOTE: if some themers could investigate if there is room for improvement with regard to theming, that would be awesome.
Diffstat (limited to 'themes/engines/phptemplate')
-rw-r--r--themes/engines/phptemplate/phptemplate.engine6
1 files changed, 2 insertions, 4 deletions
diff --git a/themes/engines/phptemplate/phptemplate.engine b/themes/engines/phptemplate/phptemplate.engine
index b203c39f5..94a40a5ba 100644
--- a/themes/engines/phptemplate/phptemplate.engine
+++ b/themes/engines/phptemplate/phptemplate.engine
@@ -130,9 +130,7 @@ function phptemplate_features() {
'toggle_mission',
'toggle_name',
'toggle_node_user_picture',
- 'toggle_primary_links',
'toggle_search',
- 'toggle_secondary_links',
'toggle_slogan'
);
}
@@ -200,9 +198,9 @@ function phptemplate_page($content) {
'messages' => theme('status_messages'),
'mission' => isset($mission) ? $mission : '',
'onload_attributes' => theme('onload_attribute'),
- 'primary_links' => theme_get_setting('primary_links'),
+ 'primary_links' => menu_primary_links(),
'search_box' => (theme_get_setting('toggle_search') ? search_box() : ''),
- 'secondary_links' => theme_get_setting('secondary_links'),
+ 'secondary_links' => menu_secondary_links(),
'sidebar_left' => $sidebar_left,
'sidebar_right' => $sidebar_right,
'site_name' => (theme_get_setting('toggle_name') ? variable_get('site_name', 'Drupal') : ''),