6echo \Noalyss\Dbg::echo_var(1,
"MAX SIZE IS ".MAX_FILE_SIZE);
9<form method=
"post" enctype=
"multipart/form-data" onsubmit=
"return check_file_size(this,<?=MAX_FILE_SIZE?>)">
10<?php echo \HtmlInput::hidden(
"MAX_FILE_SIZE", MAX_FILE_SIZE);?>
14<
td><?php echo _(
"Nom du document")?></
td>
27<?php echo _(
"Catégorie de document")?>
35 $w->value=
$cn->make_array(
'select dt_id,dt_value from document_type order by dt_value');
44<?php echo _(
"Affectation")?>
50 $waffect->name=
'md_affect';
51 $waffect->value=
$cn->make_array(
"select dc_code,dc_comment from public.document_component order by dc_code");
53 $waffect->selected=
$doc->md_affect;
54 echo $waffect->input();
62<?php echo _(
"Fichier")?>
65 $href=http_build_query(array(
'gDossier'=>$dosid,
'md_id'=>
$doc->md_id,
'act'=>
'RAW:document_template'));
67 echo
'<A HREF="export.php?'.$href.
'">'.
'('._(
'fichier actuel').
')</a>';
73$file->setAlertOnSize(
true);
83<?php echo _(
"Dernier numéro utilisé pour ce type de document")?>
88 if (
$cn->exist_sequence(
"seq_doc_type_".$doc->md_type) )
90 $ret=
$cn->get_array(
"select last_value,is_called from seq_doc_type_".
$doc->md_type) ;
104<?php echo _(
"Redémarrer la séquence (laisser à 0 pour ne pas changer)")?>
118echo dossier::hidden();
tr($p_string, $p_extra='')
td($p_string='', $p_extra='')
surround the string with td
foreach($array as $idx=> $m) $w
if(! empty( $error)) for($i=0;$i< count($error);$i++)( $last !=$error[$i]) $last
Html Input for uploading file, must be in a form with enctype="multipart/form-data".
This class handles only the numeric input, the input will call a javascript to change comma to period...
Html Input , create a tag <SELECT> ... </SELECT> if readonly == true then display the label correspon...
static echo_file($msg, $print=true)
display the file