Use format strings.
This commit is contained in:
@@ -86,9 +86,9 @@ if(isset($_GET['sql_query'])) {
|
||||
if($export_type == 'server') {
|
||||
echo __('Exporting databases in the current server');
|
||||
} elseif($export_type == 'database') {
|
||||
echo __('Exporting tables in the database "' . $db . '"');
|
||||
printf(__('Exporting tables in the database "%s"'), htmlspecialchars($db));
|
||||
} else {
|
||||
echo __('Exporting rows in the table "' . $table . '"');
|
||||
printf(__('Exporting rows in the table "%s"'), htmlspecialchars($table));
|
||||
}?>
|
||||
</h2>
|
||||
</div>
|
||||
|
@@ -128,9 +128,9 @@ if ($_SESSION[$SESSION_KEY]["handler"]!="noplugin") {
|
||||
if($import_type == 'server') {
|
||||
echo __('Importing into the current server');
|
||||
} elseif($import_type == 'database') {
|
||||
echo __('Importing into the database "' . $db . '"');
|
||||
printf(__('Importing into the database "%s"'), htmlspecialchars($db));
|
||||
} else {
|
||||
echo __('Importing into the table "' . $table . '"');
|
||||
printf(__('Importing into the table "%s"'), htmlspecialchars($table));
|
||||
}?>
|
||||
</h2>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user