From a8a48c3315bfd7d7bc7bb8f918ce5144defc69f2 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 24 Jun 2024 16:20:01 +0200 Subject: [PATCH] Debug v20 - fix css --- htdocs/comm/action/index.php | 16 ++++++++-------- htdocs/comm/action/list.php | 32 +++++++++++++++++++------------- htdocs/comm/action/pertype.php | 20 ++++++++++++-------- htdocs/comm/action/peruser.php | 31 ++++++++++++++++++------------- 4 files changed, 57 insertions(+), 42 deletions(-) diff --git a/htdocs/comm/action/index.php b/htdocs/comm/action/index.php index 8ae53fcc203..af345ae89f5 100644 --- a/htdocs/comm/action/index.php +++ b/htdocs/comm/action/index.php @@ -495,35 +495,35 @@ print ''; $viewmode = ''; $viewmode .= ''; // To add a space before the navigation tools -$newcardbutton = ''; $newparam = ''; +$newcardbutton = ''; if ($user->hasRight('agenda', 'myactions', 'create') || $user->hasRight('agenda', 'allactions', 'create')) { $tmpforcreatebutton = dol_getdate(dol_now(), true); diff --git a/htdocs/comm/action/list.php b/htdocs/comm/action/list.php index e0ffc594557..420ff107c5f 100644 --- a/htdocs/comm/action/list.php +++ b/htdocs/comm/action/list.php @@ -676,41 +676,42 @@ if (empty($reshook)) { } elseif ($reshook > 1) { $s = $hookmanager->resPrint; } + $viewyear = is_object($object) ? dol_print_date($object->datep, '%Y') : ''; $viewmonth = is_object($object) ? dol_print_date($object->datep, '%m') : ''; $viewday = is_object($object) ? dol_print_date($object->datep, '%d') : ''; -$viewmode = ''; -$viewmode .= ''; + +$viewmode = ''; + +$viewmode .= ''; + + $tmpforcreatebutton = dol_getdate(dol_now(), true); $newparam = '&month='.str_pad((string) $month, 2, "0", STR_PAD_LEFT).'&year='.$tmpforcreatebutton['year']; diff --git a/htdocs/comm/action/pertype.php b/htdocs/comm/action/pertype.php index 990c9af705f..849f71c18fa 100644 --- a/htdocs/comm/action/pertype.php +++ b/htdocs/comm/action/pertype.php @@ -430,38 +430,37 @@ if ($conf->use_javascript_ajax) { $massactionbutton = ''; -$viewmode = ''; +$viewmode = ''; + +$viewmode .= ''; + + $newparam = ''; $newcardbutton = ''; if ($user->hasRight('agenda', 'myactions', 'create') || $user->hasRight('agenda', 'allactions', 'create')) { diff --git a/htdocs/comm/action/peruser.php b/htdocs/comm/action/peruser.php index 86ccb548efa..30f0d61d41a 100644 --- a/htdocs/comm/action/peruser.php +++ b/htdocs/comm/action/peruser.php @@ -431,40 +431,41 @@ if ($conf->use_javascript_ajax) { } } +$mode = 'show_peruser'; $massactionbutton = ''; -$viewmode = ''; -$viewmode .= ''; + +$viewmode = ''; + +$viewmode .= ''; + $newparam = ''; $newcardbutton = '';