diff options
author | mensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f> | 2009-02-03 09:46:40 +0000 |
---|---|---|
committer | mensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f> | 2009-02-03 09:46:40 +0000 |
commit | 91e0dfacbfd94934f87c00349c0f03e586af9e84 (patch) | |
tree | 78c2cfab461c41597de9b4b1ac324e496f9b9768 | |
parent | be51889a82595a26f7ffae87eb629097c664d103 (diff) | |
download | semanticscuttle-91e0dfacbfd94934f87c00349c0f03e586af9e84.tar.gz semanticscuttle-91e0dfacbfd94934f87c00349c0f03e586af9e84.tar.bz2 |
Interface fix: correct title page
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@244 b3834d28-1941-0410-a4f8-b48e95affb8f
-rw-r--r-- | about.php | 1 | ||||
-rw-r--r-- | alltags.php | 1 | ||||
-rw-r--r-- | bookmarks.php | 7 | ||||
-rw-r--r-- | edit.php | 1 | ||||
-rw-r--r-- | populartags.php | 1 | ||||
-rw-r--r-- | tags.php | 3 |
6 files changed, 6 insertions, 8 deletions
@@ -20,6 +20,7 @@ require_once('header.inc.php'); +$tplVars['pagetitle'] = T_('About'); $tplVars['subtitle'] = T_('About'); $templateservice->loadTemplate('about.tpl', $tplVars); diff --git a/alltags.php b/alltags.php index 45b13ab..95e797a 100644 --- a/alltags.php +++ b/alltags.php @@ -76,6 +76,7 @@ $tplVars['sidebar_blocks'] = array('linked'); $tplVars['userid'] = $userid; $tplVars['loadjs'] = true; +$tplVars['pagetitle'] = $pagetitle; $tplVars['subtitle'] = $pagetitle; $templateservice->loadTemplate('tags.tpl', $tplVars); diff --git a/bookmarks.php b/bookmarks.php index f0ce07d..ee3f96b 100644 --- a/bookmarks.php +++ b/bookmarks.php @@ -251,17 +251,12 @@ if ($templatename == 'editbookmark.tpl') { $tplVars['cat_url'] = createURL('bookmarks', '%s/%s'); $tplVars['nav_url'] = createURL('bookmarks', '%s/%s%s'); if ($userservice->isLoggedOn() && $user == $currentUsername) { - //$title = T_('My Bookmarks') . $catTitleWithUrls; $tplVars['pagetitle'] = T_('My Bookmarks') . $catTitle; $tplVars['subtitle'] = T_('My Bookmarks') . $catTitleWithUrls; } else { - //$title = $pagetitle; - //$tplVars['pagetitle'] = $pagetitle; - $tplVars['pagetitle'] = ''; + $tplVars['pagetitle'] = $user.': '.$cat; $tplVars['subtitle'] = $pagetitle; } - //$tplVars['pagetitle'] = $title; - //$tplVars['subtitle'] = $title; } $tplVars['summarizeLinkedTags'] = true; @@ -41,6 +41,7 @@ isset($_POST['referrer']) ? define('POST_REFERRER', $_POST['referrer']): define( // Header variables +$tplVars['pagetitle'] = T_('Edit Bookmark'); $tplVars['subtitle'] = T_('Edit Bookmark'); $tplVars['loadjs'] = true; diff --git a/populartags.php b/populartags.php index 7938027..4cc87c6 100644 --- a/populartags.php +++ b/populartags.php @@ -72,6 +72,7 @@ if (isset($userid)) { } $tplVars['sidebar_blocks'] = array('linked'); +$tplVars['pagetitle'] = $pagetitle; $tplVars['subtitle'] = $pagetitle; $tplVars['loadjs'] = true; @@ -64,8 +64,7 @@ if ($usecache) { } // Header variables -//$tplVars['pagetitle'] = $pagetitle; -$tplVars['pagetitle'] = ''; +$tplVars['pagetitle'] = T_('Tags') .': '. $cat; $tplVars['loadjs'] = true; $tplVars['rsschannels'] = array( array(filter($sitename .': '. $pagetitle), createURL('rss', 'all/'. filter($cat, 'url')).'?sort='.getSortOrder()) |