FIX for combo on rtl languages
This commit is contained in:
parent
34e09315cc
commit
428c3e973d
@ -607,8 +607,9 @@ if (! empty($arrayfields['p.fk_statut']['checked']))
|
|||||||
print '<td class="liste_titre nowrap" align="right">';
|
print '<td class="liste_titre nowrap" align="right">';
|
||||||
$arrayofstatus = array();
|
$arrayofstatus = array();
|
||||||
foreach($object->statuts_short as $key => $val) $arrayofstatus[$key]=$langs->trans($val);
|
foreach($object->statuts_short as $key => $val) $arrayofstatus[$key]=$langs->trans($val);
|
||||||
$arrayofstatus['99']=$langs->trans("NotClosed").' ('.$langs->trans('Draft').'+'.$langs->trans('Opened').')';
|
$arrayofstatus['99']=$langs->trans("NotClosed").' ('.$langs->trans('Draft').' + '.$langs->trans('Opened').')';
|
||||||
print $form->selectarray('search_status', $arrayofstatus, $search_status, 1, 0, 0, '', 0, 0, 0, '', 'maxwidth100');
|
print $form->selectarray('search_status', $arrayofstatus, $search_status, 1, 0, 0, '', 0, 0, 0, '', 'maxwidth100 selectarrowonleft');
|
||||||
|
print ajax_combobox('search_status');
|
||||||
print '</td>';
|
print '</td>';
|
||||||
}
|
}
|
||||||
// Action column
|
// Action column
|
||||||
|
|||||||
@ -801,6 +801,13 @@ div.fiche>div.tabBar>form>div.div-table-responsive {
|
|||||||
align-self: flex-start;
|
align-self: flex-start;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
select.selectarrowonleft {
|
||||||
|
direction: rtl;
|
||||||
|
}
|
||||||
|
select.selectarrowonleft option {
|
||||||
|
direction: ltr;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/* ============================================================================== */
|
/* ============================================================================== */
|
||||||
/* Styles to hide objects */
|
/* Styles to hide objects */
|
||||||
@ -4380,7 +4387,7 @@ dl.dropdown {
|
|||||||
}
|
}
|
||||||
.dropdown ul {
|
.dropdown ul {
|
||||||
margin: -1px 0 0 0;
|
margin: -1px 0 0 0;
|
||||||
text-align: left;
|
text-align: <?php echo $left; ?>;
|
||||||
}
|
}
|
||||||
.dropdown dd {
|
.dropdown dd {
|
||||||
position:relative;
|
position:relative;
|
||||||
@ -4399,7 +4406,7 @@ dl.dropdown {
|
|||||||
background-color: #FFF;
|
background-color: #FFF;
|
||||||
border: 1px solid #888;
|
border: 1px solid #888;
|
||||||
display:none;
|
display:none;
|
||||||
right:0px; /* pop is align on right */
|
<?php echo $right; ?>:0px; /* pop is align on right */
|
||||||
padding: 2px 15px 2px 5px;
|
padding: 2px 15px 2px 5px;
|
||||||
position:absolute;
|
position:absolute;
|
||||||
top:2px;
|
top:2px;
|
||||||
@ -4416,7 +4423,7 @@ dl.dropdown {
|
|||||||
padding: 2px;
|
padding: 2px;
|
||||||
}
|
}
|
||||||
.dropdown dd ul li input[type="checkbox"] {
|
.dropdown dd ul li input[type="checkbox"] {
|
||||||
margin-right: 3px;
|
margin-<?php echo $right; ?>: 3px;
|
||||||
}
|
}
|
||||||
.dropdown dd ul li a, .dropdown dd ul li span {
|
.dropdown dd ul li a, .dropdown dd ul li span {
|
||||||
padding: 3px;
|
padding: 3px;
|
||||||
|
|||||||
@ -804,6 +804,13 @@ div.fiche>form>div.div-table-responsive {
|
|||||||
align-self: flex-start;
|
align-self: flex-start;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
select.selectarrowonleft {
|
||||||
|
direction: rtl;
|
||||||
|
}
|
||||||
|
select.selectarrowonleft option {
|
||||||
|
direction: ltr;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/* ============================================================================== */
|
/* ============================================================================== */
|
||||||
/* Styles to hide objects */
|
/* Styles to hide objects */
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user