/** * Get HTML snippet for table maintenance * * @param boolean $is_myisam_or_aria whether MYISAM | ARIA or not * @param boolean $is_innodb whether innodb or not * @param boolean $is_berkeleydb whether berkeleydb or not * @param array $url_params array of URL parameters * * @return string $html_output */ function PMA_getHtmlForTableMaintenance($is_myisam_or_aria, $is_innodb, $is_berkeleydb, $url_params) { $html_output = '<div class="operations_half_width">'; $html_output .= '<fieldset>' . '<legend>' . __('Table maintenance') . '</legend>'; $html_output .= '<ul id="tbl_maintenance">'; // Note: BERKELEY (BDB) is no longer supported, starting with MySQL 5.1 $html_output .= PMA_getListofMaintainActionLink($is_myisam_or_aria, $is_innodb, $url_params, $is_berkeleydb); $html_output .= '</ul>' . '</fieldset>' . '</div>'; return $html_output; }
/** * Get HTML snippet for table maintence * * @param boolean $is_myisam_or_aria whether MYISAM | ARIA or not * @param boolean $is_innodb whether innodb or not * @param boolean $is_berkeleydb whether berkeleydb or not * @param array $url_params array of URL parameters * * @return string $html_output */ function PMA_getHtmlForTableMaintenance($is_myisam_or_aria, $is_innodb, $is_berkeleydb, $url_params) { $common_functions = PMA_CommonFunctions::getInstance(); $html_output = '<div class="operations_half_width">'; $html_output .= '<fieldset>' . '<legend>' . __('Table maintenance') . '</legend>'; $html_output .= '<ul id="tbl_maintenance" ' . ($GLOBALS['cfg']['AjaxEnable'] ? ' class="ajax"' : '') . '>'; // Note: BERKELEY (BDB) is no longer supported, starting with MySQL 5.1 $html_output .= PMA_getListofMaintainActionLink($is_myisam_or_aria, $is_innodb, $url_params, $is_berkeleydb); $html_output .= '</ul>' . '</fieldset>' . '</div>'; return $html_output; }