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
This commit is contained in:
parent
2997079181
commit
34e6f1aa49
4 changed files with 12 additions and 7 deletions
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue