From 83a739bd898094af5837d2b29863d8e988929e1b Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 18 Aug 2004 19:57:27 +0000 Subject: - Code improvements by Stefan: made all status messages consistent (and easier to translate). --- includes/common.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'includes/common.inc') diff --git a/includes/common.inc b/includes/common.inc index cda083867..f8e5654dd 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -237,7 +237,7 @@ function drupal_goto($path = '', $query = NULL, $fragment = NULL) { */ function drupal_not_found() { header('HTTP/1.0 404 Not Found'); - watchdog('httpd', t('404 error: "%page" not found', array('%page' => check_query($_GET['q'])))); + watchdog('httpd', t('404 error: %page not found.', array('%page' => ''. check_query($_GET['q']) .''))); $path = drupal_get_normal_path(variable_get('site_404', '')); $status = MENU_NOT_FOUND; @@ -651,7 +651,7 @@ function valid_input_data($data) { $match += preg_match("/<\s*(applet|script|object|style|embed|form|blink|meta|html|frame|iframe|layer|ilayer|head|frameset|xml)/i", $data); if ($match) { - watchdog('warning', t('terminated request because of suspicious input data: %data', array('%data' => drupal_specialchars($data)))); + watchdog('warning', t('Terminated request because of suspicious input data: %data.', array('%data' => ''. drupal_specialchars($data) .''))); return FALSE; } } -- cgit v1.2.3