diff --git a/htdocs/admin/stocktransfer.php b/htdocs/admin/stocktransfer.php index e0ce72eeb25..541947bf442 100644 --- a/htdocs/admin/stocktransfer.php +++ b/htdocs/admin/stocktransfer.php @@ -174,10 +174,10 @@ print load_fiche_titre($langs->trans($page_name), $linkback, 'stock'); // Configuration header $head = stocktransferAdminPrepareHead(); -dol_fiche_head($head, 'settings', '', -1, "stocktransfer@stocktransfer"); +print dol_get_fiche_head($head, 'settings', '', -1, "stocktransfer@stocktransfer"); // Setup page goes here -echo ''.$langs->trans("StockTransferSetupPage").''; +print ''.$langs->trans("StockTransferSetupPage").''; /*if ($action == 'edit') @@ -478,7 +478,7 @@ if (empty($setupnotempty)) { } // Page end -dol_fiche_end(); +print dol_get_fiche_end(); llxFooter(); $db->close(); diff --git a/htdocs/product/stock/stocktransfer/stocktransfer_agenda.php b/htdocs/product/stock/stocktransfer/stocktransfer_agenda.php index ccbdf12e712..f649e46cc27 100644 --- a/htdocs/product/stock/stocktransfer/stocktransfer_agenda.php +++ b/htdocs/product/stock/stocktransfer/stocktransfer_agenda.php @@ -134,7 +134,7 @@ if ($object->id > 0) { $head = stocktransferPrepareHead($object); - dol_fiche_head($head, 'agenda', $langs->trans("StockTransfer"), -1, $object->picto); + print dol_get_fiche_head($head, 'agenda', $langs->trans("StockTransfer"), -1, $object->picto); // Object card // ------------------------------------------------------------ @@ -191,7 +191,7 @@ if ($object->id > 0) { print ''; - dol_fiche_end(); + print dol_get_fiche_end(); diff --git a/htdocs/product/stock/stocktransfer/stocktransfer_card.php b/htdocs/product/stock/stocktransfer/stocktransfer_card.php index 84e87dd32f1..0c97674191e 100644 --- a/htdocs/product/stock/stocktransfer/stocktransfer_card.php +++ b/htdocs/product/stock/stocktransfer/stocktransfer_card.php @@ -422,7 +422,7 @@ if ($action == 'create') { if ($backtopage) print ''; if ($backtopageforcancel) print ''; - dol_fiche_head(array(), ''); + print dol_get_fiche_head(array(), ''); // Set some default values //if (! GETPOSTISSET('fieldname')) $_POST['fieldname'] = 'myvalue'; @@ -454,7 +454,7 @@ if ($action == 'create') { print ''."\n"; - dol_fiche_end(); + print dol_get_fiche_end(); print '
'; print ''; @@ -479,7 +479,7 @@ if (($id || $ref) && $action == 'edit') { if ($backtopage) print ''; if ($backtopageforcancel) print ''; - dol_fiche_head(); + print dol_get_fiche_head(); print '' . "\n"; @@ -491,7 +491,7 @@ if (($id || $ref) && $action == 'edit') { print '
'; - dol_fiche_end(); + print dol_get_fiche_end(); print '
'; print '   '; @@ -506,7 +506,7 @@ if ($object->id > 0 && (empty($action) || ($action != 'edit' && $action != 'crea $res = $object->fetch_optionals(); $head = stocktransferPrepareHead($object); - dol_fiche_head($head, 'card', $langs->trans("StockTransfer"), -1, $object->picto); + print dol_get_fiche_head($head, 'card', $langs->trans("StockTransfer"), -1, $object->picto); $formconfirm = ''; @@ -675,7 +675,7 @@ if ($object->id > 0 && (empty($action) || ($action != 'edit' && $action != 'crea print '
'; - dol_fiche_end(); + print dol_get_fiche_end(); /* diff --git a/htdocs/product/stock/stocktransfer/stocktransfer_contact.php b/htdocs/product/stock/stocktransfer/stocktransfer_contact.php index 97ac4c28a73..d2cb095932b 100644 --- a/htdocs/product/stock/stocktransfer/stocktransfer_contact.php +++ b/htdocs/product/stock/stocktransfer/stocktransfer_contact.php @@ -126,7 +126,7 @@ $formother = new FormOther($db); if ($object->id > 0) { $head = stocktransferPrepareHead($object); - dol_fiche_head($head, 'contact', $langs->trans("StockTransfer"), -1, 'stock'); + print dol_get_fiche_head($head, 'contact', $langs->trans("StockTransfer"), -1, 'stock'); // Proposal card @@ -178,7 +178,7 @@ if ($object->id > 0) { dol_banner_tab($object, 'ref', $linkback, 1, 'ref', 'ref', $morehtmlref, '', 0, '', '', 1); - dol_fiche_end(); + print dol_get_fiche_end(); $user->rights->stocktransfer->write = $user->rights->stocktransfer->stocktransfer->write; // Contacts lines (modules that overwrite templates must declare this into descriptor) diff --git a/htdocs/product/stock/stocktransfer/stocktransfer_document.php b/htdocs/product/stock/stocktransfer/stocktransfer_document.php index 4fba0c3fea5..ab4b45b6864 100644 --- a/htdocs/product/stock/stocktransfer/stocktransfer_document.php +++ b/htdocs/product/stock/stocktransfer/stocktransfer_document.php @@ -114,7 +114,7 @@ if ($object->id) { */ $head = stocktransferPrepareHead($object); - dol_fiche_head($head, 'document', $langs->trans("StockTransfer"), -1, $object->picto); + print dol_get_fiche_head($head, 'document', $langs->trans("StockTransfer"), -1, $object->picto); // Build file list @@ -185,7 +185,7 @@ if ($object->id) { print '
'; - dol_fiche_end(); + print dol_get_fiche_end(); $modulepart = 'stocktransfer'; //$permission = $user->rights->stocktransfer->stocktransfer->write; diff --git a/htdocs/product/stock/stocktransfer/stocktransfer_note.php b/htdocs/product/stock/stocktransfer/stocktransfer_note.php index 51ad1c32df3..41842d07ee5 100644 --- a/htdocs/product/stock/stocktransfer/stocktransfer_note.php +++ b/htdocs/product/stock/stocktransfer/stocktransfer_note.php @@ -95,7 +95,7 @@ if ($id > 0 || !empty($ref)) { $head = stocktransferPrepareHead($object); - dol_fiche_head($head, 'note', $langs->trans("StockTransfer"), -1, $object->picto); + print dol_get_fiche_head($head, 'note', $langs->trans("StockTransfer"), -1, $object->picto); // Object card // ------------------------------------------------------------ @@ -139,7 +139,7 @@ if ($id > 0 || !empty($ref)) { } } }*/ - $morehtmlref .= '
'; + $morehtmlref .= ''; dol_banner_tab($object, 'ref', $linkback, 1, 'ref', 'ref', $morehtmlref); @@ -154,7 +154,7 @@ if ($id > 0 || !empty($ref)) { print ''; - dol_fiche_end(); + print dol_get_fiche_end(); } // End of page