Debug v14
This commit is contained in:
parent
e472d2d5d1
commit
58ffee193f
@ -372,7 +372,7 @@ if ($result) {
|
||||
print_liste_field_titre("UserAgent", $_SERVER["PHP_SELF"], "e.user_agent", "", $param, '', $sortfield, $sortorder);
|
||||
}
|
||||
if (!empty($arrayfields['e.prefix_session']['checked'])) {
|
||||
print_liste_field_titre("PrefixSession", $_SERVER["PHP_SELF"], "e.prefix_session", "", $param, '', $sortfield, $sortorder);
|
||||
print_liste_field_titre("SuffixSessionName", $_SERVER["PHP_SELF"], "e.prefix_session", "", $param, '', $sortfield, $sortorder);
|
||||
}
|
||||
print_liste_field_titre('');
|
||||
print "</tr>\n";
|
||||
|
||||
@ -339,7 +339,7 @@ function showSkins($fuser, $edit = 0, $foruserprofile = false)
|
||||
|
||||
$thumbsbyrow = 6;
|
||||
print '<div class="div-table-responsive-no-min">';
|
||||
print '<table class="noborder centpercent'.($edit ? ' editmode' : '').' tableforfield">';
|
||||
print '<table class="noborder centpercent'.($edit ? ' editmode' : '').'">';
|
||||
|
||||
// Title
|
||||
if ($foruserprofile) {
|
||||
|
||||
@ -263,7 +263,7 @@ ContactCreatedByEmailCollector=Contact/address created by email collector from e
|
||||
ProjectCreatedByEmailCollector=Project created by email collector from email MSGID %s
|
||||
TicketCreatedByEmailCollector=Ticket created by email collector from email MSGID %s
|
||||
OpeningHoursFormatDesc=Use a - to separate opening and closing hours.<br>Use a space to enter different ranges.<br>Example: 8-12 14-18
|
||||
PrefixSession=Prefix for session ID
|
||||
SuffixSessionName=Suffix for session name
|
||||
|
||||
##### Export #####
|
||||
ExportsArea=Exports area
|
||||
|
||||
@ -231,19 +231,9 @@ if ($action == 'edit') {
|
||||
|
||||
dol_banner_tab($object, 'id', $linkback, $user->rights->user->user->lire || $user->admin);
|
||||
|
||||
if (!empty($conf->use_javascript_ajax)) {/*
|
||||
print '<script type="text/javascript" language="javascript">
|
||||
jQuery(document).ready(function() {
|
||||
$("#main_lang_default").change(function() {
|
||||
$("#check_MAIN_LANG_DEFAULT").prop("checked", true);
|
||||
});
|
||||
$("#main_size_liste_limit").keyup(function() {
|
||||
if ($(this).val().length) $("#check_SIZE_LISTE_LIMIT").prop("checked", true);
|
||||
else $("#check_SIZE_LISTE_LIMIT").prop("checked", false);
|
||||
});
|
||||
});
|
||||
</script>';*/
|
||||
}
|
||||
print dol_get_fiche_end();
|
||||
|
||||
|
||||
if (!empty($conf->use_javascript_ajax)) {
|
||||
print '<script type="text/javascript" language="javascript">
|
||||
jQuery(document).ready(function() {
|
||||
@ -282,11 +272,11 @@ if ($action == 'edit') {
|
||||
|
||||
clearstatcache();
|
||||
|
||||
print '<table class="noborder centpercent tableforfield">';
|
||||
print '<table class="noborder centpercent">';
|
||||
print '<tr class="liste_titre"><td>'.$langs->trans("Parameter").'</td><td>'.$langs->trans("DefaultValue").'</td><td> </td><td>'.$langs->trans("PersonalValue").'</td></tr>';
|
||||
|
||||
// Language by default
|
||||
print '<tr class="oddeven"><td>'.$langs->trans("Language").'</td>';
|
||||
print '<tr class="oddeven"><td class="titlefieldmiddle">'.$langs->trans("Language").'</td>';
|
||||
print '<td>';
|
||||
$s = picto_from_langcode($conf->global->MAIN_LANG_DEFAULT);
|
||||
print $s ? $s.' ' : '';
|
||||
@ -337,8 +327,6 @@ if ($action == 'edit') {
|
||||
// Theme
|
||||
showSkins($object, (($user->admin || empty($dolibarr_main_demo)) ? 1 : 0), true);
|
||||
|
||||
print dol_get_fiche_end();
|
||||
|
||||
|
||||
print '<div class="center">';
|
||||
print '<input type="submit" class="button button-save" name="save" value="'.$langs->trans("Save").'">';
|
||||
@ -352,8 +340,12 @@ if ($action == 'edit') {
|
||||
|
||||
dol_banner_tab($object, 'id', $linkback, $user->rights->user->user->lire || $user->admin);
|
||||
|
||||
print '<table class="noborder centpercent tableforfield">';
|
||||
print '<tr class="liste_titre"><td>'.$langs->trans("Parameter").'</td><td>'.$langs->trans("DefaultValue").'</td><td> </td><td>'.$langs->trans("PersonalValue").'</td></tr>';
|
||||
print dol_get_fiche_end();
|
||||
|
||||
|
||||
print '<div class="div-table-responsive">'; // You can use div-table-responsive-no-min if you dont need reserved height for your table
|
||||
print '<table class="noborder centpercent">';
|
||||
print '<tr class="liste_titre"><td class="titlefieldmiddle">'.$langs->trans("Parameter").'</td><td>'.$langs->trans("DefaultValue").'</td><td> </td><td>'.$langs->trans("PersonalValue").'</td></tr>';
|
||||
|
||||
// Language
|
||||
print '<tr class="oddeven"><td>'.$langs->trans("Language").'</td>';
|
||||
@ -404,14 +396,14 @@ if ($action == 'edit') {
|
||||
print '<td class="nowrap" width="20%"><input class="oddeven" type="checkbox" disabled '.(!empty($object->conf->MAIN_SIZE_LISTE_LIMIT) ? " checked" : "").'> '.$langs->trans("UsePersonalValue").'</td>';
|
||||
print '<td>'.(!empty($object->conf->MAIN_SIZE_LISTE_LIMIT) ? $object->conf->MAIN_SIZE_LISTE_LIMIT : ' ').'</td></tr>';
|
||||
|
||||
print '</table><br>';
|
||||
print '</table>';
|
||||
print '</div>';
|
||||
print '<br>';
|
||||
|
||||
|
||||
// Skin
|
||||
showSkins($object, 0, true);
|
||||
|
||||
print dol_get_fiche_end();
|
||||
|
||||
|
||||
print '<div class="tabsAction">';
|
||||
if (empty($user->admin) && !empty($dolibarr_main_demo)) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user