From be13718838b32b71570bc3c77ce55d162bfbbd34 Mon Sep 17 00:00:00 2001 From: rvelices Date: Tue, 15 Jul 2008 10:10:11 +0000 Subject: 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 --- template/yoga/admin/permalinks.tpl | 4 ++-- template/yoga/rating.js | 2 +- 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 @@ {lang:Category} {lang:Permalink} {SORT_OLD_PERMALINK} {lang:Deleted on} {SORT_OLD_DATE_DELETED} - {Lang:Last hit} {SORT_OLD_LAST_HIT} - {Lang:Hits} {SORT_OLD_HIT} + {lang:Last hit} {SORT_OLD_LAST_HIT} + {lang:Hits} {SORT_OLD_HIT} 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 -- cgit v1.2.3