aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2009-05-22 15:15:00 +0000
committermensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2009-05-22 15:15:00 +0000
commit238226cd494fe5283270f3f790e3c36672fd74e3 (patch)
tree5904e54f4e5f7a7f3525fd195ef1860d4af4c599
parent7ef66498389f2977f0e75053108eae832ff3ce1b (diff)
downloadsemanticscuttle-238226cd494fe5283270f3f790e3c36672fd74e3.tar.gz
semanticscuttle-238226cd494fe5283270f3f790e3c36672fd74e3.tar.bz2
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@332 b3834d28-1941-0410-a4f8-b48e95affb8f
-rw-r--r--bookmarks.php4
-rw-r--r--templates/bookmarks.tpl.php4
2 files changed, 8 insertions, 0 deletions
diff --git a/bookmarks.php b/bookmarks.php
index 4922379..ab9d5bb 100644
--- a/bookmarks.php
+++ b/bookmarks.php
@@ -114,6 +114,10 @@ if ($cat) {
$pagetitle .= $catTitleWithUrls;
}
+else
+{
+ $catTitleWithUrls = '';
+}
$pagetitle = substr($pagetitle, 2);
// Header variables
diff --git a/templates/bookmarks.tpl.php b/templates/bookmarks.tpl.php
index 5820a4b..3cd3953 100644
--- a/templates/bookmarks.tpl.php
+++ b/templates/bookmarks.tpl.php
@@ -94,22 +94,26 @@ window.onload = playerLoad;
<?php
switch(getSortOrder()) {
case 'date_asc':
+ $titleArrow = '';
$dateArrow = ' &uarr;';
$dateSort = 'date_desc';
$titleSort = 'title_asc';
break;
case 'title_asc':
$titleArrow = ' &uarr;';
+ $dateArrow = '';
$dateSort = 'date_desc';
$titleSort = 'title_desc';
break;
case 'title_desc':
$titleArrow = ' &darr;';
+ $dateArrow = '';
$dateSort = 'date_desc';
$titleSort = 'title_asc';
break;
case 'date_desc':
default:
+ $titleArrow = '';
$dateArrow = ' &darr;';
$dateSort = 'date_asc';
$titleSort = 'title_asc';