* -------------------------------------------------------------------- *
* Kurzbeschreibung : Listet alle Beschreibungstexte aller Erw. auf *
* -------------------------------------------------------------------- *
- * $Revision:: $ *
- * $Date:: $ *
- * $Tag:: 0.2.1-FINAL $ *
- * $Author:: $ *
- * -------------------------------------------------------------------- *
* Copyright (c) 2003 - 2009 by Roland Haeder *
- * Copyright (c) 2009 - 2011 by Mailer Developer Team *
+ * Copyright (c) 2009 - 2016 by Mailer Developer Team *
* For more information visit: http://mxchange.org *
* *
* This program is free software; you can redistribute it and/or modify *
// 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 = loadAllExtensionsByTemplate();
// Now iterate through all and load that template file
$OUT = '';
// Prepare data
$content = array(
'name' => substr($template, 4),
- 'description' => loadTemplate($template, true),
+ 'description' => loadTemplate($template, TRUE),
);
// Load the template in a special row template
- $OUT .= loadTemplate('guest_extensions_row', true, $content);
+ $OUT .= loadTemplate('guest_extensions_row', TRUE, $content);
} // END - foreach
// Load main template
-loadTemplate('guest_extensions', false, $OUT);
+loadTemplate('guest_extensions', FALSE, $OUT);
// [EOF]
?>