--- /tmp/dsg/dolibarr/htdocs/compta/facture/admin/github_facture_cust_extrafields.php
+++ /tmp/dsg/dolibarr/htdocs/compta/facture/admin/client_facture_cust_extrafields.php
@@ -40,7 +40,7 @@
$type2label = array('');
foreach ($tmptype2label as $key => $val) $type2label[$key] = $langs->transnoentitiesnoconv($val);
-$action = GETPOST('action', 'aZ09');
+$action = GETPOST('action', 'alpha');
$attrname = GETPOST('attrname', 'alpha');
$elementtype = 'facture'; //Must be the $table_element of the class that manage extrafield
@@ -69,19 +69,19 @@
$head = invoice_admin_prepare_head();
-print dol_get_fiche_head($head, 'attributes', $langs->trans("Invoices"), -1, 'invoice');
+dol_fiche_head($head, 'attributes', $langs->trans("Invoices"), -1, 'invoice');
require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_view.tpl.php';
-print dol_get_fiche_end();
+dol_fiche_end();
// Buttons
if ($action != 'create' && $action != 'edit')
{
- print '
";
+ print '";
}
@@ -94,9 +94,9 @@
if ($action == 'create')
{
print '
';
- print load_fiche_titre($langs->trans('NewAttribute'));
+ print load_fiche_titre($langs->trans('NewAttribute'));
- require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_add.tpl.php';
+ require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_add.tpl.php';
}
/*
@@ -109,9 +109,9 @@
$langs->load("members");
print "
";
- print load_fiche_titre($langs->trans("FieldEdition", $attrname));
+ print load_fiche_titre($langs->trans("FieldEdition", $attrname));
- require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_edit.tpl.php';
+ require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_edit.tpl.php';
}
// End of page
--- /tmp/dsg/dolibarr/htdocs/compta/facture/admin/github_facture_rec_cust_extrafields.php
+++ /tmp/dsg/dolibarr/htdocs/compta/facture/admin/client_facture_rec_cust_extrafields.php
@@ -41,7 +41,7 @@
$type2label = array('');
foreach ($tmptype2label as $key => $val) $type2label[$key] = $langs->transnoentitiesnoconv($val);
-$action = GETPOST('action', 'aZ09');
+$action = GETPOST('action', 'alpha');
$attrname = GETPOST('attrname', 'alpha');
$elementtype = 'facture_rec'; //Must be the $table_element of the class that manage extrafield
@@ -70,19 +70,19 @@
$head = invoice_admin_prepare_head();
-print dol_get_fiche_head($head, 'attributesrec', $langs->trans("Invoices"), -1, 'invoice');
+dol_fiche_head($head, 'attributesrec', $langs->trans("Invoices"), -1, 'invoice');
require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_view.tpl.php';
-print dol_get_fiche_end();
+dol_fiche_end();
// Buttons
if ($action != 'create' && $action != 'edit')
{
- print '";
+ print '";
}
@@ -95,9 +95,9 @@
if ($action == 'create')
{
print '
';
- print load_fiche_titre($langs->trans('NewAttribute'));
+ print load_fiche_titre($langs->trans('NewAttribute'));
- require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_add.tpl.php';
+ require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_add.tpl.php';
}
/*
@@ -110,9 +110,9 @@
$langs->load("members");
print "
";
- print load_fiche_titre($langs->trans("FieldEdition", $attrname));
+ print load_fiche_titre($langs->trans("FieldEdition", $attrname));
- require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_edit.tpl.php';
+ require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_edit.tpl.php';
}
// End of page
--- /tmp/dsg/dolibarr/htdocs/compta/facture/admin/github_facturedet_cust_extrafields.php
+++ /tmp/dsg/dolibarr/htdocs/compta/facture/admin/client_facturedet_cust_extrafields.php
@@ -41,7 +41,7 @@
$type2label = array('');
foreach ($tmptype2label as $key => $val) $type2label[$key] = $langs->transnoentitiesnoconv($val);
-$action = GETPOST('action', 'aZ09');
+$action = GETPOST('action', 'alpha');
$attrname = GETPOST('attrname', 'alpha');
$elementtype = 'facturedet'; //Must be the $table_element of the class that manage extrafield
@@ -70,19 +70,19 @@
$head = invoice_admin_prepare_head();
-print dol_get_fiche_head($head, 'attributeslines', $langs->trans("Invoices"), -1, 'invoice');
+dol_fiche_head($head, 'attributeslines', $langs->trans("Invoices"), -1, 'invoice');
require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_view.tpl.php';
-print dol_get_fiche_end();
+dol_fiche_end();
// Buttons
if ($action != 'create' && $action != 'edit')
{
- print '";
+ print '";
}
@@ -95,9 +95,9 @@
if ($action == 'create')
{
print '
';
- print load_fiche_titre($langs->trans('NewAttribute'));
+ print load_fiche_titre($langs->trans('NewAttribute'));
- require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_add.tpl.php';
+ require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_add.tpl.php';
}
/*
@@ -107,10 +107,10 @@
*/
if ($action == 'edit' && !empty($attrname))
{
- print "
";
- print load_fiche_titre($langs->trans("FieldEdition", $attrname));
+ print "
";
+ print load_fiche_titre($langs->trans("FieldEdition", $attrname));
- require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_edit.tpl.php';
+ require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_edit.tpl.php';
}
// End of page
--- /tmp/dsg/dolibarr/htdocs/compta/facture/admin/github_facturedet_rec_cust_extrafields.php
+++ /tmp/dsg/dolibarr/htdocs/compta/facture/admin/client_facturedet_rec_cust_extrafields.php
@@ -41,7 +41,7 @@
$type2label = array('');
foreach ($tmptype2label as $key => $val) $type2label[$key] = $langs->transnoentitiesnoconv($val);
-$action = GETPOST('action', 'aZ09');
+$action = GETPOST('action', 'alpha');
$attrname = GETPOST('attrname', 'alpha');
$elementtype = 'facturedet_rec'; //Must be the $table_element of the class that manage extrafield
@@ -70,19 +70,19 @@
$head = invoice_admin_prepare_head();
-print dol_get_fiche_head($head, 'attributeslinesrec', $langs->trans("Invoices"), -1, 'invoice');
+dol_fiche_head($head, 'attributeslinesrec', $langs->trans("Invoices"), -1, 'invoice');
require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_view.tpl.php';
-print dol_get_fiche_end();
+dol_fiche_end();
// Buttons
if ($action != 'create' && $action != 'edit')
{
- print '";
+ print '";
}
@@ -95,9 +95,9 @@
if ($action == 'create')
{
print '
';
- print load_fiche_titre($langs->trans('NewAttribute'));
+ print load_fiche_titre($langs->trans('NewAttribute'));
- require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_add.tpl.php';
+ require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_add.tpl.php';
}
/*
@@ -107,10 +107,10 @@
*/
if ($action == 'edit' && !empty($attrname))
{
- print "
";
- print load_fiche_titre($langs->trans("FieldEdition", $attrname));
+ print "
";
+ print load_fiche_titre($langs->trans("FieldEdition", $attrname));
- require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_edit.tpl.php';
+ require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_edit.tpl.php';
}
// End of page