1
0

Adjusted order function so that arrow changes direction when changing order

This commit is contained in:
Stefan Frech
2008-08-01 08:11:47 +00:00
committed by Jonas Kattendick
parent 9a1e3a77c2
commit 132a3c4c0d
4 changed files with 34 additions and 7 deletions

View File

@@ -16,6 +16,8 @@ else {
$title = "Shared Online-Bookmarks";
}
$order = set_get_order ();
?>
<h1 id="caption"><?php echo $title; ?></h1>
@@ -82,7 +84,7 @@ if (isset ($_GET['user']) && check_username ($user)) {
AND childof='%d'
AND deleted!='1'
AND public='1'
ORDER BY title",
ORDER BY $order[1]",
$mysql->escape ($user),
$mysql->escape ($folderid));