aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2011-11-30 20:51:20 +0000
committerrvelices <rv-github@modusoptimus.com>2011-11-30 20:51:20 +0000
commitadc90e72b681d2c63d86f23161fabac456ba983a (patch)
tree1ee86ee8212866ca1f7248d55bb24832b591d5b0
parentf75a41d9b96a00201f315bd7704b2f15ecfb8db1 (diff)
bug 2515: a few icons are not in CSS sprite (comment actions use text links now)
git-svn-id: http://piwigo.org/svn/trunk@12676 68402e56-0260-453c-a942-63ccdbb3a9ee
-rw-r--r--language/en_UK/admin.lang.php1
-rw-r--r--language/en_UK/common.lang.php1
-rw-r--r--language/fr_FR/admin.lang.php1
-rw-r--r--language/fr_FR/common.lang.php1
-rw-r--r--themes/default/template/comment_list.tpl22
5 files changed, 13 insertions, 13 deletions
diff --git a/language/en_UK/admin.lang.php b/language/en_UK/admin.lang.php
index defe121f4..dff57c220 100644
--- a/language/en_UK/admin.lang.php
+++ b/language/en_UK/admin.lang.php
@@ -277,7 +277,6 @@ $lang['Edit photo information'] = "Edit photo information";
$lang['Edit ranks'] = "Edit ranks";
$lang['Edit selected tags'] = "Edit selected tags";
$lang['Edit tags'] = "Edit tags";
-$lang['Edit'] = 'Edit';
$lang['Element type'] = "Element type";
$lang['Element'] = "Element";
$lang['Email administrators when a comment is deleted'] = "Email administrators when a comment is deleted";
diff --git a/language/en_UK/common.lang.php b/language/en_UK/common.lang.php
index d86f0a6dd..0ffab7bde 100644
--- a/language/en_UK/common.lang.php
+++ b/language/en_UK/common.lang.php
@@ -160,6 +160,7 @@ $lang['Each listed rule must be satisfied.'] = "Each listed criterion must be sa
$lang['Edit a comment'] = "Edit a comment";
$lang['edit this comment'] = "edit this comment";
$lang['edit'] = "edit";
+$lang['Edit'] = 'Edit';
$lang['Email address is missing. Please specify an email address.'] = "Email address is missing. Please specify an email address.";
$lang['Email address'] = "Email address";
$lang['Email: %s'] = "Email: %s";
diff --git a/language/fr_FR/admin.lang.php b/language/fr_FR/admin.lang.php
index feb724a02..3c6bd0f11 100644
--- a/language/fr_FR/admin.lang.php
+++ b/language/fr_FR/admin.lang.php
@@ -860,6 +860,5 @@ $lang['Predefined filter'] = 'Filtre prédéfini';
$lang['Add tags'] = "Ajouter les tags";
$lang['Synchronize metadata'] = "Synchroniser les méta-données";
$lang['Add to caddie'] = 'Ajouter au panier';
-$lang['Edit'] = 'Editer';
$lang['Zoom'] = 'Zoom';
?> \ No newline at end of file
diff --git a/language/fr_FR/common.lang.php b/language/fr_FR/common.lang.php
index 96f5327b2..d0206d7ef 100644
--- a/language/fr_FR/common.lang.php
+++ b/language/fr_FR/common.lang.php
@@ -160,6 +160,7 @@ $lang['Each listed rule must be satisfied.'] = 'Chaque critère doit être satis
$lang['Edit a comment'] = "Éditer un commentaire";
$lang['edit this comment'] = "éditer ce commentaire";
$lang['edit'] = 'éditer';
+$lang['Edit'] = 'Editer';
$lang['Email address is missing. Please specify an email address.'] = "L'adresse email manque. Veuillez spécifier une adresse email.";
$lang['Email address'] = 'Adresse e-mail';
$lang['Email: %s'] = 'Email : %s';
diff --git a/themes/default/template/comment_list.tpl b/themes/default/template/comment_list.tpl
index 852153897..2ff4d03e8 100644
--- a/themes/default/template/comment_list.tpl
+++ b/themes/default/template/comment_list.tpl
@@ -11,23 +11,23 @@
</div>
{/if}
<div class="description"{if isset($comment.IN_EDIT)} style="height:200px"{/if}>
- {if isset($comment.U_DELETE) or isset($comment.U_VALIDATE) or isset($comment.U_EDIT) }
- <div class="actions" style="float:right">
+ {if isset($comment.U_DELETE) or isset($comment.U_VALIDATE) or isset($comment.U_EDIT)}
+ <div class="actions" style="float:right;font-size:90%">
{if isset($comment.U_DELETE)}
- <a href="{$comment.U_DELETE}" title="{'delete this comment'|@translate}" onclick="return confirm('{'Are you sure?'|@translate|@escape:javascript}');">
- <img src="{$ROOT_URL}{$themeconf.icon_dir}/delete.png" alt="[delete]">
- </a>
+ <a href="{$comment.U_DELETE}" onclick="return confirm('{'Are you sure?'|@translate|@escape:javascript}');">
+ {'Delete'|@translate}
+ </a>{if isset($comment.U_VALIDATE) or isset($comment.U_EDIT)} | {/if}
{/if}
{if isset($comment.U_EDIT) and !isset($comment.IN_EDIT)}
- <a class="editComment" href="{$comment.U_EDIT}#edit_comment" title="{'edit this comment'|@translate}">
- <img src="{$ROOT_URL}{$themeconf.icon_dir}/edit.png" alt="[edit]">
- </a>
+ <a class="editComment" href="{$comment.U_EDIT}#edit_comment">
+ {'Edit'|@translate}
+ </a>{if isset($comment.U_VALIDATE)} | {/if}
{/if}
{if isset($comment.U_VALIDATE)}
- <a href="{$comment.U_VALIDATE}" title="{'validate this comment'|@translate}">
- <img src="{$ROOT_URL}{$themeconf.icon_dir}/validate_s.png" alt="[validate]">
+ <a href="{$comment.U_VALIDATE}">
+ {'Validate'|@translate}
</a>
- {/if}
+ {/if}&nbsp;
</div>
{/if}