summaryrefslogtreecommitdiff
path: root/modules/faq.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2000-12-14 14:13:37 +0000
committerDries Buytaert <dries@buytaert.net>2000-12-14 14:13:37 +0000
commit7a45d84a9f9458387bf4f57ac5a520f31c1604ab (patch)
tree9ba9bab01e60d7fdba39ab18cef70002dbe0fb4f /modules/faq.module
parentc514e3cd7ec377e8c50e06320db3560dcf01ccb6 (diff)
downloadbrdo-7a45d84a9f9458387bf4f57ac5a520f31c1604ab.tar.gz
brdo-7a45d84a9f9458387bf4f57ac5a520f31c1604ab.tar.bz2
- added a whole bunch of NEW modules
Diffstat (limited to 'modules/faq.module')
-rw-r--r--modules/faq.module14
1 files changed, 10 insertions, 4 deletions
diff --git a/modules/faq.module b/modules/faq.module
index 150f0d043..31ea797cf 100644
--- a/modules/faq.module
+++ b/modules/faq.module
@@ -1,8 +1,13 @@
<?
+$module = array("page" => "faq_page");
+
include "includes/theme.inc";
-$output = "
+function faq_page() {
+ global $theme;
+
+ $output = "
<DL>
<DT><B>What is a FAQ?</B></DT>
<DD>
@@ -77,8 +82,9 @@ $output = "
</DD>
</DL>";
-$theme->header();
-$theme->box("Frequently Asked Questions", $output);
-$theme->footer();
+ $theme->header();
+ $theme->box("Frequently Asked Questions", $output);
+ $theme->footer();
+}
?>