From 57c4166a77a9f71e84b9f578c695de0b682bfbad Mon Sep 17 00:00:00 2001 From: Yannick Date: Thu, 9 Apr 2015 16:20:16 +0200 Subject: [PATCH] #1224 More language fixes --- backstage/database.php | 2 +- backstage/login.php | 2 +- include/draw_functions.php | 4 ++-- lang/English/language.php | 1 + 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/backstage/database.php b/backstage/database.php index 9b955dd00..308810231 100644 --- a/backstage/database.php +++ b/backstage/database.php @@ -399,7 +399,7 @@ function split_sql_file($sql, $delimiter) { // If no file was uploaded report an error // $backup_file_name = (!empty($HTTP_POST_FILES['backup_file']['name'])) ? $HTTP_POST_FILES['backup_file']['name'] : ""; - $backup_file_tmpname = ((!empty($HTTP_POST_FILES['backup_file']['tmp_name'])) && ($HTTP_POST_FILES['backup_file']['tmp_name'] != "none")) ? $HTTP_POST_FILES['backup_file']['tmp_name'] : ""; + $backup_file_tmpname = ($HTTP_POST_FILES['backup_file']['tmp_name'] != "none") ? $HTTP_POST_FILES['backup_file']['tmp_name'] : ""; $backup_file_type = (!empty($HTTP_POST_FILES['backup_file']['type'])) ? $HTTP_POST_FILES['backup_file']['type'] : ""; if($backup_file_tmpname == "" || $backup_file_name == "") { message_backstage($lang['No file uploaded']); diff --git a/backstage/login.php b/backstage/login.php index b413b150a..3de8e5454 100644 --- a/backstage/login.php +++ b/backstage/login.php @@ -27,7 +27,7 @@
- +
diff --git a/include/draw_functions.php b/include/draw_functions.php index 87599b680..8c6d09ca2 100644 --- a/include/draw_functions.php +++ b/include/draw_functions.php @@ -893,7 +893,7 @@ function draw_soft_delete_form($id) { ?>

'.$lang['Topic warning'].'' : '' ?>

- +

- +
'There are no thread on this board, choose a forum and be the first one.', 'Soft delete' => 'Soft delete', 'Soft reset' => 'Soft reset', +'Reset post' => 'Reset post', 'Send' => 'Send',