From: Roland Häder Date: Sat, 19 Dec 2009 08:50:44 +0000 (+0000) Subject: Rewrites/fixes X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=commitdiff_plain;h=2fcf6314278d4f1d3fe1af02e622a2b2c4134c2d Rewrites/fixes --- diff --git a/inc/filters.php b/inc/filters.php index 4b16afc996..2534b158f0 100644 --- a/inc/filters.php +++ b/inc/filters.php @@ -450,7 +450,7 @@ function FILTER_COMPILE_EXPRESSION_CODE ($code) { preg_match_all('/\{%(([a-zA-Z0-9-_,]+)(=([^\}]+)){0,1})*%\}/', $code, $matches); //* DEBUG: */ print('
'.print_r($matches, true).'
'); - // Default is from OUTPUT_HTML + // Default is from outputHtml() $outputMode = getOutputMode(); // Some entries found? diff --git a/inc/modules/admin/what-usage.php b/inc/modules/admin/what-usage.php index b693fd86c8..718ec0adf6 100644 --- a/inc/modules/admin/what-usage.php +++ b/inc/modules/admin/what-usage.php @@ -84,7 +84,7 @@ if (isGetRequestParameterSet('image')) { } if ((!empty($FQFN)) && (isFileReadable($FQFN))) { - // @TODO This code is double, see LOAD_TEMPLATE and loadEmailTemplate in functions.php + // @TODO This code is double, see loadTemplate() and loadEmailTemplate() in functions.php eval("\$content=\"".SQL_ESCAPE(readFromFile($FQFN))."\";"); // Until here... diff --git a/inc/modules/guest/what-agb.php b/inc/modules/guest/what-agb.php index ddf66c2785..37870ac941 100644 --- a/inc/modules/guest/what-agb.php +++ b/inc/modules/guest/what-agb.php @@ -42,7 +42,7 @@ if (!defined('__SECURITY')) { } // END - if // Add description as navigation point -addMenuDescription('guest', basename(__FILE__)); +addMenuDescription('guest', __FILE__); // Load default template loadTemplate(substr(basename(__FILE__), 5, -4)); diff --git a/inc/modules/guest/what-wernis_portal.php b/inc/modules/guest/what-wernis_portal.php index b19dc24d22..6a959b4be1 100644 --- a/inc/modules/guest/what-wernis_portal.php +++ b/inc/modules/guest/what-wernis_portal.php @@ -54,6 +54,7 @@ if ((!isExtensionActive('wernis')) && (!isAdmin())) { outputHtml('
'); $rdf = new fase4_rdf(); +$rdf->_use_nl2br = false; $rdf->use_dynamic_display(false); $rdf->set_CacheDir(getConfig('CACHE_PATH') . ''); $rdf->set_salt(md5(getConfig('SITE_KEY')));