From b9e6075ca71043651816975302d18c2fdb27dce4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Thu, 6 May 2010 01:21:08 +0000 Subject: [PATCH] Export of extensions basicly added --- inc/modules/guest/what-extensions.php | 75 +++++++++++++++++++ templates/de/html/guest/guest_extensions.tpl | 13 ++++ .../de/html/guest/guest_extensions_row.tpl | 10 +++ 3 files changed, 98 insertions(+) create mode 100644 inc/modules/guest/what-extensions.php create mode 100644 templates/de/html/guest/guest_extensions.tpl create mode 100644 templates/de/html/guest/guest_extensions_row.tpl diff --git a/inc/modules/guest/what-extensions.php b/inc/modules/guest/what-extensions.php new file mode 100644 index 0000000000..e3bdb8d0f3 --- /dev/null +++ b/inc/modules/guest/what-extensions.php @@ -0,0 +1,75 @@ + substr($template, 4), + 'description' => loadTemplate($template, true), + 'sw' => $SW + ); + + // Load the template in a special row template + $OUT .= loadTemplate('guest_extensions_row', true, $content); + + // Switch color + $SW = 3 - $SW; +} // END - foreach + +// Load main template +loadTemplate('guest_extensions', false, $OUT); + +// [EOF] +?> diff --git a/templates/de/html/guest/guest_extensions.tpl b/templates/de/html/guest/guest_extensions.tpl new file mode 100644 index 0000000000..b7be74010c --- /dev/null +++ b/templates/de/html/guest/guest_extensions.tpl @@ -0,0 +1,13 @@ +
+
+ +
+ Es sind bereits folgende Erweiterungen zum {?MAIN_TITLE?} verfügbar: +
+ +
+$content +
+ +
+
diff --git a/templates/de/html/guest/guest_extensions_row.tpl b/templates/de/html/guest/guest_extensions_row.tpl new file mode 100644 index 0000000000..074c172dee --- /dev/null +++ b/templates/de/html/guest/guest_extensions_row.tpl @@ -0,0 +1,10 @@ +
+
+ Erweiterung ext-$content[name] +
+ +
+ Beschreibungstext: + $content[description] +
+
-- 2.39.5