diff --git a/htdocs/ticket/card.php b/htdocs/ticket/card.php
index 631ee0d3c41..e9c73e321be 100644
--- a/htdocs/ticket/card.php
+++ b/htdocs/ticket/card.php
@@ -447,7 +447,7 @@ if (empty($action) || $action == 'view' || $action == 'addlink' || $action == 'd
print $langs->trans('Progression') . '
';
print ' ';
if ($action != 'progression' && $object->fk_statut < 8 && !$user->societe_id) {
- print '' . img_edit($langs->trans('Modify')) . ' ';
+ print '' . img_edit($langs->trans('Modify')) . ' ';
}
print '';
print '';
@@ -604,7 +604,7 @@ if (empty($action) || $action == 'view' || $action == 'addlink' || $action == 'd
' . $langs->trans("Contacts") . '
' . $langs->trans("ContactType") . '
' . $langs->trans("Phone") . '
- ' . $langs->trans("Status") . '
';
+ ' . $langs->trans("Status") . '
';
print '';
// Contact list
@@ -620,7 +620,7 @@ if (empty($action) || $action == 'view' || $action == 'addlink' || $action == 'd
$var = !$var;
print '';
- print '
';
+ print '
';
if ($tab[$i]['source'] == 'internal') {
echo $langs->trans("User");
}
@@ -630,7 +630,7 @@ if (empty($action) || $action == 'view' || $action == 'addlink' || $action == 'd
}
print '
';
- print '
';
+ print '
';
if ($tab[$i]['socid'] > 0) {
$companystatic->fetch($tab[$i]['socid']);
@@ -672,7 +672,7 @@ if (empty($action) || $action == 'view' || $action == 'addlink' || $action == 'd
}
print '
';
- print '
';
+ print '
';
if ($object->statut >= 0) {
echo '
';
}
diff --git a/htdocs/ticket/list.php b/htdocs/ticket/list.php
index b9bf46ef83a..401645f6dfd 100644
--- a/htdocs/ticket/list.php
+++ b/htdocs/ticket/list.php
@@ -553,7 +553,7 @@ $parameters=array('arrayfields'=>$arrayfields);
$reshook=$hookmanager->executeHooks('printFieldListOption', $parameters, $object); // Note that $action and $object may have been modified by hook
print $hookmanager->resPrint;
// Action column
-print ' ';
+print ' ';
$searchpicto=$form->showFilterButtons();
print $searchpicto;
print ' ';
@@ -580,7 +580,7 @@ include DOL_DOCUMENT_ROOT.'/core/tpl/extrafields_list_search_title.tpl.php';
$parameters=array('arrayfields'=>$arrayfields,'param'=>$param,'sortfield'=>$sortfield,'sortorder'=>$sortorder);
$reshook=$hookmanager->executeHooks('printFieldListTitle', $parameters, $object); // Note that $action and $object may have been modified by hook
print $hookmanager->resPrint;
-print getTitleFieldOfList($selectedfields, 0, $_SERVER["PHP_SELF"], '', '', '', 'align="center"', $sortfield, $sortorder, 'maxwidthsearch ')."\n";
+print getTitleFieldOfList($selectedfields, 0, $_SERVER["PHP_SELF"], '', '', '', '', $sortfield, $sortorder, 'maxwidthsearch center ')."\n";
print ''."\n";
@@ -646,7 +646,7 @@ while ($i < min($num, $limit))
$reshook=$hookmanager->executeHooks('printFieldListValue', $parameters, $object); // Note that $action and $object may have been modified by hook
print $hookmanager->resPrint;
// Action column
- print '
';
+ print ' ';
if ($massactionbutton || $massaction) // If we are in select mode (massactionbutton defined) or if we have already selected and sent an action ($massaction) defined
{
$selected=0;
@@ -669,7 +669,7 @@ if (isset($totalarray['pos']))
while ($i < $totalarray['nbfield'])
{
$i++;
- if (! empty($totalarray['pos'][$i])) print ' '.price($totalarray['val'][$totalarray['pos'][$i]]).' ';
+ if (! empty($totalarray['pos'][$i])) print '
'.price($totalarray['val'][$totalarray['pos'][$i]]).' ';
else
{
if ($i == 1)
diff --git a/htdocs/ticket/stats/index.php b/htdocs/ticket/stats/index.php
index 2366ac30610..5eb206057c3 100644
--- a/htdocs/ticket/stats/index.php
+++ b/htdocs/ticket/stats/index.php
@@ -260,16 +260,16 @@ if (! in_array($nowyear, $arrayyears)) $arrayyears[$nowyear]=$nowyear;
arsort($arrayyears);
print $form->selectarray('year', $arrayyears, $year, 0);
print '
';
-print ' ';
+print ' ';
print '';
print '';
print ' ';
print '';
-print '
';
+print '';
print '';
-print ''.$langs->trans("Year").' ';
+print ''.$langs->trans("Year").' ';
print ''.$langs->trans("NbOfTickets").' ';
print '% ';
//print ''.$langs->trans("AmountTotal").' ';
@@ -287,7 +287,7 @@ foreach ($data as $val)
$oldyear--;
print ' ';
- print '0?'&socid='.$socid:'').($userid>0?'&userid='.$userid:'').'">'.$oldyear.' ';
+ print '0?'&socid='.$socid:'').($userid>0?'&userid='.$userid:'').'">'.$oldyear.' ';
print '0 ';
print ' ';
//print '0 ';
@@ -299,7 +299,7 @@ foreach ($data as $val)
print ' ';
- print '0?'&socid='.$socid:'').($userid>0?'&userid='.$userid:'').'">'.$year.' ';
+ print '0?'&socid='.$socid:'').($userid>0?'&userid='.$userid:'').'">'.$year.' ';
print ''.$val['nb'].' ';
print ''.round($val['nb_diff']).' ';
//print ''.price(price2num($val['total'], 'MT'), 1).' ';
@@ -318,7 +318,7 @@ print '';
// Show graphs
-print '
';
+print '';
if ($mesg) { print $mesg; }
else {
print $px1->show();
diff --git a/htdocs/ticket/tpl/linkedobjectblock.tpl.php b/htdocs/ticket/tpl/linkedobjectblock.tpl.php
index 21fe9aa78d8..3391437dbb1 100644
--- a/htdocs/ticket/tpl/linkedobjectblock.tpl.php
+++ b/htdocs/ticket/tpl/linkedobjectblock.tpl.php
@@ -37,9 +37,9 @@ print load_fiche_titre($langs->trans('RelatedTickets'));
trans("Subject"); ?>
- trans("DateCreation"); ?>
- trans("Customer"); ?>
- trans("Status"); ?>
+ trans("DateCreation"); ?>
+ trans("Customer"); ?>
+ trans("Status"); ?>
trans("ShowTicket"), "ticket") . ' ' . (! empty($object->subject) ? ' '.$object->subject : ''); ?>
- datec, 'day'); ?>
+ datec, 'day'); ?>
socid = $object->fk_soc;
$object->fetch_thirdparty();
?>
- thirdparty->getNomUrl(1); ?>
- getLibstatut(2); ?>
+ thirdparty->getNomUrl(1); ?>
+ getLibstatut(2); ?>