lcm_page_start(_T('title_rep_edit') . " " . _session('title'), '', '', 'reports_intro'); } else { lcm_page_start(_T('title_rep_new'), '', '', 'reports_intro'); } echo show_all_errors(); if ($_SESSION['form_data']['filecustom']) { include_custom_report($_SESSION['form_data']['filecustom']); $rep_specs = new CustomReportSpecs(); echo '<p class="normal_text">'; if (_session('id_report')) { echo "This report is using the custom report in '" . $_SESSION['form_data']['filecustom'] . "'"; } else { echo "This report will use the custom report in '" . $_SESSION['form_data']['filecustom'] . "'"; } // TRAD echo ": " . $rep_specs->getDescription() . "</p>\n"; } echo "<fieldset class=\"info_box\">\n"; echo "<form action='upd_rep.php' method='post'>\n"; if ($_SESSION['form_data']['filecustom']) { echo '<input type="hidden" name="filecustom" value="' . $_SESSION['form_data']['filecustom'] . '" />' . "\n"; } if ($_SESSION['form_data']['id_report']) { echo "<strong>" . _Ti('rep_input_id') . "</strong> " . $_SESSION['form_data']['id_report'] . "\n\t\t<input type=\"hidden\" name=\"id_report\" value=\"" . $_SESSION['form_data']['id_report'] . "\">\n"; // [ML] echo " | \n"; } // Title of report echo "<p>" . f_err_star('title') . "<strong>" . _Ti('rep_input_title') . "</strong><br />"; echo '<input name="title" value="' . clean_output($_SESSION['form_data']['title']) . '" class="search_form_txt"></p>' . "\n"; // Description echo '<p>' . "<strong>" . _Ti('rep_input_description') . "</strong><br />\n";