mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-05 17:18:13 +01:00
Fix CI
This commit is contained in:
@@ -531,7 +531,7 @@ if ($user->hasRight('agenda', 'myactions', 'create') || $user->hasRight('agenda'
|
|||||||
|
|
||||||
$urltocreateaction = DOL_URL_ROOT.'/comm/action/card.php?action=create';
|
$urltocreateaction = DOL_URL_ROOT.'/comm/action/card.php?action=create';
|
||||||
$urltocreateaction .= '&apyear='.$tmpforcreatebutton['year'].'&apmonth='.$tmpforcreatebutton['mon'].'&apday='.$tmpforcreatebutton['mday'].'&aphour='.$tmpforcreatebutton['hours'].'&apmin='.$tmpforcreatebutton['minutes'];
|
$urltocreateaction .= '&apyear='.$tmpforcreatebutton['year'].'&apmonth='.$tmpforcreatebutton['mon'].'&apday='.$tmpforcreatebutton['mday'].'&aphour='.$tmpforcreatebutton['hours'].'&apmin='.$tmpforcreatebutton['minutes'];
|
||||||
$urltocreateaction .= '&backtopage='.urlencode($_SERVER["PHP_SELF"].($newparam ? '?'.$newparam : ''));
|
$urltocreateaction .= '&backtopage='.urlencode($_SERVER["PHP_SELF"].'?'.$newparam);
|
||||||
|
|
||||||
$newcardbutton .= dolGetButtonTitle($langs->trans("AddAction"), '', 'fa fa-plus-circle', $urltocreateaction);
|
$newcardbutton .= dolGetButtonTitle($langs->trans("AddAction"), '', 'fa fa-plus-circle', $urltocreateaction);
|
||||||
}
|
}
|
||||||
@@ -2479,7 +2479,7 @@ function show_day_events2($username, $day, $month, $year, $monthshown, $style, &
|
|||||||
print 'style="background: #'.$color1.'; "';
|
print 'style="background: #'.$color1.'; "';
|
||||||
}
|
}
|
||||||
print 'class="';
|
print 'class="';
|
||||||
print ($style1 ? $style1.' ' : '');
|
print $style1.' ';
|
||||||
print 'center'.($title1 ? ' classfortooltip' : '').($title1 ? ' cursorpointer' : '').'"';
|
print 'center'.($title1 ? ' classfortooltip' : '').($title1 ? ' cursorpointer' : '').'"';
|
||||||
print 'ref="'.$ref1.'_'.$username->id.'_'.sprintf("%04d", $year).'_'.sprintf("%02d", $month).'_'.sprintf("%02d", $day).'_'.sprintf("%02d", $h).'_00_'.($ids1 ? $ids1 : 'none').'"';
|
print 'ref="'.$ref1.'_'.$username->id.'_'.sprintf("%04d", $year).'_'.sprintf("%02d", $month).'_'.sprintf("%02d", $day).'_'.sprintf("%02d", $h).'_00_'.($ids1 ? $ids1 : 'none').'"';
|
||||||
print ($title1 ? ' title="'.$title1.'"' : '').'>';
|
print ($title1 ? ' title="'.$title1.'"' : '').'>';
|
||||||
@@ -2493,7 +2493,7 @@ function show_day_events2($username, $day, $month, $year, $monthshown, $style, &
|
|||||||
print 'style="background: #'.$color2.'; "';
|
print 'style="background: #'.$color2.'; "';
|
||||||
}
|
}
|
||||||
print 'class="';
|
print 'class="';
|
||||||
print ($style2 ? $style2.' ' : '');
|
print $style2.' ';
|
||||||
print 'center'.($title2 ? ' classfortooltip' : '').($title2 ? ' cursorpointer' : '').'"';
|
print 'center'.($title2 ? ' classfortooltip' : '').($title2 ? ' cursorpointer' : '').'"';
|
||||||
print ' ref="'.$ref2.'_'.$username->id.'_'.sprintf("%04d", $year).'_'.sprintf("%02d", $month).'_'.sprintf("%02d", $day).'_'.sprintf("%02d", $h).'_15_'.($ids2 ? $ids2 : 'none').'"';
|
print ' ref="'.$ref2.'_'.$username->id.'_'.sprintf("%04d", $year).'_'.sprintf("%02d", $month).'_'.sprintf("%02d", $day).'_'.sprintf("%02d", $h).'_15_'.($ids2 ? $ids2 : 'none').'"';
|
||||||
print ($title2 ? ' title="'.$title2.'"' : '').'>';
|
print ($title2 ? ' title="'.$title2.'"' : '').'>';
|
||||||
@@ -2507,7 +2507,7 @@ function show_day_events2($username, $day, $month, $year, $monthshown, $style, &
|
|||||||
print 'style="background: #'.$color3.'; "';
|
print 'style="background: #'.$color3.'; "';
|
||||||
}
|
}
|
||||||
print 'class="';
|
print 'class="';
|
||||||
print ($style3 ? $style3.' ' : '');
|
print $style3.' ';
|
||||||
print 'center'.($title3 ? ' classfortooltip' : '').($title3 ? ' cursorpointer' : '').'"';
|
print 'center'.($title3 ? ' classfortooltip' : '').($title3 ? ' cursorpointer' : '').'"';
|
||||||
print ' ref="'.$ref3.'_'.$username->id.'_'.sprintf("%04d", $year).'_'.sprintf("%02d", $month).'_'.sprintf("%02d", $day).'_'.sprintf("%02d", $h).'_30_'.($ids3 ? $ids3 : 'none').'"';
|
print ' ref="'.$ref3.'_'.$username->id.'_'.sprintf("%04d", $year).'_'.sprintf("%02d", $month).'_'.sprintf("%02d", $day).'_'.sprintf("%02d", $h).'_30_'.($ids3 ? $ids3 : 'none').'"';
|
||||||
print ($title3 ? ' title="'.$title3.'"' : '').'>';
|
print ($title3 ? ' title="'.$title3.'"' : '').'>';
|
||||||
@@ -2521,7 +2521,7 @@ function show_day_events2($username, $day, $month, $year, $monthshown, $style, &
|
|||||||
print 'style="background: #'.$color4.'; "';
|
print 'style="background: #'.$color4.'; "';
|
||||||
}
|
}
|
||||||
print 'class="';
|
print 'class="';
|
||||||
print ($style4 ? $style4.' ' : '');
|
print $style4.' ';
|
||||||
print 'center'.($title4 ? ' classfortooltip' : '').($title4 ? ' cursorpointer' : '').'"';
|
print 'center'.($title4 ? ' classfortooltip' : '').($title4 ? ' cursorpointer' : '').'"';
|
||||||
print ' ref="'.$ref4.'_'.$username->id.'_'.sprintf("%04d", $year).'_'.sprintf("%02d", $month).'_'.sprintf("%02d", $day).'_'.sprintf("%02d", $h).'_45_'.($ids4 ? $ids4 : 'none').'"';
|
print ' ref="'.$ref4.'_'.$username->id.'_'.sprintf("%04d", $year).'_'.sprintf("%02d", $month).'_'.sprintf("%02d", $day).'_'.sprintf("%02d", $h).'_45_'.($ids4 ? $ids4 : 'none').'"';
|
||||||
print ($title4 ? ' title="'.$title4.'"' : '').'>';
|
print ($title4 ? ' title="'.$title4.'"' : '').'>';
|
||||||
|
|||||||
Reference in New Issue
Block a user