X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fguest%2Fwhat-extensions.php;h=1dd15ad0c75427d1b878c642f050ba0264b4f4c5;hb=8d2c9b91eb82ea74fac58b2541982f760d0f77fc;hp=e4b580499b61aac548e2c00eb08bfea2e1a0f063;hpb=1cbf289d059637cb2707b0f5384637f081ad6402;p=mailer.git diff --git a/inc/modules/guest/what-extensions.php b/inc/modules/guest/what-extensions.php index e4b580499b..1dd15ad0c7 100644 --- a/inc/modules/guest/what-extensions.php +++ b/inc/modules/guest/what-extensions.php @@ -10,12 +10,10 @@ * -------------------------------------------------------------------- * * Kurzbeschreibung : Mit uns Punkte erbetteln! * * -------------------------------------------------------------------- * - * $Revision:: 1794 $ * - * $Date:: 2010-05-28 19:55:19 +0200 (Fri, 28 May 2010) $ * + * $Revision:: $ * + * $Date:: $ * * $Tag:: 0.2.1-FINAL $ * - * $Author:: quix0r $ * - * Needs to be in all Files and every File needs "svn propset * - * svn:keywords Date Revision" (autoprobset!) at least!!!!!! * + * $Author:: $ * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * * Copyright (c) 2009, 2010 by Mailer Developer Team * @@ -49,7 +47,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 +56,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