aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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';