aboutsummaryrefslogtreecommitdiffstats
path: root/themes/default/template/picture.tpl
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2012-06-05 18:06:53 +0000
committerrvelices <rv-github@modusoptimus.com>2012-06-05 18:06:53 +0000
commit34e6f1aa4905228d317511cdd4b57b759261ad39 (patch)
tree0d6339d82ffdaec1e9cc209b4d67717aebb566a8 /themes/default/template/picture.tpl
parent29970791817164b0c158cbdc961bb93160721af1 (diff)
multisize - avoid php warning for rotation_angle; better error logging; javascript avoid navigation to empty # anchor
git-svn-id: http://piwigo.org/svn/trunk@15551 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'themes/default/template/picture.tpl')
-rw-r--r--themes/default/template/picture.tpl6
1 files changed, 2 insertions, 4 deletions
diff --git a/themes/default/template/picture.tpl b/themes/default/template/picture.tpl
index 8795d0bc1..1862fa35f 100644
--- a/themes/default/template/picture.tpl
+++ b/themes/default/template/picture.tpl
@@ -257,12 +257,10 @@ y.callService(
if (e) e.innerHTML = rating.score;
e = document.getElementById("ratingCount");
if (e) {ldelim}
- if (rating.count == 1) {ldelim}
+ if (rating.count == 1)
e.innerHTML = "({'%d rate'|@translate|@escape:'javascript'})".replace( "%d", rating.count);
- {rdelim}
- else {ldelim}
+ else
e.innerHTML = "({'%d rates'|@translate|@escape:'javascript'})".replace( "%d", rating.count);
- {rdelim}
{rdelim}
{rdelim}{rdelim} );
{/footer_script}