aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2008-07-15 10:10:11 +0000
committerrvelices <rv-github@modusoptimus.com>2008-07-15 10:10:11 +0000
commitbe13718838b32b71570bc3c77ce55d162bfbbd34 (patch)
tree0d7da838da8b85b489033ff98d5f0fabada488a3
parent3e8dd7da9b095d6e9a5ba69515cbeb075fc214b6 (diff)
lang correction + rating stars work better with safari
git-svn-id: http://piwigo.org/svn/branches/branch-1_7@2436 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--template/yoga/admin/permalinks.tpl4
-rw-r--r--template/yoga/rating.js2
2 files changed, 3 insertions, 3 deletions
diff --git a/template/yoga/admin/permalinks.tpl b/template/yoga/admin/permalinks.tpl
index 15497d49c..f7d7db0db 100644
--- a/template/yoga/admin/permalinks.tpl
+++ b/template/yoga/admin/permalinks.tpl
@@ -53,8 +53,8 @@
<td>{lang:Category}</td>
<td>{lang:Permalink} {SORT_OLD_PERMALINK}</td>
<td>{lang:Deleted on} {SORT_OLD_DATE_DELETED}</td>
- <td>{Lang:Last hit} {SORT_OLD_LAST_HIT}</td>
- <td>{Lang:Hits} {SORT_OLD_HIT}</td>
+ <td>{lang:Last hit} {SORT_OLD_LAST_HIT}</td>
+ <td>{lang:Hits} {SORT_OLD_HIT}</td>
<td></td>
</tr>
<!-- BEGIN deleted_permalink -->
diff --git a/template/yoga/rating.js b/template/yoga/rating.js
index a4f8f86b8..736c235ca 100644
--- a/template/yoga/rating.js
+++ b/template/yoga/rating.js
@@ -21,7 +21,7 @@ function makeNiceRatingForm()
var rateButton = gRatingButtons[i];
rateButton.initialRateValue = rateButton.value; // save it as a property
- rateButton.value = ""; //hide the text IE/Opera
+ if (navigator.userAgent.indexOf('AppleWebKit/') == -1 ) rateButton.value = ""; //hide the text IE/Opera - breaks safari
with (rateButton.style)
{
textIndent = "-50px"; //hide the text FF