diff options
author | rvelices <rv-github@modusoptimus.com> | 2012-03-27 20:05:37 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2012-03-27 20:05:37 +0000 |
commit | 36290184dd8b78bd3f11c5b320c20b203a93b4f8 (patch) | |
tree | bc4c39da3d630aac6e397a6a81caed66b7bbc7b7 /include | |
parent | cc1d7fd3e658b48afd49d585b9a43fff5674d045 (diff) |
- remove unnecessary classes switchSelected switchUnselected (same effect acheved through visibility)
- remove unused css
git-svn-id: http://piwigo.org/svn/trunk@13773 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | include/picture_comment.inc.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/picture_comment.inc.php b/include/picture_comment.inc.php index d46e72fb9..2e5c0d518 100644 --- a/include/picture_comment.inc.php +++ b/include/picture_comment.inc.php @@ -240,11 +240,16 @@ SELECT if ($show_add_comment_form) { $key = get_ephemeral_key(3, $page['image_id']); + $content = ''; + if ('reject'===@$comment_action) + { + $content = htmlspecialchars( stripslashes($comm['content']) ); + } $template->assign('comment_add', array( 'F_ACTION' => $url_self, 'KEY' => $key, - 'CONTENT' => null, + 'CONTENT' => $content, 'SHOW_AUTHOR' => !is_classic_user() )); } |