FIX replace deprecated "print_titre" with "load_fiche_titre"
Signed-off-by: Regis Houssin <regis.houssin@inodbox.com>
This commit is contained in:
parent
8f4c452075
commit
1a15698f96
@ -253,7 +253,7 @@ dol_fiche_end();
|
|||||||
* Projects Numbering model
|
* Projects Numbering model
|
||||||
*/
|
*/
|
||||||
|
|
||||||
print_titre($langs->trans("TicketNumberingModules"));
|
print load_fiche_titre($langs->trans("TicketNumberingModules"));
|
||||||
|
|
||||||
print '<table class="noborder" width="100%">';
|
print '<table class="noborder" width="100%">';
|
||||||
print '<tr class="liste_titre">';
|
print '<tr class="liste_titre">';
|
||||||
@ -353,7 +353,7 @@ if (!$conf->use_javascript_ajax) {
|
|||||||
print '<input type="hidden" name="token" value="' . $_SESSION['newtoken'] . '">';
|
print '<input type="hidden" name="token" value="' . $_SESSION['newtoken'] . '">';
|
||||||
print '<input type="hidden" name="action" value="setvarother">';
|
print '<input type="hidden" name="action" value="setvarother">';
|
||||||
}
|
}
|
||||||
print_titre($langs->trans("TicketParamPublicInterface"));
|
print load_fiche_titre($langs->trans("TicketParamPublicInterface"));
|
||||||
|
|
||||||
print '<table class="noborder" width="100%">';
|
print '<table class="noborder" width="100%">';
|
||||||
|
|
||||||
@ -422,7 +422,7 @@ print '</tr>';
|
|||||||
|
|
||||||
print '</table><br>';
|
print '</table><br>';
|
||||||
|
|
||||||
print_titre($langs->trans("TicketParams"));
|
print load_fiche_titre($langs->trans("TicketParams"));
|
||||||
print '<table class="noborder" width="100%">';
|
print '<table class="noborder" width="100%">';
|
||||||
|
|
||||||
// Activate email notifications
|
// Activate email notifications
|
||||||
@ -515,7 +515,7 @@ if (!$conf->use_javascript_ajax) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Admin var of module
|
// Admin var of module
|
||||||
print_titre($langs->trans("TicketParamMail"));
|
print load_fiche_titre($langs->trans("TicketParamMail"));
|
||||||
|
|
||||||
print '<table class="noborder" width="100%">';
|
print '<table class="noborder" width="100%">';
|
||||||
|
|
||||||
|
|||||||
@ -92,7 +92,7 @@ if ($action != 'create' && $action != 'edit') {
|
|||||||
|
|
||||||
if ($action == 'create') {
|
if ($action == 'create') {
|
||||||
print "<br>";
|
print "<br>";
|
||||||
print_titre($langs->trans('NewAttribute'));
|
print load_fiche_titre($langs->trans('NewAttribute'));
|
||||||
|
|
||||||
include DOL_DOCUMENT_ROOT . '/core/tpl/admin_extrafields_add.tpl.php';
|
include DOL_DOCUMENT_ROOT . '/core/tpl/admin_extrafields_add.tpl.php';
|
||||||
}
|
}
|
||||||
@ -104,7 +104,7 @@ if ($action == 'create') {
|
|||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
if ($action == 'edit' && !empty($attrname)) {
|
if ($action == 'edit' && !empty($attrname)) {
|
||||||
print "<br>";
|
print "<br>";
|
||||||
print_titre($langs->trans("FieldEdition", $attrname));
|
print load_fiche_titre($langs->trans("FieldEdition", $attrname));
|
||||||
|
|
||||||
include DOL_DOCUMENT_ROOT . '/core/tpl/admin_extrafields_edit.tpl.php';
|
include DOL_DOCUMENT_ROOT . '/core/tpl/admin_extrafields_edit.tpl.php';
|
||||||
}
|
}
|
||||||
|
|||||||
@ -520,7 +520,7 @@ print '<script type="text/javascript" language="javascript">
|
|||||||
|
|
||||||
print '<form action="' . $_SERVER['PHP_SELF'] . '?action=clear&id=' . $object->id . '" method="POST">';
|
print '<form action="' . $_SERVER['PHP_SELF'] . '?action=clear&id=' . $object->id . '" method="POST">';
|
||||||
print '<input type="hidden" name="token" value="' . $_SESSION['newtoken'] . '">';
|
print '<input type="hidden" name="token" value="' . $_SESSION['newtoken'] . '">';
|
||||||
print_titre($langs->trans("ToClearAllRecipientsClickHere"));
|
print load_fiche_titre($langs->trans("ToClearAllRecipientsClickHere"));
|
||||||
print '<table class="noborder" width="100%">';
|
print '<table class="noborder" width="100%">';
|
||||||
print '<tr class="liste_titre">';
|
print '<tr class="liste_titre">';
|
||||||
print '<td class="liste_titre" align="right"><input type="submit" class="button" value="' . $langs->trans("TargetsReset") . '"></td>';
|
print '<td class="liste_titre" align="right"><input type="submit" class="button" value="' . $langs->trans("TargetsReset") . '"></td>';
|
||||||
|
|||||||
@ -949,7 +949,7 @@ if (! $variants) {
|
|||||||
|
|
||||||
if (!empty($conf->global->STOCK_ALLOW_ADD_LIMIT_STOCK_BY_WAREHOUSE)) {
|
if (!empty($conf->global->STOCK_ALLOW_ADD_LIMIT_STOCK_BY_WAREHOUSE)) {
|
||||||
print '<br><br>';
|
print '<br><br>';
|
||||||
print_titre($langs->trans('AddNewProductStockWarehouse'));
|
print load_fiche_titre($langs->trans('AddNewProductStockWarehouse'));
|
||||||
|
|
||||||
if (!empty($user->rights->produit->creer)) {
|
if (!empty($user->rights->produit->creer)) {
|
||||||
print '<form action="' . $_SERVER["PHP_SELF"] . '" method="POST">';
|
print '<form action="' . $_SERVER["PHP_SELF"] . '" method="POST">';
|
||||||
|
|||||||
@ -1212,7 +1212,7 @@ class ActionsTicket
|
|||||||
$this->viewTicketOriginalMessage($user, $action);
|
$this->viewTicketOriginalMessage($user, $action);
|
||||||
|
|
||||||
if (is_array($this->dao->cache_msgs_ticket) && count($this->dao->cache_msgs_ticket) > 0) {
|
if (is_array($this->dao->cache_msgs_ticket) && count($this->dao->cache_msgs_ticket) > 0) {
|
||||||
print_titre($langs->trans('TicketMailExchanges'));
|
print load_fiche_titre($langs->trans('TicketMailExchanges'));
|
||||||
|
|
||||||
print '<table class="border" style="width:100%;">';
|
print '<table class="border" style="width:100%;">';
|
||||||
|
|
||||||
|
|||||||
@ -32,7 +32,7 @@ $langs = $GLOBALS['langs'];
|
|||||||
$langs->load('ticket');
|
$langs->load('ticket');
|
||||||
$linkedObjectBlock = $GLOBALS['linkedObjectBlock'];
|
$linkedObjectBlock = $GLOBALS['linkedObjectBlock'];
|
||||||
echo '<br>';
|
echo '<br>';
|
||||||
print_titre($langs->trans('RelatedTickets'));
|
print load_fiche_titre($langs->trans('RelatedTickets'));
|
||||||
?>
|
?>
|
||||||
<table class="noborder" width="100%">
|
<table class="noborder" width="100%">
|
||||||
<tr class="liste_titre">
|
<tr class="liste_titre">
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user