From 89014777e1b3ff667ac1a3fc36b45a8a38c7f88d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Fri, 9 Apr 2010 11:48:49 +0200 Subject: [PATCH] Convert to PHP code and use pgettext to provide context. We already use Insert/Update/Delete in other places and this one might have to be translated differently. --- libraries/sql_query_form.lib.php | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/libraries/sql_query_form.lib.php b/libraries/sql_query_form.lib.php index 2ba049094..fe9c273ac 100644 --- a/libraries/sql_query_form.lib.php +++ b/libraries/sql_query_form.lib.php @@ -298,13 +298,11 @@ function PMA_sqlQueryFormInsert($query = '', $is_querywindow = false, $delimiter .$auto_sel . $locking . '>' . htmlspecialchars($query) . '' . "\n"; // Add buttons to generate query easily for select all,single select,insert,update and delete if(count($fields_list)) { - ?> - ' id='selectall' onclick='insertQuery(this.id)' /> - ' id='select' onclick='insertQuery(this.id)' /> - ' id='insert' onclick='insertQuery(this.id)' /> - ' id='update' onclick='insertQuery(this.id)' /> - ' id='delete' onclick='insertQuery(this.id)' /> - '; + echo ''; + echo ''; + echo ''; + echo ''; } echo '' . "\n";