summaryrefslogtreecommitdiff
path: root/themes/example/example.theme
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-11-09 23:27:22 +0000
committerDries Buytaert <dries@buytaert.net>2003-11-09 23:27:22 +0000
commit951b553a9887df92d93ecc42e7e83ca568e26aae (patch)
treec35a2ae7f53ecbd83e6ff52b847a6c469e5a438a /themes/example/example.theme
parent00ee7f747b0920f2b8375b494930b19a25030a57 (diff)
downloadbrdo-951b553a9887df92d93ecc42e7e83ca568e26aae.tar.gz
brdo-951b553a9887df92d93ecc42e7e83ca568e26aae.tar.bz2
- Committed stage 2 of the theme system improvements! Patch by CodeMonkeyX.
Diffstat (limited to 'themes/example/example.theme')
-rw-r--r--themes/example/example.theme17
1 files changed, 10 insertions, 7 deletions
diff --git a/themes/example/example.theme b/themes/example/example.theme
index d8ae776ed..bf4b780ef 100644
--- a/themes/example/example.theme
+++ b/themes/example/example.theme
@@ -1,15 +1,18 @@
<?php
// $Id$
-class Theme_example extends BaseTheme {
+function example_help($section) {
- function system($field) {
- $system["name"] = "example";
- $system["author"] = "Dries";
- $system["description"] = "Internet explorer, Netscape, Opera, Lynx";
+ $output = "";
- return $system[$field];
+ switch ($section) {
+ case 'admin/system/themes#description':
+ $output = t("Internet explorer, Netscape, Opera, Lynx");
+ break;
}
+
+ return $output;
}
-?> \ No newline at end of file
+
+?>