fix standard prepare_head
This commit is contained in:
parent
8779d3043f
commit
65c69c4564
@ -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');
|
||||
|
||||
|
||||
@ -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');
|
||||
|
||||
|
||||
@ -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');
|
||||
|
||||
|
||||
@ -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 = '';
|
||||
|
||||
@ -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');
|
||||
|
||||
|
||||
@ -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');
|
||||
|
||||
|
||||
@ -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');
|
||||
|
||||
|
||||
@ -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;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user