Upgraded phpmyadmin to 4.0.4 (All Languages) - No modifications yet
[openemr.git] / phpmyadmin / libraries / index.lib.php
blobac45bb2004e630fbab28495af3627abcc6305257
1 <?php
3 /* vim: set expandtab sw=4 ts=4 sts=4: */
4 /**
5 * set of functions for structure section in pma
7 * @package PhpMyAdmin
8 */
9 if (!defined('PHPMYADMIN')) {
10 exit;
13 require_once 'libraries/Index.class.php';
15 /**
16 * Get HTML for display indexes
18 * @return string $html_output
20 function PMA_getHtmlForDisplayIndexes()
22 $html_output = PMA_Util::getDivForSliderEffect(
23 'indexes', __('Indexes')
25 $html_output .= PMA_Index::getView($GLOBALS['table'], $GLOBALS['db']);
26 $html_output .= '<fieldset class="tblFooters" style="text-align: left;">'
27 . '<form action="tbl_indexes.php" method="post">';
28 $html_output .= PMA_generate_common_hidden_inputs($GLOBALS['db'], $GLOBALS['table'])
29 . sprintf(
30 __('Create an index on &nbsp;%s&nbsp;columns'),
31 '<input type="text" size="2" name="added_fields" value="1" />'
33 $html_output .= '<input type="hidden" name="create_index" value="1" />'
34 . '<input class="add_index ajax"'
35 . ' type="submit" value="' . __('Go') . '" />';
37 $html_output .= '</form>'
38 . '</fieldset>'
39 . '</div>'
40 . '</div>';
42 return $html_output;