Changeset 12676 for trunk/themes


Ignore:
Timestamp:
Nov 30, 2011, 9:51:20 PM (12 years ago)
Author:
rvelices
Message:

bug 2515: a few icons are not in CSS sprite (comment actions use text links now)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/themes/default/template/comment_list.tpl

    r12479 r12676  
    1212        {/if}
    1313        <div class="description"{if isset($comment.IN_EDIT)} style="height:200px"{/if}>
    14                 {if isset($comment.U_DELETE) or isset($comment.U_VALIDATE) or isset($comment.U_EDIT) }
    15                 <div class="actions" style="float:right">
     14                {if isset($comment.U_DELETE) or isset($comment.U_VALIDATE) or isset($comment.U_EDIT)}
     15                <div class="actions" style="float:right;font-size:90%">
    1616                {if isset($comment.U_DELETE)}
    17                         <a href="{$comment.U_DELETE}" title="{'delete this comment'|@translate}" onclick="return confirm('{'Are you sure?'|@translate|@escape:javascript}');">
    18                                 <img src="{$ROOT_URL}{$themeconf.icon_dir}/delete.png" alt="[delete]">
    19                         </a>
     17                        <a href="{$comment.U_DELETE}" onclick="return confirm('{'Are you sure?'|@translate|@escape:javascript}');">
     18                                {'Delete'|@translate}
     19                        </a>{if isset($comment.U_VALIDATE) or isset($comment.U_EDIT)} | {/if}
    2020                {/if}
    2121                {if isset($comment.U_EDIT) and !isset($comment.IN_EDIT)}
    22                         <a class="editComment" href="{$comment.U_EDIT}#edit_comment" title="{'edit this comment'|@translate}">
    23                                 <img src="{$ROOT_URL}{$themeconf.icon_dir}/edit.png" alt="[edit]">
    24                         </a>
     22                        <a class="editComment" href="{$comment.U_EDIT}#edit_comment">
     23                                {'Edit'|@translate}
     24                        </a>{if isset($comment.U_VALIDATE)} | {/if}
    2525                {/if}
    2626                {if isset($comment.U_VALIDATE)}
    27                         <a href="{$comment.U_VALIDATE}" title="{'validate this comment'|@translate}">
    28                                 <img src="{$ROOT_URL}{$themeconf.icon_dir}/validate_s.png" alt="[validate]">
     27                        <a href="{$comment.U_VALIDATE}">
     28                                {'Validate'|@translate}
    2929                        </a>
    30                 {/if}
     30                {/if}&nbsp;
    3131                </div>
    3232                {/if}
Note: See TracChangeset for help on using the changeset viewer.