summaryrefslogtreecommitdiff
path: root/themes/example/example.theme
diff options
context:
space:
mode:
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
+
+?>