diff options
author | rvelices <rv-github@modusoptimus.com> | 2010-12-28 18:56:09 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2010-12-28 18:56:09 +0000 |
commit | dfea79ee5500254de94a73d6292dd893f9616869 (patch) | |
tree | 9e3862fdf12b229782cb813b3e025498956fb385 /themes/default/template | |
parent | faf97e2d6ba5b80ef5bf45753ac89d641abd9086 (diff) |
- css sprites work for ie6
- simplify/remove css
git-svn-id: http://piwigo.org/svn/trunk@8362 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'themes/default/template')
-rw-r--r-- | themes/default/template/comment_list.tpl | 16 | ||||
-rw-r--r-- | themes/default/template/mainpage_categories.tpl | 2 | ||||
-rw-r--r-- | themes/default/template/thumbnails.tpl | 2 |
3 files changed, 7 insertions, 13 deletions
diff --git a/themes/default/template/comment_list.tpl b/themes/default/template/comment_list.tpl index f73e61b19..d35b2e18f 100644 --- a/themes/default/template/comment_list.tpl +++ b/themes/default/template/comment_list.tpl @@ -12,29 +12,23 @@ {/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) } - <ul class="actions" style="float:right"> + <div class="actions" style="float:right"> {if isset($comment.U_DELETE)} - <li> <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" class="button" alt="[delete]"> + <img src="{$ROOT_URL}{$themeconf.icon_dir}/delete.png" alt="[delete]"> </a> - </li> {/if} {if isset($comment.U_EDIT) and !isset($comment.IN_EDIT)} - <li> <a class="editComment" href="{$comment.U_EDIT}#edit_comment" title="{'edit this comment'|@translate}"> - <img src="{$ROOT_URL}{$themeconf.icon_dir}/edit.png" class="button" alt="[edit]"> + <img src="{$ROOT_URL}{$themeconf.icon_dir}/edit.png" alt="[edit]"> </a> - </li> {/if} {if isset($comment.U_VALIDATE)} - <li> <a href="{$comment.U_VALIDATE}" title="{'validate this comment'|@translate}"> - <img src="{$ROOT_URL}{$themeconf.icon_dir}/validate_s.png" class="button" alt="[validate]"> + <img src="{$ROOT_URL}{$themeconf.icon_dir}/validate_s.png" alt="[validate]"> </a> - </li> {/if} - </ul> + </div> {/if} <span class="author">{$comment.AUTHOR}</span> - <span class="date">{$comment.DATE}</span> diff --git a/themes/default/template/mainpage_categories.tpl b/themes/default/template/mainpage_categories.tpl index 3f68dd8f6..8506b0dfc 100644 --- a/themes/default/template/mainpage_categories.tpl +++ b/themes/default/template/mainpage_categories.tpl @@ -12,7 +12,7 @@ <h3> <a href="{$cat.URL}">{$cat.NAME}</a> {if !empty($cat.icon_ts)} - <img title="{$cat.icon_ts.TITLE}" src="{$ROOT_URL}{$themeconf.icon_dir}/recent{if $cat.icon_ts.IS_CHILD_DATE}_by_child{/if}.png" class="icon" alt="(!)"> + <img title="{$cat.icon_ts.TITLE}" src="{$ROOT_URL}{$themeconf.icon_dir}/recent{if $cat.icon_ts.IS_CHILD_DATE}_by_child{/if}.png" alt="(!)"> {/if} </h3> <div class="text"> diff --git a/themes/default/template/thumbnails.tpl b/themes/default/template/thumbnails.tpl index 1061f77cd..cb00e915b 100644 --- a/themes/default/template/thumbnails.tpl +++ b/themes/default/template/thumbnails.tpl @@ -12,7 +12,7 @@ <span class="thumbLegend"> {if isset($thumbnail.NAME)}{$thumbnail.NAME}{/if} {if !empty($thumbnail.icon_ts)} - <img title="{$thumbnail.icon_ts.TITLE}" src="{$ROOT_URL}{$themeconf.icon_dir}/recent.png" class="icon" alt="(!)"> + <img title="{$thumbnail.icon_ts.TITLE}" src="{$ROOT_URL}{$themeconf.icon_dir}/recent.png" alt="(!)"> {/if} {if isset($thumbnail.NB_COMMENTS)} <span class="{if 0==$thumbnail.NB_COMMENTS}zero {/if}nb-comments"> |