aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--admin/comments.php11
-rw-r--r--admin/themes/default/template/comments.tpl8
-rw-r--r--admin/themes/default/theme.css13
3 files changed, 27 insertions, 5 deletions
diff --git a/admin/comments.php b/admin/comments.php
index 002ed9565..e54f13421 100644
--- a/admin/comments.php
+++ b/admin/comments.php
@@ -92,6 +92,17 @@ $template->assign(
);
// +-----------------------------------------------------------------------+
+// | Tabs |
+// +-----------------------------------------------------------------------+
+
+include_once(PHPWG_ROOT_PATH.'admin/include/tabsheet.class.php');
+
+$tabsheet = new tabsheet();
+$tabsheet->add('', l10n('User comments validation'), '');
+$tabsheet->select('');
+$tabsheet->assign();
+
+// +-----------------------------------------------------------------------+
// | comments display |
// +-----------------------------------------------------------------------+
diff --git a/admin/themes/default/template/comments.tpl b/admin/themes/default/template/comments.tpl
index 4fbfed858..87b75a004 100644
--- a/admin/themes/default/template/comments.tpl
+++ b/admin/themes/default/template/comments.tpl
@@ -44,15 +44,13 @@ jQuery(document).ready(function(){
{/literal}{/footer_script}
<div class="titrePage">
- <h2>{'Waiting'|@translate} {$TABSHEET_TITLE}</h2>
+ <h2>{'Pending Comments'|@translate} {$TABSHEET_TITLE}</h2>
</div>
-<h3>{'User comments validation'|@translate}</h3>
-
{if !empty($comments) }
-<form method="post" action="{$F_ACTION}">
+<form method="post" action="{$F_ACTION}" id="pendingComments">
-<table width="99%">
+<table>
{foreach from=$comments item=comment name=comment}
<tr valign="top" class="{if $smarty.foreach.comment.index is odd}row2{else}row1{/if}">
<td style="width:50px;" class="checkComment">
diff --git a/admin/themes/default/theme.css b/admin/themes/default/theme.css
index b1c2ef5b2..53c99e10f 100644
--- a/admin/themes/default/theme.css
+++ b/admin/themes/default/theme.css
@@ -1057,4 +1057,17 @@ p#uploadModeInfos {text-align:left;margin-top:1em;font-size:90%;color:#999;}
vertical-align:top;
border-left:2px solid #ddd;
padding-left:10px;
+}
+
+/* Pending Comments */
+#pendingComments {
+ padding:0 5px 0 10px;
+}
+
+#pendingComments table {
+ width:100%;
+}
+
+#pendingComments .bottomButtons {
+ text-align:left;
} \ No newline at end of file