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() )); } diff --git a/themes/dark/theme.css b/themes/dark/theme.css index aba4fb2a1..99fa6c26a 100644 --- a/themes/dark/theme.css +++ b/themes/dark/theme.css @@ -39,7 +39,7 @@ BODY, H3, #imageToolBar A:hover { } FIELDSET, INPUT, SELECT, TEXTAREA, -.content .thumbnailCategory , +.thumbnailCategory , .content .commentElement , .thumbnails .wrap2 { border: 1px solid gray; @@ -47,8 +47,8 @@ FIELDSET, INPUT, SELECT, TEXTAREA, .thumbnails .wrap2:hover, -.content .thumbnailCategories .thumbnailCategory:hover, -.content .commentsList .commentElement:hover{ +.thumbnailCategory:hover, +.content .commentElement:hover{ border-color: yellow; /* thumbnails border color when mouse cursor is over it */ } diff --git a/themes/default/template/index.tpl b/themes/default/template/index.tpl index a78281aa5..34fa425a8 100644 --- a/themes/default/template/index.tpl +++ b/themes/default/template/index.tpl @@ -7,13 +7,13 @@
  • {strip}  {'Sort order'|@translate} -
  • {strip}  {'Photo sizes'|@translate} -