Uniformize lenght of small list
This commit is contained in:
parent
59e993e834
commit
e42fe4022a
@ -404,7 +404,6 @@ if ($object->id > 0 && (empty($action) || ($action != 'edit' && $action != 'crea
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
//$morehtmlstatus .= imap_num_msg($connection).'</div><div class="statusref">';
|
|
||||||
$morehtml .= imap_num_msg($connection);
|
$morehtml .= imap_num_msg($connection);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -51,7 +51,7 @@ if (isset($user->societe_id) && $user->societe_id > 0)
|
|||||||
$socid = $user->societe_id;
|
$socid = $user->societe_id;
|
||||||
}
|
}
|
||||||
|
|
||||||
$max=5;
|
$max=3;
|
||||||
$now=dol_now();
|
$now=dol_now();
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -464,7 +464,6 @@ if (! empty($conf->fournisseur->enabled) && $user->rights->fournisseur->commande
|
|||||||
print '</div><div class="fichetwothirdright"><div class="ficheaddleft">';
|
print '</div><div class="fichetwothirdright"><div class="ficheaddleft">';
|
||||||
|
|
||||||
|
|
||||||
$NBMAX=3;
|
|
||||||
$max=3;
|
$max=3;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -37,7 +37,7 @@ if ($conf->expensereport->enabled) require_once DOL_DOCUMENT_ROOT.'/expenserepor
|
|||||||
require_once DOL_DOCUMENT_ROOT.'/holiday/class/holiday.class.php';
|
require_once DOL_DOCUMENT_ROOT.'/holiday/class/holiday.class.php';
|
||||||
|
|
||||||
// Load translation files required by the page
|
// Load translation files required by the page
|
||||||
$langs->loadLangs(array('users', 'holidays', 'trips'));
|
$langs->loadLangs(array('users', 'holidays', 'trips', 'boxes'));
|
||||||
|
|
||||||
$socid=GETPOST("socid","int");
|
$socid=GETPOST("socid","int");
|
||||||
|
|
||||||
@ -49,6 +49,8 @@ if (empty($conf->global->MAIN_INFO_SOCIETE_NOM) || empty($conf->global->MAIN_INF
|
|||||||
$holiday = new Holiday($db);
|
$holiday = new Holiday($db);
|
||||||
$holidaystatic=new Holiday($db);
|
$holidaystatic=new Holiday($db);
|
||||||
|
|
||||||
|
$max=3;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -161,10 +163,6 @@ if (! empty($conf->holiday->enabled))
|
|||||||
|
|
||||||
print '</div><div class="fichetwothirdright"><div class="ficheaddleft">';
|
print '</div><div class="fichetwothirdright"><div class="ficheaddleft">';
|
||||||
|
|
||||||
$max=10;
|
|
||||||
|
|
||||||
$langs->load("boxes");
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// Latest leave requests
|
// Latest leave requests
|
||||||
|
|||||||
@ -45,6 +45,9 @@ if (!$user->rights->projet->lire) accessforbidden();
|
|||||||
$sortfield = GETPOST("sortfield",'alpha');
|
$sortfield = GETPOST("sortfield",'alpha');
|
||||||
$sortorder = GETPOST("sortorder",'alpha');
|
$sortorder = GETPOST("sortorder",'alpha');
|
||||||
|
|
||||||
|
$max=3;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* View
|
* View
|
||||||
@ -162,8 +165,6 @@ print_projecttasks_array($db, $form, $socid, $projectsListId, 0, 0, $listofoppst
|
|||||||
print '</div><div class="fichetwothirdright"><div class="ficheaddleft">';
|
print '</div><div class="fichetwothirdright"><div class="ficheaddleft">';
|
||||||
|
|
||||||
|
|
||||||
$max=5;
|
|
||||||
|
|
||||||
// Last modified projects
|
// Last modified projects
|
||||||
$sql = "SELECT p.rowid, p.ref, p.title, p.fk_statut, p.tms as datem,";
|
$sql = "SELECT p.rowid, p.ref, p.title, p.fk_statut, p.tms as datem,";
|
||||||
$sql.= " s.rowid as socid, s.nom as name, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.canvas";
|
$sql.= " s.rowid as socid, s.nom as name, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.canvas";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user