From 4521b285178feb1f121ae3259ef315d5632ba40d Mon Sep 17 00:00:00 2001 From: Jo Michael Date: Sun, 8 Apr 2012 21:09:31 +0200 Subject: [PATCH] Use pma-bbcode for trigger_error messages --- libraries/common.inc.php | 10 +++++----- libraries/rte/rte_routines.lib.php | 2 +- libraries/sanitizing.lib.php | 5 +++-- main.php | 4 ++-- 4 files changed, 11 insertions(+), 10 deletions(-) diff --git a/libraries/common.inc.php b/libraries/common.inc.php index d5aa9b04406c..1f45ef28849a 100644 --- a/libraries/common.inc.php +++ b/libraries/common.inc.php @@ -602,11 +602,11 @@ * this check is done here after loading language files to present errors in locale */ if ($GLOBALS['PMA_Config']->error_config_file) { - $error = '

' . __('Failed to read configuration file') . '

' + $error = '[strong]' . __('Failed to read configuration file') . '[/strong][br][br]' . _('This usually means there is a syntax error in it, please check any errors shown below.') - . '
' - . '
' - . '