33require
'../main.inc.php';
34require_once DOL_DOCUMENT_ROOT.
'/core/lib/admin.lib.php';
37$langs->loadLangs(array(
'admin',
'exports',
'other'));
43$action =
GETPOST(
'action',
'aZ09');
44$value =
GETPOST(
'value',
'alpha');
45$modulepart =
GETPOST(
'modulepart',
'aZ09');
52include DOL_DOCUMENT_ROOT.
'/core/actions_setmoduleoptions.inc.php';
61$page_name =
"ImportSetup";
62llxHeader(
'', $langs->trans($page_name),
'',
'', 0, 0,
'',
'',
'',
'mod-admin page-import');
65$linkback =
'<a href="'.DOL_URL_ROOT.
'/admin/modules.php">'.$langs->trans(
"BackToModuleList").
'</a>';
72$head[$h][0] = DOL_URL_ROOT.
'/admin/import.php';
73$head[$h][1] = $langs->trans(
"Setup");
74$head[$h][2] =
'setup';
79print
'<form method="POST" action="'.$_SERVER[
'PHP_SELF'].
'">';
80print
'<input type="hidden" name="token" value="'.newToken().
'">';
81print
'<input type="hidden" name="page_y" value="">';
82print
'<input type="hidden" name="action" value="setModuleOptions">';
83print
'<input type="hidden" name="param" value="IMPORT_CSV_SEPARATOR_TO_USE">';
85print
'<table class="noborder centpercent">';
86print
'<tr class="liste_titre">';
87print
'<td>'.$langs->trans(
"Parameters").
'</td>'.
"\n";
88print
'<td class="center" width="20"> </td>';
89print
'<td class="center" width="100"></td>'.
"\n";
91print
'<tr class="oddeven">';
92print
'<td>'.$langs->trans(
"ImportCsvSeparator").
' ('.$langs->trans(
"ByDefault").
')</td>';
93print
'<td width="60" align="center">'.
"<input size=\"3\" class=\"flat\" type=\"text\" name=\"value\" value=\"".(!
getDolGlobalString(
'IMPORT_CSV_SEPARATOR_TO_USE') ?
',' : $conf->global->IMPORT_CSV_SEPARATOR_TO_USE).
"\"></td>";
94print
'<td class="right"><input type="submit" class="button button-edit reposition" value="'.$langs->trans(
"Modify").
'"></td>';
if(!defined('NOREQUIRESOC')) if(!defined( 'NOREQUIRETRAN')) if(!defined('NOTOKENRENEWAL')) if(!defined( 'NOREQUIREMENU')) if(!defined('NOREQUIREHTML')) if(!defined( 'NOREQUIREAJAX')) llxHeader()
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 dolibarr global constant string value.
accessforbidden($message='', $printheader=1, $printfooter=1, $showonlymessage=0, $params=null)
Show a message to say access is forbidden and stop program.