Look and feel v20

This commit is contained in:
Laurent Destailleur
2024-05-29 20:40:33 +02:00
parent 9e1a618d75
commit f1aa39b1a9
4 changed files with 10 additions and 8 deletions

View File

@@ -198,7 +198,7 @@ if (getDolGlobalString('MEMBER_ENABLE_PUBLIC')) {
print '</div>';
print ajax_autoselect('publicurlmember');
print '<br>';
print '<br><br>';
print '<div class="div-table-responsive-no-min">';
print '<table class="noborder centpercent">';
@@ -248,7 +248,7 @@ if (getDolGlobalString('MEMBER_ENABLE_PUBLIC')) {
print '<tr class="oddeven" id="tredit"><td>';
print $langs->trans("MemberCountersArePublic");
print '</td><td>';
print $form->selectyesno("MEMBER_COUNTERS_ARE_PUBLIC", getDolGlobalInt('MEMBER_COUNTERS_ARE_PUBLIC'), 1);
print $form->selectyesno("MEMBER_COUNTERS_ARE_PUBLIC", getDolGlobalInt('MEMBER_COUNTERS_ARE_PUBLIC'), 1, false, 0, 1);
print "</td></tr>\n";
// Show the table of all available membership types. If not, show a form (as the default was for Dolibarr <=16.0)
@@ -256,7 +256,7 @@ if (getDolGlobalString('MEMBER_ENABLE_PUBLIC')) {
print '<tr class="oddeven" id="tredit"><td>';
print $langs->trans("MembersShowMembershipTypesTable");
print '</td><td>';
print $form->selectyesno("MEMBER_SHOW_TABLE", !$skiptable, 1); // Reverse the logic "hide -> show" for retrocompatibility
print $form->selectyesno("MEMBER_SHOW_TABLE", !$skiptable, 1, false, 0, 1); // Reverse the logic "hide -> show" for retrocompatibility
print "</td></tr>\n";
// Show "vote allowed" setting for membership types
@@ -264,7 +264,7 @@ if (getDolGlobalString('MEMBER_ENABLE_PUBLIC')) {
print '<tr class="oddeven" id="tredit"><td>';
print $langs->trans("MembersShowVotesAllowed");
print '</td><td>';
print $form->selectyesno("MEMBER_SHOW_VOTE_ALLOWED", !$hidevoteallowed, 1); // Reverse the logic "hide -> show" for retrocompatibility
print $form->selectyesno("MEMBER_SHOW_VOTE_ALLOWED", !$hidevoteallowed, 1, false, 0, 1); // Reverse the logic "hide -> show" for retrocompatibility
print "</td></tr>\n";
// Jump to an online payment page

View File

@@ -299,7 +299,7 @@ class box_dolibarr_state_board extends ModeleBoxes
$this->info_box_contents[0][0] = array(
'tr' => 'class="nohover"',
'td' => 'class="tdwidgetstate"',
'td' => 'class="tdwidgetstate center"',
'textnoformat' => $boxstat
);
}

View File

@@ -3309,7 +3309,9 @@ function left_menu($menu_array_before, $helppagename = '', $notused = '', $menu_
$stringforfirstkey .= ' CTL +';
}
$searchform .= $form->selectArrayFilter('searchselectcombo', $arrayresult, $selected, 'accesskey="s"', 1, 0, (!getDolGlobalString('MAIN_SEARCHBOX_CONTENT_LOADED_BEFORE_KEY') ? 1 : 0), 'vmenusearchselectcombo', 1, $langs->trans("Search"), 1, $stringforfirstkey.' s');
//$textsearch = $langs->trans("Search");
$textsearch = '<span class="fa fa-search"></span>';
$searchform .= $form->selectArrayFilter('searchselectcombo', $arrayresult, $selected, 'accesskey="s"', 1, 0, (!getDolGlobalString('MAIN_SEARCHBOX_CONTENT_LOADED_BEFORE_KEY') ? 1 : 0), 'vmenusearchselectcombo', 1, $textsearch, 1, $stringforfirstkey.' s');
} else {
if (is_array($arrayresult)) {
foreach ($arrayresult as $key => $val) {

View File

@@ -335,7 +335,7 @@ if ($result) {
$lastmodified .= '<tr class="liste_titre"><th colspan="2">';
//$lastmodified .= img_picto('', 'company', 'class="pictofixedwidth"');
$lastmodified .= $transRecordedType;
$lastmodified .= '<span class="valignmiddle">'.$transRecordedType.'</span>';
$lastmodified .= '<a class="marginleftonly" href="'.DOL_URL_ROOT.'/societe/list.php?sortfield=s.tms&sortorder=DESC" title="'.$langs->trans("FullList").'">';
$lastmodified .= '<span class="badge marginleftonlyshort">...</span>';
$lastmodified .= '</a>';
@@ -458,7 +458,7 @@ if ($result) {
$lastmodifiedcontact .= '<tr class="liste_titre"><th colspan="2">';
//$lastmodifiedcontact .= img_picto('', 'contact', 'class="pictofixedwidth"');
$lastmodifiedcontact .= $transRecordedType;
$lastmodifiedcontact .= '<span class="valignmiddle">'.$transRecordedType.'</div>';
$lastmodifiedcontact .= '<a class="marginleftonly" href="'.DOL_URL_ROOT.'/contact/list.php?sortfield=p.tms&sortorder=DESC" title="'.$langs->trans("FullList").'">';
//$lastmodifiedcontact .= img_picto($langs->trans("FullList"), 'contact');
$lastmodifiedcontact .= '<span class="badge marginleftonlyshort">...</span>';