Merge pull request #16656 from frederic34/patch-11
remove dol_buildpath
This commit is contained in:
commit
21400b96fa
@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
/* Copyright (C) 2019 Maxime Kohlhaas <maxime@atm-consulting.fr>
|
/* Copyright (C) 2019 Maxime Kohlhaas <maxime@atm-consulting.fr>
|
||||||
* Copyright (C) 2019 Frédéric France <frederic.france@netlogic.fr>
|
* Copyright (C) 2019-2021 Frédéric France <frederic.france@netlogic.fr>
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
@ -41,17 +41,11 @@ function bomAdminPrepareHead()
|
|||||||
$head[$h][2] = 'settings';
|
$head[$h][2] = 'settings';
|
||||||
$h++;
|
$h++;
|
||||||
|
|
||||||
$head[$h][0] = dol_buildpath("/admin/bom_extrafields.php", 1);
|
$head[$h][0] = DOL_URL_ROOT."/admin/bom_extrafields.php";
|
||||||
$head[$h][1] = $langs->trans("ExtraFields");
|
$head[$h][1] = $langs->trans("ExtraFields");
|
||||||
$head[$h][2] = 'bom_extrafields';
|
$head[$h][2] = 'bom_extrafields';
|
||||||
$h++;
|
$h++;
|
||||||
|
|
||||||
/*$head[$h][0] = DOL_URL_ROOT."/bom/admin/about.php";
|
|
||||||
$head[$h][1] = $langs->trans("About");
|
|
||||||
$head[$h][2] = 'about';
|
|
||||||
$h++;
|
|
||||||
*/
|
|
||||||
|
|
||||||
// Show more tabs from modules
|
// Show more tabs from modules
|
||||||
// Entries must be declared in modules descriptor with line
|
// Entries must be declared in modules descriptor with line
|
||||||
//$this->tabs = array(
|
//$this->tabs = array(
|
||||||
|
|||||||
@ -34,12 +34,12 @@ function cronadmin_prepare_head()
|
|||||||
$h = 0;
|
$h = 0;
|
||||||
$head = array();
|
$head = array();
|
||||||
|
|
||||||
$head[$h][0] = dol_buildpath('/cron/admin/cron.php', 1);
|
$head[$h][0] = DOL_URL_ROOT.'/cron/admin/cron.php';
|
||||||
$head[$h][1] = $langs->trans("Miscellaneous");
|
$head[$h][1] = $langs->trans("Miscellaneous");
|
||||||
$head[$h][2] = 'setup';
|
$head[$h][2] = 'setup';
|
||||||
$h++;
|
$h++;
|
||||||
|
|
||||||
$head[$h][0] = dol_buildpath('/cron/list.php?mode=modulesetup', 1);
|
$head[$h][0] = DOL_URL_ROOT.'/cron/list.php?mode=modulesetup';
|
||||||
$head[$h][1] = $langs->trans("Module2300Name");
|
$head[$h][1] = $langs->trans("Module2300Name");
|
||||||
$head[$h][2] = 'jobs';
|
$head[$h][2] = 'jobs';
|
||||||
$h++;
|
$h++;
|
||||||
@ -64,12 +64,12 @@ function cron_prepare_head(Cronjob $object)
|
|||||||
$h = 0;
|
$h = 0;
|
||||||
$head = array();
|
$head = array();
|
||||||
|
|
||||||
$head[$h][0] = dol_buildpath('/cron/card.php', 1).'?id='.$object->id;
|
$head[$h][0] = DOL_URL_ROOT.'/cron/card.php?id='.$object->id;
|
||||||
$head[$h][1] = $langs->trans("CronTask");
|
$head[$h][1] = $langs->trans("CronTask");
|
||||||
$head[$h][2] = 'card';
|
$head[$h][2] = 'card';
|
||||||
$h++;
|
$h++;
|
||||||
|
|
||||||
$head[$h][0] = dol_buildpath('/cron/info.php', 1).'?id='.$object->id;
|
$head[$h][0] = DOL_URL_ROOT.'/cron/info.php?id='.$object->id;
|
||||||
$head[$h][1] = $langs->trans("Info");
|
$head[$h][1] = $langs->trans("Info");
|
||||||
$head[$h][2] = 'info';
|
$head[$h][2] = 'info';
|
||||||
$h++;
|
$h++;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user