From 3d8a6c3bb451cfdeff151b8438112511f1ea2c04 Mon Sep 17 00:00:00 2001 From: Madhura Jayaratne Date: Mon, 1 Dec 2014 18:34:50 +0530 Subject: [PATCH] Use placeholder to save horizontal space Signed-off-by: Madhura Jayaratne --- libraries/tbl_relation.lib.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/tbl_relation.lib.php b/libraries/tbl_relation.lib.php index 02eda3acbf..be5edfde1c 100644 --- a/libraries/tbl_relation.lib.php +++ b/libraries/tbl_relation.lib.php @@ -462,9 +462,9 @@ function PMA_getHtmlForForeignKeyRow($one_key, $odd_row, $columns, $i, $html_output .= ''; $constraint_name = isset($one_key['constraint']) ? $one_key['constraint'] : ''; - $html_output .= __('Constraint name'); $html_output .= ''; + . ' value="' . htmlspecialchars($constraint_name) . '"' + . ' placeholder="' . __('Constraint name') . '" />'; $html_output .= '' . "\n"; $html_output .= '';