diff --git a/search.php b/search.php index f9d20154f..be2607196 100644 --- a/search.php +++ b/search.php @@ -221,7 +221,7 @@ SELECT array( 'forbidden_categories' => 'category_id', 'visible_categories' => 'category_id', - 'visible_images' => 'ic.image_id' + 'visible_images' => 'id' ), ' WHERE ' ).' diff --git a/themes/default/template/comments.tpl b/themes/default/template/comments.tpl index 0ffef1fa9..96f42b09b 100644 --- a/themes/default/template/comments.tpl +++ b/themes/default/template/comments.tpl @@ -14,24 +14,46 @@
{'Filter'|@translate} - + - + - + - +
@@ -39,26 +61,38 @@ {'Display'|@translate} - + - + - + diff --git a/themes/default/template/search.tpl b/themes/default/template/search.tpl index b9d712cee..acec2ebd1 100644 --- a/themes/default/template/search.tpl +++ b/themes/default/template/search.tpl @@ -48,6 +48,7 @@ jQuery(document).ready(function() { +{if count($AUTHORS)>1}
{'Search for Author'|@translate}

@@ -58,6 +59,7 @@ jQuery(document).ready(function() {

+{/if} {if isset($TAGS)}
@@ -135,8 +137,8 @@ jQuery(document).ready(function() {

- - + +

diff --git a/themes/default/theme.css b/themes/default/theme.css index f31d7a31e..9fa267473 100644 --- a/themes/default/theme.css +++ b/themes/default/theme.css @@ -493,11 +493,6 @@ FORM P { margin-bottom: 2em; } -SELECT.categoryList { - height: 20em; - width: 500px; -} - /** * Filter forms are displayed label by label with the input (or select...) @@ -512,7 +507,7 @@ FIELDSET { .filter UL { display: block; float: left; - margin-right: 1em; + margin: 0 1em 1em 0; padding: 0; } @@ -525,11 +520,6 @@ FIELDSET { padding-bottom:0; } -.filter LI LABEL { - display: inline; - float: none; -} - .filter P { text-align:left; margin:0 0 15px 0; @@ -553,18 +543,6 @@ FIELDSET { margin-right:1em; } -/*IE6 needs override because of > selector*/ -.filter LABEL>INPUT, -.filter LABEL>SELECT { - /* display: block; */ - margin: 0.5em 0; -} - -.filter FIELDSET * LABEL>INPUT { - display: inline; - vertical-align: top; - margin: 0 0.5em 0 0; -} .properties UL {