preg_match_all('/\{%(([a-zA-Z0-9-_,]+)(=([^\}]+)){0,1})*%\}/', $code, $matches);
//* DEBUG: */ print('<pre>'.print_r($matches, true).'</pre>');
- // Default is from OUTPUT_HTML
+ // Default is from outputHtml()
$outputMode = getOutputMode();
// Some entries found?
}
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...
} // END - if
// Add description as navigation point
-addMenuDescription('guest', basename(__FILE__));
+addMenuDescription('guest', __FILE__);
// Load default template
loadTemplate(substr(basename(__FILE__), 5, -4));
outputHtml('<div style="padding-left: 10px; padding-right: 10px">');
$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')));