[9.0.07] Disable page color red in menu list
This commit is contained in:
parent
0ce8bd5d02
commit
0656f50b3f
@ -2351,7 +2351,9 @@ class layout extends common {
|
|||||||
$leftItems .= '<option value="' .
|
$leftItems .= '<option value="' .
|
||||||
helper::baseUrl() .
|
helper::baseUrl() .
|
||||||
$parentPageId . '"' .
|
$parentPageId . '"' .
|
||||||
($parentPageId === $currentPageId ? ' selected' : false) . '>' .
|
($parentPageId === $currentPageId ? ' selected' : false) .
|
||||||
|
($this->getData(['page', $parentPageId, 'disable']) === true ? ' class="inactive"' : false) .
|
||||||
|
'>' .
|
||||||
$this->getData(['page', $parentPageId, 'title']) .
|
$this->getData(['page', $parentPageId, 'title']) .
|
||||||
'</option>';
|
'</option>';
|
||||||
foreach($childrenPageIds as $childKey) {
|
foreach($childrenPageIds as $childKey) {
|
||||||
|
@ -63,6 +63,10 @@ li ul {
|
|||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
option.inactive {
|
||||||
|
color: darkred;
|
||||||
|
}
|
||||||
|
|
||||||
/* Séparateur */
|
/* Séparateur */
|
||||||
hr {
|
hr {
|
||||||
border: 0;
|
border: 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user