load(); echo HtmlInput::anchor_close('mod_predf_op'); echo h2(_('Modification du nom'),' class="title"'); echo '
'; $name = new IText('opd_name'); $name->value = $op->od_name; $name->size = 60; echo "Nom =" . $name->input(); $opd_description=new ITextarea('od_description'); $opd_description->style=' class="itextarea" style="width:30em;height:4em;vertical-align:top"'; $opd_description->value=$op->od_description; echo '

'; echo _("Description (max 50 car.)"); echo $opd_description->input(); echo '

'; echo dossier::hidden() . HtmlInput::hidden('od_id', $_GET['id']); echo "
"; ////////////////////////////////////////////////////////////////////////////// // Detail operation ////////////////////////////////////////////////////////////////////////////// echo $op->display(); echo HtmlInput::submit('save', _('Sauve')); echo HtmlInput::button('close', _('Annuler'), 'onclick="removeDiv(\'mod_predf_op\')"'); echo '
'; $html1 = ob_get_contents(); ob_end_clean(); $html = escape_xml($html1); if (headers_sent() ) { echo $html1; } else { header('Content-type: text/xml; charset=UTF-8'); } echo << mod_predf_op $html EOF;