This commit is contained in:
mensonge 2009-05-22 15:15:00 +00:00
parent 7ef6649838
commit 238226cd49
2 changed files with 8 additions and 0 deletions

View file

@ -114,6 +114,10 @@ if ($cat) {
$pagetitle .= $catTitleWithUrls; $pagetitle .= $catTitleWithUrls;
} }
else
{
$catTitleWithUrls = '';
}
$pagetitle = substr($pagetitle, 2); $pagetitle = substr($pagetitle, 2);
// Header variables // Header variables

View file

@ -94,22 +94,26 @@ window.onload = playerLoad;
<?php <?php
switch(getSortOrder()) { switch(getSortOrder()) {
case 'date_asc': case 'date_asc':
$titleArrow = '';
$dateArrow = ' &uarr;'; $dateArrow = ' &uarr;';
$dateSort = 'date_desc'; $dateSort = 'date_desc';
$titleSort = 'title_asc'; $titleSort = 'title_asc';
break; break;
case 'title_asc': case 'title_asc':
$titleArrow = ' &uarr;'; $titleArrow = ' &uarr;';
$dateArrow = '';
$dateSort = 'date_desc'; $dateSort = 'date_desc';
$titleSort = 'title_desc'; $titleSort = 'title_desc';
break; break;
case 'title_desc': case 'title_desc':
$titleArrow = ' &darr;'; $titleArrow = ' &darr;';
$dateArrow = '';
$dateSort = 'date_desc'; $dateSort = 'date_desc';
$titleSort = 'title_asc'; $titleSort = 'title_asc';
break; break;
case 'date_desc': case 'date_desc':
default: default:
$titleArrow = '';
$dateArrow = ' &darr;'; $dateArrow = ' &darr;';
$dateSort = 'date_asc'; $dateSort = 'date_asc';
$titleSort = 'title_asc'; $titleSort = 'title_asc';