]> git.mjollnir.org Git - s9y.git/commitdiff
site link on gallery view page
authorPenny Leach <penny@catalyst.net.nz>
Mon, 7 Apr 2008 22:54:44 +0000 (10:54 +1200)
committerPenny Leach <penny@catalyst.net.nz>
Tue, 8 Apr 2008 00:05:28 +0000 (12:05 +1200)
gallery/view.php

index 647a3e135c9ce69ea2854c6596272cdb9f5cb9ec..eb8605bb69ed8870819806ccf89e6fe7ef1fa16f 100644 (file)
@@ -28,7 +28,7 @@ if (file_exists(SGN_DIR_ROOT.$file)) {
     if ($prev = has_prev_image($file)) {
         echo '<a href="/gallery/view.php?f='.$prev.'">prev</a> | ';
     }
-    echo '<a href="/gallery/show'.substr($file,0,strrpos($file,'/')).'">dir</a>';
+    echo '<a href="/gallery/show'.substr($file,0,strrpos($file,'/')).'">dir</a> | <a href="/">site</a>';
     if ($next = has_next_image($file)) {
         echo ' | <a href="/gallery/view.php?f='.$next.'">next</a> ';
     }
@@ -36,4 +36,4 @@ if (file_exists(SGN_DIR_ROOT.$file)) {
 }
 ?>
 </body>
-</html>
\ No newline at end of file
+</html>