X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fguest%2Fwhat-extensions.php;h=663ef9ead239c06e76f5961a6511f139c9b483b3;hp=2b34d3662004b814a0824aa62133b709606bea56;hb=63f159414369b5ea19a8ca75d8cd8033c45d8341;hpb=c3b4eaf29946349ff058691db2dcb615a5379bb2 diff --git a/inc/modules/guest/what-extensions.php b/inc/modules/guest/what-extensions.php index 2b34d36620..663ef9ead2 100644 --- a/inc/modules/guest/what-extensions.php +++ b/inc/modules/guest/what-extensions.php @@ -4,11 +4,11 @@ * =================== Last change: 01/09/2005 * * * * -------------------------------------------------------------------- * - * File : what-beg.php * + * File : what-extensions.php * * -------------------------------------------------------------------- * - * Short description : Beg points with us! * + * Short description : Lists all extension's description texts * * -------------------------------------------------------------------- * - * Kurzbeschreibung : Mit uns Punkte erbetteln! * + * Kurzbeschreibung : Listet alle Beschreibungstexte aller Erw. auf * * -------------------------------------------------------------------- * * $Revision:: $ * * $Date:: $ * @@ -16,8 +16,8 @@ * $Author:: $ * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * - * Copyright (c) 2009 - 2011 by Mailer Developer Team * - * For more information visit: http://www.mxchange.org * + * Copyright (c) 2009 - 2012 by Mailer Developer Team * + * For more information visit: http://mxchange.org * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * @@ -37,19 +37,28 @@ // Some security stuff... if (!defined('__SECURITY')) { - die(); + exit(); } // END - if // Add description as navigation point addYouAreHereLink('guest', __FILE__); // Get all extension files -$extensions = getArrayFromDirectory('templates/' . getLanguage() . '/html/ext/', 'ext_', false, false, array(), '.tpl', '@(\.|\.\.)$@', false); +$extensions = getArrayFromDirectory( + 'templates/' . getLanguage() . '/html/ext/', + 'ext_', + false, + false, + array(), + '.tpl', + '@(\.|\.\.)$@', + false +); // Now iterate through all and load that template file $OUT = ''; foreach ($extensions as $ext_file) { - // We only need the filename! + // We only need the filename $template = substr(basename($ext_file), 0, -4); // Prepare data