Extensions bitcoins/yacy added, new API functions for handling proxy/non-proxy added:
[mailer.git] / inc / modules / guest / what-extensions.php
index 2b34d3662004b814a0824aa62133b709606bea56..0bdcf4d306bf2e7bf38d2a5e17487c182fce40bb 100644 (file)
@@ -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::                                                            $ *
@@ -44,12 +44,21 @@ if (!defined('__SECURITY')) {
 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