* =================== 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:: $ *
* $Author:: $ *
* -------------------------------------------------------------------- *
* Copyright (c) 2003 - 2009 by Roland Haeder *
- * Copyright (c) 2009, 2010 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 *
// 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