svn: /pear/pearweb/trunk/templates/notes/ note-manage-admin.tpl.php
| From: | Daniel O'Connor | Date: | Tue, 23 Feb 2010 11:18:45 +0000 |
| Subject: | svn: /pear/pearweb/trunk/templates/notes/ note-manage-admin.tpl.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-9208@lists.php.net to get a copy of this message | ||
clockwerx Tue, 23 Feb 2010 11:18:45 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=295406
Log:
Still provide links to manage user notes, even if there are no pending ones
Changed paths:
U pear/pearweb/trunk/templates/notes/note-manage-admin.tpl.php
Modified: pear/pearweb/trunk/templates/notes/note-manage-admin.tpl.php
===================================================================
--- pear/pearweb/trunk/templates/notes/note-manage-admin.tpl.php 2010-02-23 11:18:24 UTC (rev
295405)
+++ pear/pearweb/trunk/templates/notes/note-manage-admin.tpl.php 2010-02-23 11:18:45 UTC (rev
295406)
@@ -38,9 +38,10 @@
});
</script>
<h1>Notes Management Area</h1>
-<?php if (count($pendingComments) > 0) : ?>
<h3><?php echo $title; ?></h3>
<?php include PEARWEB_TEMPLATEDIR . '/notes/note-manage-links.tpl.php'; ?>
+
+<?php if (count($pendingComments) > 0) : ?>
<?php if (strlen(trim($error)) > 0): // {{{ error ?>
<div class="errors"><?php echo $error; ?></div>
<?php endif; // }}} ?>
@@ -98,6 +99,6 @@
</form>
<?php elseif (count($pendingComments) == 0) : ?>
-<h3>There are no user notes to manage, sorry... :(</h3>
+<h3>There are no pending user notes to manage, sorry... :(</h3>
<?php endif; ?>
<?php response_footer(); ?>