From: Marc MAURICE Date: Sat, 17 Aug 2013 19:01:29 +0000 (+0200) Subject: Use short tags for php echo X-Git-Tag: v1.7~7 X-Git-Url: http://positon.org/gitweb/?p=bizou.git;a=commitdiff_plain;h=6b66fbdda7970103a5286e2dbce92816d763aca9 Use short tags for php echo --- 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 @@ - + 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 @@
-">Download all files in this directory +">Download all files in this directory
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 @@ - <?php echo IMAGES_DIR.$simpleImagePath ?> + <?= 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 = ''; var req = new XMLHttpRequest(); - req.open('GET', '', false); + req.open('GET', '', false); req.send(null); }; @@ -87,17 +87,17 @@ function keyup(e) { switch (e.keyCode) { case 37: // left - window.location = ""; + window.location = ""; break; case 39: // right case 32: // space - window.location = ""; + window.location = ""; break; case 38: // up (down is 40) - window.location = ""; + window.location = ""; break; case 13: // enter - window.location = ""; + window.location = ""; break; } } diff --git a/template.php b/template.php index 1508f8b..5a4487e 100644 --- a/template.php +++ b/template.php @@ -1,7 +1,7 @@ - <?php echo $realDir ?> + <?= $realDir ?> - " /> + " /> -
+
^ @@ -61,10 +61,10 @@ a {
-
-
+
">
-
">
-
">
+
">
+
">
@@ -73,14 +73,14 @@ a {
- +