diff --git a/libraries/common.lib.php b/libraries/common.lib.php index fd5da8306..c30d7d0e0 100644 --- a/libraries/common.lib.php +++ b/libraries/common.lib.php @@ -2939,7 +2939,7 @@ function PMA_ajaxResponse($message, $success = true, $extra_data = array()) $response = array_merge($response, $extra_data); } - // Set the Content-Type header to JSON so that jQuery parses the + // Set the Content-Type header to JSON so that jQuery parses the // response correctly. // // At this point, other headers might have been sent; @@ -3014,6 +3014,7 @@ function PMA_buildActionTitles() { $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); + $titles['Edit'] = PMA_getIcon('b_edit.png', __('Edit'), true); return $titles; } ?> diff --git a/libraries/db_routines.inc.php b/libraries/db_routines.inc.php index 648d80cee..d6a5b07ac 100644 --- a/libraries/db_routines.inc.php +++ b/libraries/db_routines.inc.php @@ -81,7 +81,7 @@ if ($routines) { ($ct%2 == 0) ? 'even' : 'odd', $sqlDropProc, $routine['ROUTINE_NAME'], - ! empty($definition) ? PMA_linkOrButton('db_sql.php?' . $url_query . '&sql_query=' . urlencode($definition) . '&show_query=1&db_query_force=1&delimiter=' . urlencode($delimiter), $titles['Structure']) : ' ', + ! empty($definition) ? PMA_linkOrButton('db_sql.php?' . $url_query . '&sql_query=' . urlencode($definition) . '&show_query=1&db_query_force=1&delimiter=' . urlencode($delimiter), $titles['Edit']) : ' ', '' . $titles['Drop'] . '', $routine['ROUTINE_TYPE'], $routine['DTD_IDENTIFIER']);