$text->set_br(0); $myForm->add_text($text); $myForm->add_select($mySelect); $text = new CHAW_text(''); $text->set_br(0); $myForm->add_text($text); $theSubmission = new CHAW_submit('Salva', 'camila_save'); $myForm->add_submit($theSubmission); $_CAMILA['page']->add_form($myForm); } elseif ($_REQUEST['camila_export_action'] != '' && $_REQUEST['camila_export_action'] != 'download') { if (!$_CAMILA['page']->camila_export_file_exists || $_REQUEST['camila_export_overwrite'] == 'y') { if (CAMILA_FM_EXTFS_ENABLED) { require_once 'fs.class.php'; global $_CAMILA; $fs = new fs($_CAMILA['adm_user_group']); $fs->_addfile($_CAMILA['adm_user_group'], $_REQUEST['camila_export_action'], substr($_CAMILA['camila_export_last_filename'], 0, -CAMILA_FM_PREFIX), $_CAMILA['camila_export_last_filename']); } if ($_REQUEST['camila_export_action'] == 'sendmail') { $_CAMILA['page'] = new CHAW_deck(camila_get_translation('camila.export.sendmail.ok'), HAW_ALIGN_LEFT, HAW_OUTPUT_AUTOMATIC); } else { $_CAMILA['page'] = new CHAW_deck(camila_get_translation('camila.fm.filecreated'), HAW_ALIGN_LEFT, HAW_OUTPUT_AUTOMATIC); } $myImage1 = new HAW_image(CAMILA_IMG_DIR . 'wbmp/accept.wbmp', CAMILA_IMG_DIR . 'png/accept.png', '-'); $myImage1->set_br(0); $_CAMILA['page']->add_image($myImage1); if ($_REQUEST['camila_export_action'] == 'sendmail') { $export_deck_title = new CHAW_text(' ' . camila_get_translation('camila.export.sendmail.ok')); } else { $export_deck_title = new CHAW_text(' ' . camila_get_translation('camila.fm.filecreated')); } $export_deck_title->set_br(2);