Changeset 5649
- Timestamp:
- Apr 5, 2010, 12:00:29 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/picture_comment.inc.php
r5196 r5649 212 212 } 213 213 214 if (!is_a_guest() 215 or (is_a_guest() and $conf['comments_forall']) 216 or (empty($edit_comment))) 214 $show_add_comment_form = true; 215 if (isset($edit_comment)) 216 { 217 $show_add_comment_form = false; 218 } 219 if (is_a_guest() and !$conf['comments_forall']) 220 { 221 $show_add_comment_form = false; 222 } 223 224 if ($show_add_comment_form) 217 225 { 218 226 $key = get_comment_post_key($page['image_id']);
Note: See TracChangeset
for help on using the changeset viewer.