diff --git a/plugins/_disabled/balanced/before_content.php b/plugins/_disabled/balanced/before_content.php
index 63cbb11..2abced6 100644
--- a/plugins/_disabled/balanced/before_content.php
+++ b/plugins/_disabled/balanced/before_content.php
@@ -1 +1 @@
-
+= THUMB_SIZE ?>
diff --git a/plugins/tar/after_content.php b/plugins/tar/after_content.php
index 8629df6..1bc535a 100644
--- a/plugins/tar/after_content.php
+++ b/plugins/tar/after_content.php
@@ -1,5 +1,5 @@
diff --git a/plugins/viewer/template.php b/plugins/viewer/template.php
index 7da8acd..fe75c40 100644
--- a/plugins/viewer/template.php
+++ b/plugins/viewer/template.php
@@ -1,6 +1,6 @@
-
+ = IMAGES_DIR.$simpleImagePath ?>
-
-
+
+
-
+
@@ -75,9 +75,9 @@ img {
window.onload = function() { // for browsers not supporting link rel=prefetch
var im = new Image();
- im.src = '';
+ im.src = '= $nextImageUrl ?>';
var req = new XMLHttpRequest();
- req.open('GET', '', false);
+ req.open('GET', '= $nextPageUrl ?>', false);
req.send(null);
};
@@ -87,17 +87,17 @@ function keyup(e)
{
switch (e.keyCode) {
case 37: // left
- window.location = "";
+ window.location = "= $prevPageUrl ?>";
break;
case 39: // right
case 32: // space
- window.location = "";
+ window.location = "= $nextPageUrl ?>";
break;
case 38: // up (down is 40)
- window.location = "";
+ window.location = "= $directoryUrl ?>";
break;
case 13: // enter
- window.location = "";
+ window.location = "= $imageUrl ?>";
break;
}
}
diff --git a/template.php b/template.php
index 1508f8b..5a4487e 100644
--- a/template.php
+++ b/template.php
@@ -1,7 +1,7 @@
-
+ = $realDir ?>
- " />
+ " />
-