]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/guest/what-extensions.php
More cached wrapper functions introduced
[mailer.git] / inc / modules / guest / what-extensions.php
index e3bdb8d0f3ccfd7ae4eb89733ce0a9a4081d79a8..f9d35b0885e71093f3720a8fd042a37e231e08bb 100644 (file)
  * -------------------------------------------------------------------- *
  * Kurzbeschreibung  : Mit uns Punkte erbetteln!                        *
  * -------------------------------------------------------------------- *
- * $Revision:: 1690                                                   $ *
- * $Date:: 2010-01-01 17:04:52 +0100 (Fri, 01 Jan 2010)               $ *
+ * $Revision::                                                        $ *
+ * $Date::                                                            $ *
  * $Tag:: 0.2.1-FINAL                                                 $ *
- * $Author:: quix0r                                                   $ *
+ * $Author::                                                          $ *
  * Needs to be in all Files and every File needs "svn propset           *
  * svn:keywords Date Revision" (autoprobset!) at least!!!!!!            *
  * -------------------------------------------------------------------- *
@@ -49,7 +49,7 @@ addMenuDescription('guest', __FILE__);
 $extensions = getArrayFromDirectory('templates/' . getLanguage() . '/html/ext/', 'ext_', false, false, array(), '.tpl', '@(\.|\.\.)$@', false);
 
 // Now iterate through all and load that template file
-$OUT = ''; $SW = 2;
+$OUT = '';
 foreach ($extensions as $ext_file) {
        // We only need the filename!
        $template = substr(basename($ext_file), 0, -4);
@@ -58,14 +58,10 @@ foreach ($extensions as $ext_file) {
        $content = array(
                'name'        => substr($template, 4),
                'description' => loadTemplate($template, true),
-               'sw'          => $SW
        );
 
        // Load the template in a special row template
        $OUT .= loadTemplate('guest_extensions_row', true, $content);
-
-       // Switch color
-       $SW = 3 - $SW;
 } // END - foreach
 
 // Load main template