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}
-
+
{'Sort order'|@translate}
{foreach from=$image_orders item=image_order name=loop}{if !$smarty.foreach.loop.first}
{/if}
{if $image_order.SELECTED}
-
✔ {$image_order.DISPLAY}
+
✔ {$image_order.DISPLAY}
{else}
-
{$image_order.DISPLAY}
+
✔ {$image_order.DISPLAY}
{/if}
{/foreach}
@@ -22,7 +22,6 @@ function toggleSortOrderBox(forceHide) {
var elt = document.getElementById("sortOrderBox"),
ePos = document.getElementById("sortOrderLink");
if (!forceHide && elt.style.display==="none") {
- elt.style.position = "absolute";
elt.style.left = ePos.offsetLeft+"px";
elt.style.top = (ePos.offsetTop+ePos.offsetHeight)+"px";
elt.style.display="";
@@ -38,13 +37,13 @@ function toggleSortOrderBox(forceHide) {
{strip}
{'Photo sizes'|@translate}
-
+
{'Photo sizes'|@translate}
{foreach from=$image_derivatives item=image_derivative name=loop}{if !$smarty.foreach.loop.first}
{/if}
{if $image_derivative.SELECTED}
-
✔ {$image_derivative.DISPLAY}
+
✔ {$image_derivative.DISPLAY}
{else}
-
{$image_derivative.DISPLAY}
+
✔ {$image_derivative.DISPLAY}
{/if}
{/foreach}
@@ -53,8 +52,7 @@ function toggleImageDerivativesBox(forceHide) {
var elt = document.getElementById("derivativeSwitchBox"),
ePos = document.getElementById("derivativeChooseLink");
if (!forceHide && elt.style.display==="none") {
- elt.style.position = "absolute";
- elt.style.left = ePos.offsetLeft+"px";
+ elt.style.left = (ePos.offsetLeft-25)+"px";
elt.style.top = (ePos.offsetTop+ePos.offsetHeight)+"px";
elt.style.display="";
}
diff --git a/themes/default/template/picture.tpl b/themes/default/template/picture.tpl
index ee4ec5f85..17b2c7750 100644
--- a/themes/default/template/picture.tpl
+++ b/themes/default/template/picture.tpl
@@ -19,7 +19,7 @@