X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fguest%2Fwhat-wernis_portal.php;h=813425e464cb487b5196ba1d265b436d01e01ca4;hb=a5966b77de4635f56787c2606292ac436d8c7039;hp=093b1864ec5fb9c5e98483dbb758fb69b835fc3c;hpb=e8ca54fe91872ab95a6ffdc4f1268bf18889021d;p=mailer.git diff --git a/inc/modules/guest/what-wernis_portal.php b/inc/modules/guest/what-wernis_portal.php index 093b1864ec..813425e464 100644 --- a/inc/modules/guest/what-wernis_portal.php +++ b/inc/modules/guest/what-wernis_portal.php @@ -16,7 +16,7 @@ * $Author:: $ * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * - * Copyright (c) 2009, 2010 by Mailer Developer Team * + * Copyright (c) 2009 - 2011 by Mailer Developer Team * * For more information visit: http://www.mxchange.org * * * * This program is free software; you can redistribute it and/or modify * @@ -47,7 +47,7 @@ loadIncludeOnce('inc/classes/rdf.class.php'); addYouAreHereLink('guest', __FILE__); if ((!isExtensionActive('wernis')) && (!isAdmin())) { - loadTemplate('admin_settings_saved', false, generateExtensionInactiveNotInstalledMessage('wernis')); + displayMessage(generateExtensionInactiveNotInstalledMessage('wernis')); return; } // END - if @@ -56,13 +56,13 @@ $rdf = new fase4_rdf(); $rdf->_use_nl2br = false; $rdf->use_dynamic_display(false); $rdf->set_CacheDir(getCachePath() . ''); -$rdf->set_salt(md5(getConfig('SITE_KEY'))); +$rdf->set_salt(md5(getSiteKey())); $rdf->set_max_item(10); $rdf->set_Options( array( 'textinput' => 'hidden', 'sitelink' => 'http://www.wds66.com', - 'refid' => getConfig('wernis_refid'), + 'refid' => getWernisRefid(), 'reflink' => '/ref.php?refid=', ) ); @@ -70,12 +70,12 @@ $rdf->set_Options( // Use proxy? if (isProxyUsed()) { // Set proxy data - $rdf->set_proxy(getConfig('proxy_host'), getConfig('proxy_port')); + $rdf->set_proxy(getProxyHost(), getProxyPort()); // Use auth? - if (getConfig('proxy_username') != '') { + if (getProxyUsername() != '') { // Set auth data - $rdf->set_proxy_auth(getConfig('proxy_username'), getConfig('proxy_password')); + $rdf->set_proxy_auth(getProxyUsername(), getProxyPassword()); } // END - if } // END - if