summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordeva <deva>2009-04-25 09:48:39 +0000
committerdeva <deva>2009-04-25 09:48:39 +0000
commitb78f15df00816780eeb5652d0f0af9b3b2ebc68e (patch)
tree4a86d2c26cf2bd49e968525041bd8b9eeb9d12bf
parent13426bcaab9cdbeebd9ac85fad5fe9fd0e8cbc5a (diff)
Added config module
-rw-r--r--htdocs/config.php.defaults33
1 files changed, 11 insertions, 22 deletions
diff --git a/htdocs/config.php.defaults b/htdocs/config.php.defaults
index 401e2e7..dac5fd3 100644
--- a/htdocs/config.php.defaults
+++ b/htdocs/config.php.defaults
@@ -1,4 +1,5 @@
<?php
+/* -*- Mode: php; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
$PAGE_DIR = "../pages";
$DATA_DIR = "../data";
@@ -6,7 +7,7 @@ $ALBUMS_DIR = "gfx/albums";
$UTIL_DIR = "../utils";
$MODULES_DIR = $UTIL_DIR . "/modules";
-$MODULES = array("news", "events", "pages", "gallery");
+$MODULES = array("news", "events", "pages", "gallery", "config");
$DEFAULT_PAGE = "news";
@@ -15,25 +16,13 @@ $ADMIN_TIMEOUT = 60*60; // 60 min timeout
$TITLE = "blah";
$PRELOAD = array("gfx/biography_hover.jpg",
- "gfx/contact_hover.jpg",
- "gfx/discography_hover.jpg",
- "gfx/downloads_hover.jpg",
- "gfx/gallery_hover.jpg",
- "gfx/guestbook_hover.jpg",
- "gfx/live_hover.jpg",
- "gfx/members_hover.jpg",
- "gfx/news_hover.jpg",
- "gfx/shop_hover.jpg");
-
-$MENU = array("news" => "News",
- "shop" => "Shop",
- "downloads" => "Downloads",
- "biography" => "Biography",
- "live" => "Concerts",
- "discography" => "Discography",
- "guestbook" => "Guestbook",
- "members" => "Members",
- "gallery" => "Gallery",
- "contact" => "Contact");
-
+ "gfx/contact_hover.jpg",
+ "gfx/discography_hover.jpg" ,
+ "gfx/downloads_hover.jpg",
+ "gfx/gallery_hover.jpg",
+ "gfx/guestbook_hover.jpg",
+ "gfx/live_hover.jpg",
+ "gfx/members_hover.jpg",
+ "gfx/news_hover.jpg",
+ "gfx/shop_hover.jpg");
?> \ No newline at end of file