X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fguest%2Fwhat-wernis_portal.php;h=3d801a5e8c80bea7740d27766f71df45b8fac896;hb=33e827c4476ac081ce0525d9b50599dff7bf79f5;hp=b816ef637c0117201991a9c911fd1561695a8db8;hpb=001e43c93664d89ffc23aa4452aac8520279086d;p=mailer.git diff --git a/inc/modules/guest/what-wernis_portal.php b/inc/modules/guest/what-wernis_portal.php index b816ef637c..3d801a5e8c 100644 --- a/inc/modules/guest/what-wernis_portal.php +++ b/inc/modules/guest/what-wernis_portal.php @@ -36,27 +36,27 @@ if (!defined('__SECURITY')) { $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php"; require($INC); } elseif ((!EXT_IS_ACTIVE("wernis")) && (!IS_ADMIN())) { - ADD_FATAL(EXTENSION_PROBLEM_EXT_INACTIVE, "wernis"); + addFatalMessage(getMessage('EXTENSION_PROBLEM_EXT_INACTIVE'), "wernis"); return; } // Special file -require_once(PATH."inc/rdf.class.php"); +LOAD_INC_ONCE("inc/rdf.class.php"); // Add description as navigation point ADD_DESCR("guest", __FILE__); -OUTPUT_HTML("
"); -$rdf = new fase4_rdf; +OUTPUT_HTML("
"); +$rdf = new fase4_rdf(); $rdf->use_dynamic_display(false); $rdf->set_CacheDir(PATH."inc/cache/"); -$rdf->set_salt(SITE_KEY); +$rdf->set_salt(md5(SITE_KEY)); $rdf->set_max_item(10); $rdf->set_Options( array( 'textinput' => "hidden", 'sitelink' => "http://www.wds66.com", - 'refid' => bigintval(getConfig('wernis_refid')), + 'refid' => getConfig('wernis_refid'), 'reflink' => "/ref.php?refid=", ) ); @@ -76,7 +76,7 @@ if ((getConfig('proxy_host') != "") && (getConfig('proxy_port') > 0)) { $rdf->parse_RDF("http://www.wds66.com/rss.xml"); $rdf->finish(); // DISABLED: $rdf->clear_cache(); -OUTPUT_HTML("
"); +OUTPUT_HTML("
"); // ?>