Fix #1363 : Fix status selection display in advanced search

This commit is contained in:
Romain Neutron
2013-07-23 16:36:56 +02:00
parent 87f37e767a
commit 0350c2320e
2 changed files with 6 additions and 2 deletions

View File

@@ -96,8 +96,8 @@ class databox_status
} }
foreach ($app['locales.I18n.available'] as $code => $language) { foreach ($app['locales.I18n.available'] as $code => $language) {
$this->status[$bit]['labels_on_i18n'][$code] = isset($this->status[$bit]['labels_on'][$code]) ? $this->status[$bit]['labels_on'][$code] : $this->status[$bit]["labelon"]; $this->status[$bit]['labels_on_i18n'][$code] = '' !== trim($this->status[$bit]['labels_on'][$code]) ? $this->status[$bit]['labels_on'][$code] : $this->status[$bit]["labelon"];
$this->status[$bit]['labels_off_i18n'][$code] = isset($this->status[$bit]['labels_off'][$code]) ? $this->status[$bit]['labels_off'][$code] : $this->status[$bit]["labeloff"]; $this->status[$bit]['labels_off_i18n'][$code] = '' !== trim($this->status[$bit]['labels_off'][$code]) ? $this->status[$bit]['labels_off'][$code] : $this->status[$bit]["labeloff"];
} }
$this->status[$bit]["img_off"] = null; $this->status[$bit]["img_off"] = null;

View File

@@ -1139,6 +1139,10 @@ form.phrasea_query input.query {
color: #000000; color: #000000;
} }
#searchForm .danger label {
color: #000000;
}
#adv_search table.colllist { #adv_search table.colllist {
width: 290px; width: 290px;
} }