cvs: pearweb /templates/notes note-manage-admin.tpl.php note-manage-links.tpl.php
| From: | David Coallier | Date: | Fri, 23 Mar 2007 05:07:32 +0000 |
| Subject: | cvs: pearweb /templates/notes note-manage-admin.tpl.php note-manage-links.tpl.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-cvs+get-45367@lists.php.net to get a copy of this message | ||
davidc Fri Mar 23 05:07:32 2007 UTC
Added files:
/pearweb/templates/notes note-manage-links.tpl.php
Modified files:
/pearweb/templates/notes note-manage-admin.tpl.php
Log:
- Made it so we can move approved comments to pending and so on.
http://cvs.php.net/viewvc.cgi/pearweb/templates/notes/note-manage-admin.tpl.php?r1=1.8&r2=1.9&diff_format=u
Index: pearweb/templates/notes/note-manage-admin.tpl.php
diff -u pearweb/templates/notes/note-manage-admin.tpl.php:1.8
pearweb/templates/notes/note-manage-admin.tpl.php:1.9
--- pearweb/templates/notes/note-manage-admin.tpl.php:1.8 Thu Mar 22 18:38:44 2007
+++ pearweb/templates/notes/note-manage-admin.tpl.php Fri Mar 23 05:07:32 2007
@@ -1,6 +1,6 @@
-<?php response_header('Approve Pending User Notes'); ?>
-<h1>Note Management Area</h1>
-
+<?php response_header($title); ?>
+<h1>Notes Management Area</h1>
+<?php include dirname(dirname(dirname(__FILE__))) .
'/templates/notes/note-manage-links.tpl.php'; ?>
<?php if (strlen(trim($error)) > 0): // {{{ error ?>
<div class="errors"><?php echo $error; ?></div>
<?php endif; // }}} ?>
@@ -19,11 +19,11 @@
?>
<form action="/notes/admin/trans.php" method="post">
- <input type="hidden" name="action" value="updateMass" />
+ <input type="hidden" name="action" value="<?php echo $action
?>" />
<input type="hidden" name="url" value="<?php echo
htmlspecialchars($url) ?>" />
<table class="form-holder" cellspacing="1">
<tr>
- <th class="form-label_left">Approve</th>
+ <th class="form-label_left">Status</th>
<td class="form-input">Comment</td>
<td class="form-input">Name/Email</td>
</tr>
@@ -46,9 +46,9 @@
</tr>
<?php endforeach; ?>
<tr>
- <th class="form-label_left">Approve</th>
+ <th class="form-label_left"><?php echo $caption ?></th>
<td class="form-input">
- <input type="submit" name="approve" value="Approve selected
comments" />
+ <input type="submit" name="<?php echo $name ?>"
value="<?php echo $button ?>" />
</td>
<td class="form-input"></td>
</tr>
http://cvs.php.net/viewvc.cgi/pearweb/templates/notes/note-manage-links.tpl.php?view=markup&rev=1.1
Index: pearweb/templates/notes/note-manage-links.tpl.php
+++ pearweb/templates/notes/note-manage-links.tpl.php
<div style="padding-bottom: 10px;">
<a href="/notes/admin/index.php?status=approved" title="Approved
Comments">Manage Approved Comments</a> |
<a href="/notes/admin/index.php" title="Pending Comments">Manage Pending
Comments</a>
</div>
<br />