fix standard prepare_head

This commit is contained in:
Frédéric FRANCE 2018-10-14 10:57:27 +02:00
parent 8779d3043f
commit 65c69c4564
No known key found for this signature in database
GPG Key ID: 06809324E4B2ABC1
8 changed files with 9 additions and 9 deletions

View File

@ -64,7 +64,7 @@ $linkback='<a href="'.DOL_URL_ROOT.'/admin/modules.php">'.$langs->trans("BackToM
print load_fiche_titre($langs->trans("AssetsSetup"),$linkback,'title_setup');
$head = AssetsAdminPrepareHead();
$head = asset_admin_prepare_head();
dol_fiche_head($head, 'attributes', $langs->trans("Assets"), -1, 'generic');

View File

@ -63,7 +63,7 @@ $linkback='<a href="'.DOL_URL_ROOT.'/admin/modules.php">'.$langs->trans("BackToM
print load_fiche_titre($langs->trans("AssetsSetup"),$linkback,'title_setup');
$head = AssetsAdminPrepareHead();
$head = asset_admin_prepare_head();
dol_fiche_head($head, 'attributes_type', $langs->trans("Assets"), -1, 'generic');

View File

@ -58,7 +58,7 @@ $linkback='<a href="'.DOL_URL_ROOT.'/admin/modules.php">'.$langs->trans("BackToM
print load_fiche_titre($langs->trans("AssetsSetup"),$linkback,'title_setup');
$head = AssetsAdminPrepareHead();
$head = asset_admin_prepare_head();
dol_fiche_head($head, 'settings', $langs->trans("Assets"), -1, 'generic');

View File

@ -203,7 +203,7 @@ if ($object->id > 0 && (empty($action) || ($action != 'edit' && $action != 'crea
{
$res = $object->fetch_optionals($object->id, $extralabels);
$head = AssetsPrepareHead($object);
$head = asset_prepare_head($object);
dol_fiche_head($head, 'card', $langs->trans("Asset"), -1, 'generic');
$formconfirm = '';

View File

@ -95,7 +95,7 @@ if ($object->id)
* Show tabs
*/
if (! empty($conf->notification->enabled)) $langs->load("mails");
$head = AssetsPrepareHead($object);
$head = asset_prepare_head($object);
dol_fiche_head($head, 'document', $langs->trans("Asset"), -1, 'generic');

View File

@ -55,7 +55,7 @@ $form = new Form($db);
$object->info($id);
$head = AssetsPrepareHead($object);
$head = asset_prepare_head($object);
dol_fiche_head($head, 'info', $langs->trans("Asset"), -1, 'generic');

View File

@ -78,7 +78,7 @@ if ($id > 0 || ! empty($ref))
{
$object->fetch_thirdparty();
$head = AssetsPrepareHead($object);
$head = asset_prepare_head($object);
dol_fiche_head($head, 'note', $langs->trans("Asset"), -1, 'generic');

View File

@ -26,7 +26,7 @@
*
* @return array head array with tabs
*/
function AssetsAdminPrepareHead()
function asset_admin_prepare_head()
{
global $langs, $conf;
@ -70,7 +70,7 @@ function AssetsAdminPrepareHead()
*
* @return array head array with tabs
*/
function AssetsPrepareHead()
function asset_prepare_head()
{
global $langs, $conf;