/** * Prints Html For Display Import options : Format * * @param ImportPlugin[] $import_list import list * * @return string */ function PMA_getHtmlForImportOptionsFormat($import_list) { $html = ' <div class="importoptions">'; $html .= ' <h3>' . __('Format:') . '</h3>'; $html .= PMA_pluginGetChoice('Import', 'format', $import_list); $html .= ' <div id="import_notification"></div>'; $html .= ' </div>'; $html .= ' <div class="importoptions" id="format_specific_opts">'; $html .= ' <h3>' . __('Format-specific options:') . '</h3>'; $html .= ' <p class="no_js_msg" id="scroll_to_options_msg">' . 'Scroll down to fill in the options for the selected format ' . 'and ignore the options for other formats.</p>'; $html .= PMA_pluginGetOptions('Import', $import_list); $html .= ' </div>'; $html .= ' <div class="clearfloat"></div>'; // Encoding setting form appended by Y.Kawada if (function_exists('PMA_Kanji_encodingForm')) { $html .= ' <div class="importoptions" id="kanji_encoding">'; $html .= ' <h3>' . __('Encoding Conversion:') . '</h3>'; $html .= PMA_Kanji_encodingForm(); $html .= ' </div>'; } $html .= "\n"; return $html; }
<legend><?php echo $strExport; ?> </legend> <?php if (!empty($multi_values)) { ?> <div class="formelementrow"> <?php echo $multi_values; ?> </div> <?php } echo PMA_pluginGetChoice('Export', 'what', $export_list, 'format'); ?> </fieldset> </div> </td><td> <div id="div_container_sub_exportoptions"> <?php echo PMA_pluginGetOptions('Export', $export_list); ?> </div> </td></tr></table> <script type="text/javascript"> //<![CDATA[
/** * Prints Html For Export Options Format dropdown * * @param ExportPlugin[] $export_list Export List * * @return string */ function PMA_getHtmlForExportOptionsFormatDropdown($export_list) { $html = '<div class="exportoptions" id="format">'; $html .= '<h3>' . __('Format:') . '</h3>'; $html .= PMA_pluginGetChoice('Export', 'what', $export_list, 'format'); $html .= '</div>'; return $html; }
/** * Function to get html for displaying the schema export * * @param string $db database name * @param int $page the page to be exported * * @return string */ function PMA_getHtmlForSchemaExport($db, $page) { /* Scan for schema plugins */ $export_list = PMA_getPlugins("schema", 'libraries/plugins/schema/', null); /* Fail if we didn't find any schema plugin */ if (empty($export_list)) { return PMA_Message::error(__('Could not load schema plugins, please check your installation!'))->getDisplay(); } $htmlString = '<form method="post" action="schema_export.php"' . ' class="disableAjax" id="id_export_pages">'; $htmlString .= '<fieldset>'; $htmlString .= PMA_URL_getHiddenInputs($db); $htmlString .= '<label>' . __('Select Export Relational Type') . '</label><br />'; $htmlString .= PMA_pluginGetChoice('Schema', 'export_type', $export_list, 'format'); $htmlString .= '<input type="hidden" name="page_number"' . ' value="' . htmlspecialchars($page) . '" />'; $htmlString .= PMA_pluginGetOptions('Schema', $export_list); $htmlString .= '</fieldset>'; $htmlString .= '</form>'; return $htmlString; }
<input type="hidden" name="skip_queries" value="<?php echo PMA_pluginGetDefault('Import', 'skip_queries'); ?> " id="text_skip_queries" /> <?php } ?> </div> <div class="importoptions"> <h3><?php echo __('Format:'); ?> </h3> <?php echo PMA_pluginGetChoice('Import', 'format', $import_list); ?> <div id="import_notification"></div> </div> <div class="importoptions" id="format_specific_opts"> <h3><?php echo __('Format-Specific Options:'); ?> </h3> <p class="no_js_msg" id="scroll_to_options_msg">Scroll down to fill in the options for the selected format and ignore the options for other formats.</p> <?php echo PMA_pluginGetOptions('Import', $import_list); ?> </div> <div class="clearfloat"></div>
/** * Prints Html For Export Options Format * * @param String $export_list Export List * * @return string */ function PMA_getHtmlForExportOptionsFormat($export_list) { $html = '<div class="exportoptions" id="format">'; $html .= '<h3>' . __('Format:') . '</h3>'; $html .= PMA_pluginGetChoice('Export', 'what', $export_list, 'format'); $html .= '</div>'; $html .= '<div class="exportoptions" id="format_specific_opts">'; $html .= '<h3>' . __('Format-specific options:') . '</h3>'; $html .= '<p class="no_js_msg" id="scroll_to_options_msg">'; $html .= __('Scroll down to fill in the options for the selected format ' . 'and ignore the options for other formats.'); $html .= '</p>'; $html .= PMA_pluginGetOptions('Export', $export_list); $html .= '</div>'; if (function_exists('PMA_Kanji_encodingForm')) { // Encoding setting form appended by Y.Kawada // Japanese encoding setting $html .= '<div class="exportoptions" id="kanji_encoding">'; $html .= '<h3>' . __('Encoding Conversion:') . '</h3>'; $html .= PMA_Kanji_encodingForm(); $html .= '</div>'; } $html .= '<div class="exportoptions" id="submit">'; $html .= PMA_Util::getExternalBug(__('SQL compatibility mode'), 'mysql', '50027', '14515'); global $cfg; if ($cfg['ExecTimeLimit'] > 0) { $html .= '<input type="submit" value="' . __('Go') . '" id="buttonGo" onclick="check_time_out(' . $cfg['ExecTimeLimit'] . ')"/>'; } else { // if the time limit set is zero, then time out won't occur // So no need to check for time out. $html .= '<input type="submit" value="' . __('Go') . '" id="buttonGo" />'; } $html .= '</div>'; return $html; }
/** * Prints Html For Export Options Format * * @param String $export_list Export List * * @return string */ function PMA_getHtmlForExportOptionsFormat($export_list) { $html = '<div class="exportoptions" id="format">'; $html .= '<h3>' . __('Format:') . '</h3>'; $html .= PMA_pluginGetChoice('Export', 'what', $export_list, 'format'); $html .= '</div>'; $html .= '<div class="exportoptions" id="format_specific_opts">'; $html .= '<h3>' . __('Format-specific options:') . '</h3>'; $html .= '<p class="no_js_msg" id="scroll_to_options_msg">'; $html .= __('Scroll down to fill in the options for the selected format ' . 'and ignore the options for other formats.'); $html .= '</p>'; $html .= PMA_pluginGetOptions('Export', $export_list); $html .= '</div>'; if (function_exists('PMA_Kanji_encodingForm')) { // Encoding setting form appended by Y.Kawada // Japanese encoding setting $html .= '<div class="exportoptions" id="kanji_encoding">'; $html .= '<h3>' . __('Encoding Conversion:') . '</h3>'; $html .= PMA_Kanji_encodingForm(); $html .= '</div>'; } $html .= '<div class="exportoptions" id="submit">'; $html .= PMA_Util::getExternalBug(__('SQL compatibility mode'), 'mysql', '50027', '14515'); $html .= '<input type="submit" value="' . __('Go') . '" id="buttonGo" />'; $html .= '</div>'; return $html; }