Look and feel v12

This commit is contained in:
Laurent Destailleur 2020-04-12 18:36:22 +02:00
parent d47c566c4d
commit 239ae78b28
2 changed files with 5 additions and 3 deletions

View File

@ -266,7 +266,7 @@ $formfile = new FormFile($db);
if ($action == 'create')
{
print load_fiche_titre($langs->trans("NewGroup"));
print load_fiche_titre($langs->trans("NewGroup"), '', 'object_group');
print dol_set_focus('#nom');
@ -404,6 +404,7 @@ else
/*
* Barre d'actions
*/
print '<div class="tabsAction">';
if ($caneditperms)
@ -512,6 +513,7 @@ else
/*
* Documents generes
*/
$filename = dol_sanitizeFileName($object->ref);
$filedir = $conf->usergroup->dir_output."/".dol_sanitizeFileName($object->ref);
$urlsource = $_SERVER["PHP_SELF"]."?id=".$object->id;
@ -531,13 +533,13 @@ else
$formactions = new FormActions($db);
$somethingshown = $formactions->showactions($object, 'usergroup', $socid, 1);*/
print '</div></div></div>';
}
/*
* Fiche en mode edition
*/
if ($action == 'edit' && $caneditperms)
{
print '<form action="'.$_SERVER['PHP_SELF'].'?id='.$object->id.'" method="post" name="updategroup" enctype="multipart/form-data">';

View File

@ -155,7 +155,7 @@ if ($resql)
print '<input type="hidden" name="mode" value="'.$mode.'">';
print '<input type="hidden" name="contextpage" value="'.$contextpage.'">';
print_barre_liste($text, $page, $_SERVER["PHP_SELF"], $param, $sortfield, $sortorder, "", $num, $nbtotalofrecords, 'generic', 0, $newcardbutton, '', $limit, 0, 0, 1);
print_barre_liste($text, $page, $_SERVER["PHP_SELF"], $param, $sortfield, $sortorder, "", $num, $nbtotalofrecords, 'object_group', 0, $newcardbutton, '', $limit, 0, 0, 1);
if ($sall)
{