]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/guest/what-wernis_portal.php
Possible further fix for #128
[mailer.git] / inc / modules / guest / what-wernis_portal.php
index 9b131e71ab384a20eff42bd078872e0baec4a5d2..567fe1a2b6b29bc292308a68868f7b5451531d52 100644 (file)
@@ -51,19 +51,19 @@ loadIncludeOnce('inc/rdf.class.php');
 // Add description as navigation point
 ADD_DESCR('guest', __FILE__);
 
-OUTPUT_HTML("<div style=\"padding-left: 10px; padding-right: 10px\">");
+OUTPUT_HTML('<div style="padding-left: 10px; padding-right: 10px">');
 $rdf = new fase4_rdf();
 $rdf->use_dynamic_display(false);
-$rdf->set_CacheDir(constant('PATH')."inc/cache/");
+$rdf->set_CacheDir(constant('PATH') . 'inc/cache/');
 $rdf->set_salt(md5(getConfig('SITE_KEY')));
 $rdf->set_max_item(10);
 $rdf->set_Options(
-array(
-               'textinput' => "hidden",
-               'sitelink'  => "http://www.wds66.com",
+       array(
+               'textinput' => 'hidden',
+               'sitelink'  => 'http://www.wds66.com',
                'refid'     => getConfig('wernis_refid'),
-               'reflink'   => "/ref.php?refid=",
-)
+               'reflink'   => '/ref.php?refid=',
+       )
 );
 
 // Use proxy?
@@ -78,12 +78,11 @@ if ((getConfig('proxy_host') != '') && (getConfig('proxy_port') > 0)) {
        } // END  - if
 } // END - if
 
-$rdf->parse_RDF("http://www.wds66.com/rss.xml");
+$rdf->parse_RDF('http://www.wds66.com/rss.xml');
 
-// Fix to avoid "headers already sent" bug. Thanks to Profi-Concept
+// Fix to avoid 'headers already sent' bug. Thanks to Profi-Concept
 OUTPUT_HTML($rdf->finish(true));
-//  @TODO Can this be removed? $rdf->clear_cache();
-OUTPUT_HTML("</div>");
+OUTPUT_HTML('</div>');
 
 //
 ?>