no need to have a separate file for this

This commit is contained in:
Marc Delisle
2010-11-05 06:30:21 -04:00
parent 81cddb2514
commit 9f4dc04691
4 changed files with 25 additions and 27 deletions

View File

@@ -2990,4 +2990,27 @@ function PMA_selectUploadFile($import_list, $uploaddir) {
echo '<i>There are no files to upload</i>';
}
}
/**
* Build titles and icons for action links
*
* @return array the action titles
* @uses PMA_getIcon()
*/
function PMA_buildActionTitles() {
$titles = array();
$titles['Browse'] = PMA_getIcon('b_browse.png', __('Browse'), true);
$titles['NoBrowse'] = PMA_getIcon('bd_browse.png', __('Browse'), true);
$titles['Search'] = PMA_getIcon('b_select.png', __('Search'), true);
$titles['NoSearch'] = PMA_getIcon('bd_select.png', __('Search'), true);
$titles['Insert'] = PMA_getIcon('b_insrow.png', __('Insert'), true);
$titles['NoInsert'] = PMA_getIcon('bd_insrow.png', __('Insert'), true);
$titles['Structure'] = PMA_getIcon('b_props.png', __('Structure'), true);
$titles['Drop'] = PMA_getIcon('b_drop.png', __('Drop'), true);
$titles['NoDrop'] = PMA_getIcon('bd_drop.png', __('Drop'), true);
$titles['Empty'] = PMA_getIcon('b_empty.png', __('Empty'), true);
$titles['NoEmpty'] = PMA_getIcon('bd_empty.png', __('Empty'), true);
return $titles;
}
?>