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
This commit is contained in:
rvelices 2011-11-30 20:51:20 +00:00
commit adc90e72b6
5 changed files with 13 additions and 13 deletions

View file

@ -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}