[9.0.07] Disable page color red in menu list

This commit is contained in:
fredtempez 2019-03-17 12:47:58 +01:00
parent 0ce8bd5d02
commit 0656f50b3f
2 changed files with 7 additions and 1 deletions

View File

@ -2351,7 +2351,9 @@ class layout extends common {
$leftItems .= '<option value="' .
helper::baseUrl() .
$parentPageId . '"' .
($parentPageId === $currentPageId ? ' selected' : false) . '>' .
($parentPageId === $currentPageId ? ' selected' : false) .
($this->getData(['page', $parentPageId, 'disable']) === true ? ' class="inactive"' : false) .
'>' .
$this->getData(['page', $parentPageId, 'title']) .
'</option>';
foreach($childrenPageIds as $childKey) {

View File

@ -63,6 +63,10 @@ li ul {
margin: 0;
}
option.inactive {
color: darkred;
}
/* Séparateur */
hr {
border: 0;