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;
}
else
{
$catTitleWithUrls = '';
}
$pagetitle = substr($pagetitle, 2);
// Header variables

View file

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