diff options
author | Chad Kieffer <chad@2tbsp.com> | 2009-02-15 22:36:51 +0000 |
---|---|---|
committer | Chad Kieffer <chad@2tbsp.com> | 2009-02-15 22:36:51 +0000 |
commit | d04dbadfa1c9a2ed6823ac2ffd64d8f68f27581c (patch) | |
tree | 011f4011b1c98b83f65d5cd17ac67400b7ad70be /modules | |
parent | 6c59a196772b6d6c6b2b969b85c1a2551ef017d8 (diff) |
Apply buttons to comment moderation and action buttons, beginnings of a photo stream carousel block in admin dashboard.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/comment/views/admin_comments.html.php | 81 |
1 files changed, 38 insertions, 43 deletions
diff --git a/modules/comment/views/admin_comments.html.php b/modules/comment/views/admin_comments.html.php index 14b18e91..ea405197 100644 --- a/modules/comment/views/admin_comments.html.php +++ b/modules/comment/views/admin_comments.html.php @@ -121,49 +121,44 @@ <?= $comment->text ?> </td> <td> - <ul> - <? if ($comment->state != "unpublished"): ?> - <li> - <a href="javascript:set_state('unpublished',<?=$comment->id?>)"> - <?= t("Unapprove") ?> - </a> - </li> - <? endif ?> - - <? if ($comment->state != "published"): ?> - <li> - <a href="javascript:set_state('published',<?=$comment->id?>)"> - <?= t("Approve") ?> - </a> - </li> - <? endif ?> - - <? if ($comment->state != "spam"): ?> - <li> - <a href="javascript:set_state('spam',<?=$comment->id?>)"> - <?= t("Spam") ?> - </a> - </li> - <? endif ?> - - <li> - <a href="javascript:reply(<?=$comment->id?>)"> - <?= t("Reply") ?> - </a> - </li> - - <li> - <a href="javascript:Edit(<?=$comment->id?>)"> - <?= t("Edit") ?> - </a> - </li> - - <li> - <a href="javascript:set_state('deleted',<?=$comment->id?>)"> - <?= t("Delete") ?> - </a> - </li> - </ul> + <div class="gButtonSetVertical"> + <? if ($comment->state != "unpublished"): ?> + <a href="javascript:set_state('unpublished',<?=$comment->id?>)" + class="gButtonLink ui-state-default ui-icon-left"> + <span class="ui-icon ui-icon-check"></span> + <?= t("Unapprove") ?> + </a> + <? endif ?> + <? if ($comment->state != "published"): ?> + <a href="javascript:set_state('published',<?=$comment->id?>)" + class="gButtonLink ui-state-default ui-icon-left"> + <span class="ui-icon ui-icon-check"></span> + <?= t("Approve") ?> + </a> + <? endif ?> + <? if ($comment->state != "spam"): ?> + <a href="javascript:set_state('spam',<?=$comment->id?>)" + class="gButtonLink ui-state-default ui-icon-left"> + <span class="ui-icon ui-icon-cancel"></span> + <?= t("Spam") ?> + </a> + <? endif ?> + <a href="javascript:reply(<?=$comment->id?>)" + class="gButtonLink ui-state-default ui-icon-left"> + <span class="ui-icon ui-icon-arrowreturnthick-1-w"></span> + <?= t("Reply") ?> + </a> + <a href="javascript:Edit(<?=$comment->id?>)" + class="gButtonLink ui-state-default ui-icon-left"> + <span class="ui-icon ui-icon-pencil"></span> + <?= t("Edit") ?> + </a> + <a href="javascript:set_state('deleted',<?=$comment->id?>)" + class="gButtonLink ui-state-default ui-icon-left"> + <span class="ui-icon ui-icon-trash"></span> + <?= t("Delete") ?> + </a> + </div> </td> </tr> <? endforeach ?> |