2 /* vim: set expandtab sw=4 ts=4 sts=4: */
4 * set of functions for structure section in pma
11 * Get HTML for display indexes
13 * @return string $html_output
15 function PMA_getHtmlForDisplayIndexes()
17 $html_output = '<div id="index_div" class="ajax" >';
18 $html_output .= PMA\libraries\Index
::getHtmlForIndexes(
22 $html_output .= '<fieldset class="tblFooters print_ignore" style="text-align: '
23 . 'left;"><form action="tbl_indexes.php" method="post">';
24 $html_output .= URL
::getHiddenInputs(
25 $GLOBALS['db'], $GLOBALS['table']
27 $html_output .= sprintf(
28 __('Create an index on %s columns'),
29 '<input type="number" name="added_fields" value="1" '
30 . 'min="1" required="required" />'
32 $html_output .= '<input type="hidden" name="create_index" value="1" />'
33 . '<input class="add_index ajax"'
34 . ' type="submit" value="' . __('Go') . '" />';
36 $html_output .= '</form>'