X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fguest%2Fwhat-wernis_portal.php;h=dd8fe7e88f64e7c7326309518a7eb726a215b108;hb=2379934be6a196a54f4155bb8e24c49b20736969;hp=7a29cbe3e1db2afb3be9607061a4a1182dcca0e3;hpb=ffe213c8e3f85119ddd5544214d0de9ecb833d98;p=mailer.git diff --git a/inc/modules/guest/what-wernis_portal.php b/inc/modules/guest/what-wernis_portal.php index 7a29cbe3e1..dd8fe7e88f 100644 --- a/inc/modules/guest/what-wernis_portal.php +++ b/inc/modules/guest/what-wernis_portal.php @@ -14,11 +14,9 @@ * $Date:: $ * * $Tag:: 0.2.1-FINAL $ * * $Author:: $ * - * Needs to be in all Files and every File needs "svn propset * - * svn:keywords Date Revision" (autoprobset!) at least!!!!!! * * -------------------------------------------------------------------- * * 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 * @@ -46,10 +44,10 @@ if (!defined('__SECURITY')) { loadIncludeOnce('inc/classes/rdf.class.php'); // Add description as navigation point -addMenuDescription('guest', __FILE__); +addYouAreHereLink('guest', __FILE__); if ((!isExtensionActive('wernis')) && (!isAdmin())) { - loadTemplate('admin_settings_saved', false, generateExtensionInactiveNotInstalledMessage('wernis')); + displayMessage('{%pipe,generateExtensionInactiveNotInstalledMessage=wernis%}'); return; } // END - if @@ -58,26 +56,26 @@ $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=', ) ); // Use proxy? -if ((getConfig('proxy_host') != '') && (getConfig('proxy_port') > 0)) { +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