forked from Wavyzz/dolibarr
Debug v21
This commit is contained in:
@@ -1548,7 +1548,7 @@ if (empty($mode) || $mode == 'show_month') { // View by month
|
|||||||
print '</div>';
|
print '</div>';
|
||||||
|
|
||||||
print '<div class="div-table-responsive-no-min sectioncalendarbymonth maxscreenheightless300">';
|
print '<div class="div-table-responsive-no-min sectioncalendarbymonth maxscreenheightless300">';
|
||||||
print '<table class="centpercent noborder nocellnopadd cal_pannel cal_month">';
|
print '<table class="centpercent noborder nocellnopadd cal_pannel cal_month listwithfilterbefore">';
|
||||||
print ' <tr class="liste_titre">';
|
print ' <tr class="liste_titre">';
|
||||||
// Column title of weeks numbers
|
// Column title of weeks numbers
|
||||||
echo ' <td class="center">#</td>';
|
echo ' <td class="center">#</td>';
|
||||||
@@ -1659,7 +1659,7 @@ if (empty($mode) || $mode == 'show_month') { // View by month
|
|||||||
print '</div>';
|
print '</div>';
|
||||||
|
|
||||||
print '<div class="div-table-responsive-no-min sectioncalendarbyweek maxscreenheightless300">';
|
print '<div class="div-table-responsive-no-min sectioncalendarbyweek maxscreenheightless300">';
|
||||||
print '<table class="centpercent noborder nocellnopadd cal_pannel cal_month">';
|
print '<table class="centpercent noborder nocellnopadd cal_pannel cal_month listwithfilterbefore">';
|
||||||
print ' <tr class="liste_titre">';
|
print ' <tr class="liste_titre">';
|
||||||
$i = 0;
|
$i = 0;
|
||||||
while ($i < 7) {
|
while ($i < 7) {
|
||||||
@@ -1727,7 +1727,7 @@ if (empty($mode) || $mode == 'show_month') { // View by month
|
|||||||
print '</div>';
|
print '</div>';
|
||||||
|
|
||||||
print '<div class="div-table-responsive-no-min sectioncalendarbyday maxscreenheightless300">';
|
print '<div class="div-table-responsive-no-min sectioncalendarbyday maxscreenheightless300">';
|
||||||
echo '<table class="tagtable centpercent noborder nocellnopadd cal_pannel cal_month" style="margin-bottom: 10px !important;">';
|
echo '<table class="tagtable centpercent noborder nocellnopadd cal_pannel cal_month listwithfilterbefore" style="margin-bottom: 10px !important;">';
|
||||||
|
|
||||||
echo ' <tr class="tagtr liste_titre">';
|
echo ' <tr class="tagtr liste_titre">';
|
||||||
echo ' <td class="tagtd center bold uppercase">'.$langs->trans("Day".$arraytimestamp['wday'])."</td>\n";
|
echo ' <td class="tagtd center bold uppercase">'.$langs->trans("Day".$arraytimestamp['wday'])."</td>\n";
|
||||||
|
|||||||
@@ -836,7 +836,7 @@ echo '<div class="div-table-responsive">';
|
|||||||
$colorsbytype = array();
|
$colorsbytype = array();
|
||||||
|
|
||||||
while ($currentdaytoshow < $lastdaytoshow) {
|
while ($currentdaytoshow < $lastdaytoshow) {
|
||||||
echo '<table class="centpercent noborder nocellnopadd cal_month">';
|
echo '<table class="centpercent noborder nocellnopadd cal_month listwithfilterbefore">';
|
||||||
|
|
||||||
echo '<tr class="liste_titre">';
|
echo '<tr class="liste_titre">';
|
||||||
echo '<td class="nopaddingtopimp nopaddingbottomimp nowraponsmartphone">';
|
echo '<td class="nopaddingtopimp nopaddingbottomimp nowraponsmartphone">';
|
||||||
|
|||||||
@@ -886,7 +886,10 @@ class FormFile
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$i = 0;
|
||||||
foreach ($file_list as $file) {
|
foreach ($file_list as $file) {
|
||||||
|
$i++;
|
||||||
|
|
||||||
// Define relative path for download link (depends on module)
|
// Define relative path for download link (depends on module)
|
||||||
$relativepath = (string) $file["name"]; // Cas general
|
$relativepath = (string) $file["name"]; // Cas general
|
||||||
if ($modulesubdir) {
|
if ($modulesubdir) {
|
||||||
@@ -896,7 +899,7 @@ class FormFile
|
|||||||
$relativepath = (string) $file["name"]; // Other case
|
$relativepath = (string) $file["name"]; // Other case
|
||||||
}
|
}
|
||||||
|
|
||||||
$out .= '<tr class="oddeven">';
|
$out .= '<tr class="oddeven'.((!$genallowed && $i == 1) ? ' trfirstline' : '').'">';
|
||||||
|
|
||||||
$documenturl = DOL_URL_ROOT.'/document.php';
|
$documenturl = DOL_URL_ROOT.'/document.php';
|
||||||
if (isset($conf->global->DOL_URL_ROOT_DOCUMENT_PHP)) {
|
if (isset($conf->global->DOL_URL_ROOT_DOCUMENT_PHP)) {
|
||||||
|
|||||||
@@ -278,7 +278,7 @@ if ($action == 'convertimgwebp' && $permtoadd) {
|
|||||||
if (empty($action) || $action == 'editfile' || $action == 'file_manager' || preg_match('/refresh/i', $action) || $action == 'delete') {
|
if (empty($action) || $action == 'editfile' || $action == 'file_manager' || preg_match('/refresh/i', $action) || $action == 'delete') {
|
||||||
$langs->load("ecm");
|
$langs->load("ecm");
|
||||||
|
|
||||||
print '<table class="liste centpercent">'."\n";
|
print '<table class="liste centpercent noborder">'."\n";
|
||||||
|
|
||||||
print '<!-- Title for manual directories -->'."\n";
|
print '<!-- Title for manual directories -->'."\n";
|
||||||
print '<tr class="liste_titre">'."\n";
|
print '<tr class="liste_titre">'."\n";
|
||||||
|
|||||||
@@ -453,7 +453,7 @@ if ($action == 'delete_section') {
|
|||||||
|
|
||||||
|
|
||||||
if (empty($action) || $action == 'file_manager' || preg_match('/refresh/i', $action) || $action == 'deletefile') {
|
if (empty($action) || $action == 'file_manager' || preg_match('/refresh/i', $action) || $action == 'deletefile') {
|
||||||
print '<table class="liste centpercent">'."\n";
|
print '<table class="liste centpercent noborder">'."\n";
|
||||||
|
|
||||||
print '<!-- Title for auto directories -->'."\n";
|
print '<!-- Title for auto directories -->'."\n";
|
||||||
print '<tr class="liste_titre">'."\n";
|
print '<tr class="liste_titre">'."\n";
|
||||||
|
|||||||
@@ -4255,22 +4255,24 @@ table.noborder.cal_month {
|
|||||||
border-bottom-left-radius: <?php echo $borderradius; ?>px;
|
border-bottom-left-radius: <?php echo $borderradius; ?>px;
|
||||||
border-bottom-right-radius: <?php echo $borderradius; ?>px;
|
border-bottom-right-radius: <?php echo $borderradius; ?>px;
|
||||||
}
|
}
|
||||||
table.noborder:not(.paymenttable, .margintable) tr.liste_titre:first-child td:first-child,
|
table.noborder:not(.listwithfilterbefore, .paymenttable, .margintable) tr.liste_titre:first-child td:first-child,
|
||||||
table.noborder:not(.paymenttable, .margintable) tr.liste_titre:first-child th:first-child,
|
table.noborder:not(.listwithfilterbefore, .paymenttable, .margintable) tr.liste_titre:first-child th:first-child,
|
||||||
table.tagtable.liste:not(.paymenttable, .margintable) tr.liste_titre:first-child td:first-child {
|
table.tagtable.liste:not(.listwithfilterbefore, .paymenttable, .margintable) tr.liste_titre:first-child td:first-child,
|
||||||
|
table.noborder:not(.listwithfilterbefore, .paymenttable, .margintable) tr.trfirstline td:first-child {
|
||||||
border-top-left-radius: <?php echo $borderradius; ?>px;
|
border-top-left-radius: <?php echo $borderradius; ?>px;
|
||||||
}
|
}
|
||||||
table.noborder:not(.paymenttable, .margintable) tr.liste_titre:first-child td:last-child,
|
table.noborder:not(.listwithfilterbefore, .paymenttable, .margintable) tr.liste_titre:first-child td:last-child,
|
||||||
table.noborder:not(.paymenttable, .margintable) tr.liste_titre:first-child th:last-child,
|
table.noborder:not(.listwithfilterbefore, .paymenttable, .margintable) tr.liste_titre:first-child th:last-child,
|
||||||
table.tagtable.liste:not(.paymenttable, .margintable) tr.liste_titre:first-child th:last-child {
|
table.tagtable.liste:not(.listwithfilterbefore, .paymenttable, .margintable) tr.liste_titre:first-child th:last-child,
|
||||||
|
table.noborder:not(.listwithfilterbefore, .paymenttable, .margintable) tr.trfirstline td:last-child {
|
||||||
border-top-right-radius: <?php echo $borderradius; ?>px;
|
border-top-right-radius: <?php echo $borderradius; ?>px;
|
||||||
}
|
}
|
||||||
table.noborder:not(.paymenttable, .margintable) tr:last-child td:first-child,
|
table.noborder:not(.listwithfilterbefore, .paymenttable, .margintable) tr:last-child td:first-child,
|
||||||
table.noborder:not(.paymenttable, .margintable) tr:last-child th:first-child {
|
table.noborder:not(.listwithfilterbefore, .paymenttable, .margintable) tr:last-child th:first-child {
|
||||||
border-bottom-left-radius: <?php echo $borderradius; ?>px;
|
border-bottom-left-radius: <?php echo $borderradius; ?>px;
|
||||||
}
|
}
|
||||||
table.noborder:not(.paymenttable, .margintable) tr:last-child td:last-child,
|
table.noborder:not(.listwithfilterbefore, .paymenttable, .margintable) tr:last-child td:last-child,
|
||||||
table.noborder:not(.paymenttable, .margintable) tr:last-child th:last-child {
|
table.noborder:not(.listwithfilterbefore, .paymenttable, .margintable) tr:last-child th:last-child {
|
||||||
border-bottom-right-radius: <?php echo $borderradius; ?>px;
|
border-bottom-right-radius: <?php echo $borderradius; ?>px;
|
||||||
}
|
}
|
||||||
table.noborder thead tr:last-child td:first-child,
|
table.noborder thead tr:last-child td:first-child,
|
||||||
|
|||||||
Reference in New Issue
Block a user