css
This commit is contained in:
parent
52b855fb4b
commit
f027dade8f
@ -389,8 +389,10 @@ foreach ($demoprofiles as $profilearray) {
|
|||||||
print '<!-- id='.$val->numero.' -->';
|
print '<!-- id='.$val->numero.' -->';
|
||||||
print '<div class="nowrap">';
|
print '<div class="nowrap">';
|
||||||
print '<input type="checkbox" class="checkbox valignmiddle paddingright" id="id'.$modulekeyname.'" name="'.$modulekeyname.'" value="1" title="'.dol_escape_htmltag($val->getName()).'"';
|
print '<input type="checkbox" class="checkbox valignmiddle paddingright" id="id'.$modulekeyname.'" name="'.$modulekeyname.'" value="1" title="'.dol_escape_htmltag($val->getName()).'"';
|
||||||
|
$disabled = '';
|
||||||
if (in_array($modulekeyname, $alwaysuncheckedmodules)) {
|
if (in_array($modulekeyname, $alwaysuncheckedmodules)) {
|
||||||
print ' disabled';
|
$disabled = 'disabled';
|
||||||
|
print ' '.$disabled;
|
||||||
}
|
}
|
||||||
if (!in_array($modulekeyname, $alwaysuncheckedmodules) && (!in_array($modulekeyname, $listofdisabledmodules) || in_array($modulekeyname, $alwayscheckedmodules))) {
|
if (!in_array($modulekeyname, $alwaysuncheckedmodules) && (!in_array($modulekeyname, $listofdisabledmodules) || in_array($modulekeyname, $alwayscheckedmodules))) {
|
||||||
print ' checked';
|
print ' checked';
|
||||||
@ -403,7 +405,7 @@ foreach ($demoprofiles as $profilearray) {
|
|||||||
} else {
|
} else {
|
||||||
print img_picto('', 'generic', 'class="pictofixedwidth paddingleft"');
|
print img_picto('', 'generic', 'class="pictofixedwidth paddingleft"');
|
||||||
}*/
|
}*/
|
||||||
print '<label for="id'.$modulekeyname.'" class="inline-block demomaxoveflow valignmiddle paddingleft" title="'.dol_escape_htmltag($val->getName()).'">'.$val->getName().'</label><br>';
|
print '<label for="id'.$modulekeyname.'" class="inline-block demomaxoveflow valignmiddle paddingleft'.($disabled ? ' opacitymedium' : '').'" title="'.dol_escape_htmltag($val->getName()).'">'.$val->getName().'</label><br>';
|
||||||
print '</div>';
|
print '</div>';
|
||||||
//if ($modulo == ($nbcolsmod - 1)) print '</tr>';
|
//if ($modulo == ($nbcolsmod - 1)) print '</tr>';
|
||||||
$j++;
|
$j++;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user