From f9a713dea195f8b9dc0cac9bedfd5e490fd7a440 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Mon, 8 Aug 2011 09:56:43 +0200 Subject: [PATCH] Use PMA_linkOrButton here as the query can be quite long --- tbl_structure.php | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/tbl_structure.php b/tbl_structure.php index 42bd2411fb..cab54846a9 100644 --- a/tbl_structure.php +++ b/tbl_structure.php @@ -592,14 +592,16 @@ if (! $tbl_is_view && ! $db_is_information_schema) { if ($tbl_is_view) { $create_view = PMA_DBI_get_definition($db, 'VIEW', $table); -?> - '; - } - echo __('Edit view'); -?> - $create_view, + 'show_query' => '1', + ) + ), + sprintf('%1$s %1$s', __('Edit view')) + ); } ?>