Interface fix: correct title page

git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@244 b3834d28-1941-0410-a4f8-b48e95affb8f
This commit is contained in:
mensonge 2009-02-03 09:46:40 +00:00
parent be51889a82
commit 91e0dfacbf
6 changed files with 6 additions and 8 deletions

View file

@ -20,6 +20,7 @@
require_once('header.inc.php');
$tplVars['pagetitle'] = T_('About');
$tplVars['subtitle'] = T_('About');
$templateservice->loadTemplate('about.tpl', $tplVars);

View file

@ -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);

View file

@ -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;

View file

@ -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;

View file

@ -72,6 +72,7 @@ if (isset($userid)) {
}
$tplVars['sidebar_blocks'] = array('linked');
$tplVars['pagetitle'] = $pagetitle;
$tplVars['subtitle'] = $pagetitle;
$tplVars['loadjs'] = true;

View file

@ -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())