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:
parent
be51889a82
commit
91e0dfacbf
6 changed files with 6 additions and 8 deletions
|
@ -20,6 +20,7 @@
|
|||
|
||||
require_once('header.inc.php');
|
||||
|
||||
$tplVars['pagetitle'] = T_('About');
|
||||
$tplVars['subtitle'] = T_('About');
|
||||
|
||||
$templateservice->loadTemplate('about.tpl', $tplVars);
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
1
edit.php
1
edit.php
|
@ -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;
|
||||
|
||||
|
|
|
@ -72,6 +72,7 @@ if (isset($userid)) {
|
|||
}
|
||||
|
||||
$tplVars['sidebar_blocks'] = array('linked');
|
||||
$tplVars['pagetitle'] = $pagetitle;
|
||||
$tplVars['subtitle'] = $pagetitle;
|
||||
$tplVars['loadjs'] = true;
|
||||
|
||||
|
|
3
tags.php
3
tags.php
|
@ -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())
|
||||
|
|
Loading…
Reference in a new issue