CSS
This commit is contained in:
parent
1ffc598bef
commit
28ca2990f0
@ -343,14 +343,14 @@ function showSkins($fuser, $edit = 0, $foruserprofile = false)
|
|||||||
|
|
||||||
// Title
|
// Title
|
||||||
if ($foruserprofile) {
|
if ($foruserprofile) {
|
||||||
print '<tr class="liste_titre"><th class="titlefield">'.$langs->trans("Parameter").'</th><th>'.$langs->trans("DefaultValue").'</th>';
|
print '<tr class="liste_titre"><th class="titlefieldcreate">'.$langs->trans("Parameter").'</th><th>'.$langs->trans("DefaultValue").'</th>';
|
||||||
print '<th colspan="2"> </th>';
|
print '<th colspan="2"> </th>';
|
||||||
print '</tr>';
|
print '</tr>';
|
||||||
|
|
||||||
print '<tr>';
|
print '<tr>';
|
||||||
print '<td>'.$langs->trans("DefaultSkin").'</td>';
|
print '<td>'.$langs->trans("DefaultSkin").'</td>';
|
||||||
print '<td>'.$conf->global->MAIN_THEME.'</td>';
|
print '<td>'.$conf->global->MAIN_THEME.'</td>';
|
||||||
print '<td class="nowrap left" width="20%"><input id="check_MAIN_THEME" name="check_MAIN_THEME"'.($edit ? '' : ' disabled').' type="checkbox" '.($selected_theme ? " checked" : "").'> '.$langs->trans("UsePersonalValue").'</td>';
|
print '<td class="nowrap left"><input id="check_MAIN_THEME" name="check_MAIN_THEME"'.($edit ? '' : ' disabled').' type="checkbox" '.($selected_theme ? " checked" : "").'> '.$langs->trans("UsePersonalValue").'</td>';
|
||||||
print '<td> </td>';
|
print '<td> </td>';
|
||||||
print '</tr>';
|
print '</tr>';
|
||||||
} else {
|
} else {
|
||||||
@ -359,7 +359,7 @@ function showSkins($fuser, $edit = 0, $foruserprofile = false)
|
|||||||
$dirthemestring .= '"'.$dirtheme.'" ';
|
$dirthemestring .= '"'.$dirtheme.'" ';
|
||||||
}
|
}
|
||||||
|
|
||||||
print '<tr class="liste_titre"><th class="titlefield">';
|
print '<tr class="liste_titre"><th class="titlefieldcreate">';
|
||||||
print $form->textwithpicto($langs->trans("DefaultSkin"), $langs->trans("ThemeDir").' : '.$dirthemestring);
|
print $form->textwithpicto($langs->trans("DefaultSkin"), $langs->trans("ThemeDir").' : '.$dirthemestring);
|
||||||
print '</th>';
|
print '</th>';
|
||||||
print '<th class="right">';
|
print '<th class="right">';
|
||||||
@ -448,7 +448,7 @@ function showSkins($fuser, $edit = 0, $foruserprofile = false)
|
|||||||
// Nothing
|
// Nothing
|
||||||
} else {
|
} else {
|
||||||
// Show logo
|
// Show logo
|
||||||
print '<tr class="oddeven"><td class="titlefield">'.$langs->trans("EnableShowLogo").'</td><td>';
|
print '<tr class="oddeven"><td class="titlefieldcreate">'.$langs->trans("EnableShowLogo").'</td><td>';
|
||||||
if ($edit) {
|
if ($edit) {
|
||||||
print ajax_constantonoff('MAIN_SHOW_LOGO', array(), null, 0, 0, 1);
|
print ajax_constantonoff('MAIN_SHOW_LOGO', array(), null, 0, 0, 1);
|
||||||
//print $form->selectyesno('MAIN_SHOW_LOGO', $conf->global->MAIN_SHOW_LOGO, 1);
|
//print $form->selectyesno('MAIN_SHOW_LOGO', $conf->global->MAIN_SHOW_LOGO, 1);
|
||||||
|
|||||||
@ -960,7 +960,7 @@ if (empty($type) || $type == 'f') {
|
|||||||
if ($user->rights->societe->client->voir || $socid) {
|
if ($user->rights->societe->client->voir || $socid) {
|
||||||
$moreforfilter .= '<div class="divsearchfield">';
|
$moreforfilter .= '<div class="divsearchfield">';
|
||||||
$moreforfilter .= img_picto('', 'user', 'class="pictofixedwidth"');
|
$moreforfilter .= img_picto('', 'user', 'class="pictofixedwidth"');
|
||||||
$moreforfilter .= $formother->select_salesrepresentatives($search_sale, 'search_sale', $user, 0, $langs->trans('SalesRepresentatives'), 'maxwidth300', 1);
|
$moreforfilter .= $formother->select_salesrepresentatives($search_sale, 'search_sale', $user, 0, $langs->trans('SalesRepresentatives'), ($conf->dol_optimize_smallscreen ? 'maxwidth200' : 'maxwidth300'), 1);
|
||||||
$moreforfilter .= '</div>';
|
$moreforfilter .= '</div>';
|
||||||
}
|
}
|
||||||
if ($moreforfilter) {
|
if ($moreforfilter) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user