32 require
'../main.inc.php';
33 require_once DOL_DOCUMENT_ROOT.
'/core/lib/admin.lib.php';
36 $langs->loadLangs(array(
'admin',
'exports',
'other'));
41 $action =
GETPOST(
'action',
'aZ09');
42 $value =
GETPOST(
'value',
'alpha');
48 include DOL_DOCUMENT_ROOT.
'/core/actions_setmoduleoptions.inc.php';
55 $form =
new Form($db);
57 $page_name =
"ImportSetup";
61 $linkback =
'<a href="'.DOL_URL_ROOT.
'/admin/modules.php">'.$langs->trans(
"BackToModuleList").
'</a>';
68 $head[$h][0] = DOL_URL_ROOT.
'/admin/import.php';
69 $head[$h][1] = $langs->trans(
"Setup");
70 $head[$h][2] =
'setup';
75 print '<form method="POST" action="'.$_SERVER[
'PHP_SELF'].
'">';
76 print '<input type="hidden" name="token" value="'.newToken().
'">';
77 print '<input type="hidden" name="action" value="setModuleOptions">';
78 print '<input type="hidden" name="param" value="IMPORT_CSV_SEPARATOR_TO_USE">';
80 print '<table class="noborder centpercent">';
81 print '<tr class="liste_titre">';
82 print '<td>'.$langs->trans(
"Parameters").
'</td>'.
"\n";
83 print '<td class="center" width="20"> </td>';
84 print '<td class="center" width="100"></td>'.
"\n";
86 print '<tr class="oddeven">';
87 print '<td>'.$langs->trans(
"ImportCsvSeparator").
' ('.$langs->trans(
"ByDefault").
')</td>';
88 print '<td width="60" align="center">'.
"<input size=\"3\" class=\"flat\" type=\"text\" name=\"value\" value=\"".(empty($conf->global->IMPORT_CSV_SEPARATOR_TO_USE) ?
',' : $conf->global->IMPORT_CSV_SEPARATOR_TO_USE).
"\"></td>";
89 print '<td class="right"><input type="submit" class="button" value="'.$langs->trans(
"Modify").
'"></td>';
GETPOST($paramname, $check= 'alphanohtml', $method=0, $filter=null, $options=null, $noreplace=0)
Return value of a param into GET or POST supervariable.
load_fiche_titre($titre, $morehtmlright= '', $picto= 'generic', $pictoisfullpath=0, $id= '', $morecssontable= '', $morehtmlcenter= '')
Load a title with picto.
accessforbidden($message= '', $printheader=1, $printfooter=1, $showonlymessage=0, $params=null)
Show a message to say access is forbidden and stop program Calling this function terminate execution ...
dol_get_fiche_head($links=array(), $active= '', $title= '', $notab=0, $picto= '', $pictoisfullpath=0, $morehtmlright= '', $morecss= '', $limittoshow=0, $moretabssuffix= '')
Show tabs of a record.
print
Draft customers invoices.
dol_get_fiche_end($notab=0)
Return tab footer of a card.