33require
'../main.inc.php';
34require_once DOL_DOCUMENT_ROOT.
'/core/lib/admin.lib.php';
45$langs->loadLangs(array(
'admin',
'exports',
'other'));
51$action =
GETPOST(
'action',
'aZ09');
58if ($action ==
'save') {
69$page_name =
"ExportSetup";
70llxHeader(
'', $langs->trans($page_name),
'',
'', 0, 0,
'',
'',
'',
'mod-admin page-export');
73$linkback =
'<a href="'.DOL_URL_ROOT.
'/admin/modules.php">'.$langs->trans(
"BackToModuleList").
'</a>';
80$head[$h][0] = DOL_URL_ROOT.
'/admin/export.php';
81$head[$h][1] = $langs->trans(
"Setup");
82$head[$h][2] =
'setup';
87print
'<form method="POST" action="'.$_SERVER[
'PHP_SELF'].
'">';
88print
'<input type="hidden" name="token" value="'.newToken().
'">';
89print
'<input type="hidden" name="action" value="save">';
91print
'<table class="noborder centpercent">';
93print
'<tr class="liste_titre">';
94print
'<td>'.$langs->trans(
"Parameters").
'</td>'.
"\n";
95print
'<td class="center" width="20"> </td>';
96print
'<td class="center" width="100"></td>'.
"\n";
108print
'<tr class="oddeven">';
109print
'<td>'.$langs->trans(
"ExportCsvSeparator").
'</td>';
110print
'<td width="60" align="center"><input class="flat width50" maxlength="3" type="text" name="EXPORT_CSV_SEPARATOR_TO_USE" value="'.(!
getDolGlobalString(
'EXPORT_CSV_SEPARATOR_TO_USE') ?
',' :
$conf->global->EXPORT_CSV_SEPARATOR_TO_USE).
'"></td>';
111print
'<td class="right"><input type="submit" class="button button-edit" value="'.$langs->trans(
"Modify").
'"></td>';
dolibarr_set_const($db, $name, $value, $type='chaine', $visible=0, $note='', $entity=1)
Insert a parameter (key,value) into database (delete old key then insert it again).
if(!defined('NOREQUIRESOC')) if(!defined( 'NOREQUIRETRAN')) if(!defined('NOTOKENRENEWAL')) if(!defined( 'NOREQUIREMENU')) if(!defined('NOREQUIREHTML')) if(!defined( 'NOREQUIREAJAX')) llxHeader($head='', $title='', $help_url='', $target='', $disablejs=0, $disablehead=0, $arrayofjs='', $arrayofcss='', $morequerystring='', $morecssonbody='', $replacemainareaby='', $disablenofollow=0, $disablenoindex=0)
Empty header.
load_fiche_titre($title, $morehtmlright='', $picto='generic', $pictoisfullpath=0, $id='', $morecssontable='', $morehtmlcenter='')
Load a title with picto.
dol_get_fiche_head($links=array(), $active='', $title='', $notab=0, $picto='', $pictoisfullpath=0, $morehtmlright='', $morecss='', $limittoshow=0, $moretabssuffix='', $dragdropfile=0)
Show tabs of a record.
dol_get_fiche_end($notab=0)
Return tab footer of a card.
GETPOST($paramname, $check='alphanohtml', $method=0, $filter=null, $options=null, $noreplace=0)
Return value of a param into GET or POST supervariable.
getDolGlobalString($key, $default='')
Return a Dolibarr global constant string value.
global $conf
The following vars must be defined: $type2label $form $conf, $lang, The following vars may also be de...
accessforbidden($message='', $printheader=1, $printfooter=1, $showonlymessage=0, $params=null)
Show a message to say access is forbidden and stop program.