Browse Source

[9.0.07] Disable page color red in menu list

pull/5/head
fredtempez 3 years ago
parent
commit
0656f50b3f
  1. 4
      core/core.php
  2. 4
      core/layout/common.css

4
core/core.php

@ -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) {

4
core/layout/common.css

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

Loading…
Cancel
Save