X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fguest%2Fwhat-extensions.php;h=0bdcf4d306bf2e7bf38d2a5e17487c182fce40bb;hb=866c5a897dc3f53d16edbebfc5d8736930e5a41d;hp=f9d35b0885e71093f3720a8fd042a37e231e08bb;hpb=cf3765c38cf0a76f396aca291f71858936e92956;p=mailer.git diff --git a/inc/modules/guest/what-extensions.php b/inc/modules/guest/what-extensions.php index f9d35b0885..0bdcf4d306 100644 --- a/inc/modules/guest/what-extensions.php +++ b/inc/modules/guest/what-extensions.php @@ -4,21 +4,19 @@ * =================== 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:: $ * * $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 * @@ -43,15 +41,24 @@ if (!defined('__SECURITY')) { } // END - if // Add description as navigation point -addMenuDescription('guest', __FILE__); +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