Changeset 2049
- Timestamp:
- 07/23/10 23:46:08 (22 months ago)
- Location:
- branches/1.4/content/plugins/comments
- Files:
-
- 3 modified
-
comments.php (modified) (3 diffs)
-
css/comments.css (modified) (1 diff)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/1.4/content/plugins/comments/comments.php
r2042 r2049 3 3 * name: Comments 4 4 * description: Enables logged-in users to comment on posts 5 * version: 2. 45 * version: 2.5 6 6 * folder: comments 7 7 * class: Comments … … 361 361 362 362 $this->checkCommentDetails($h); 363 364 if ($h->currentUser->getPermission('can_access_admin') == 'yes') { 365 echo "<ul id='post_comments_admin'>"; 366 if ($h->currentUser->getPermission('can_comment_manager_settings') == 'yes') { 367 echo "<li id='comment_manager_link'><a href='" . $h->url(array('page'=>'plugin_settings', 'plugin'=>'comment_manager'), 'admin') . "'>" . $h->lang['comments_access_comment_manager'] . "</a></li>"; 368 } 369 370 $h->pluginHook('comments_post_last_form'); 371 372 echo "</ul>"; 373 } 363 374 } 364 375 … … 488 499 $h->vars['subscribe'] = ($h->comment->subscribe) ? 'checked' : ''; 489 500 $h->displayTemplate('comment_form', 'comments', false); 490 491 $h->pluginHook('comments_post_last_form');492 493 if ($h->currentUser->getPermission('can_comment_manager_settings') == 'yes') {494 echo "<a id='comment_manager_link' href='" . $h->url(array('page'=>'plugin_settings', 'plugin'=>'comment_manager'), 'admin') . "'>";495 echo $h->lang['comments_access_comment_manager'] . "</a>";496 }497 501 } 498 502 -
branches/1.4/content/plugins/comments/css/comments.css
r2039 r2049 58 58 } 59 59 60 # comment_manager_link{60 #post_comments_admin { 61 61 float: right; 62 text-align: right; 62 text-align: right; 63 } 64 65 #post_comments_admin li { 66 padding: 0; 63 67 } 64 68 -
branches/1.4/content/plugins/comments/readme.txt
r2042 r2049 15 15 Changelog 16 16 --------- 17 v.2.5 2010/07/24 - Nick - Moved "comments_post_last_form" plugin hook 17 18 v.2.4 2010/07/20 - Nick - Edits to CSS for comments 18 19 v.2.3 2010/07/15 - Nick - Reimplemented admin stats