From c34ccc130e2a507c266ee54a163cdf3a5886d63d Mon Sep 17 00:00:00 2001 From: deva Date: Tue, 2 Mar 2010 15:00:35 +0000 Subject: Made a lot of changes, making it possible to entirely remove th config.php file from the project. These changes includes the creation of a new rss config module, the adding of some config vars in both the events and news modules. --- htdocs/config.php.defaults | 28 ----------- htdocs/index.php | 16 +++++-- utils/forms.php | 2 +- utils/imagecache.php | 5 +- utils/modules/events.php | 53 +++++++++++++++------ utils/modules/news.php | 49 +++++++++++++++---- utils/modules/rss.php | 114 +++++++++++++++++++++++++++++++++++++++++++++ utils/rss.php | 54 +++++++++------------ 8 files changed, 230 insertions(+), 91 deletions(-) delete mode 100644 htdocs/config.php.defaults create mode 100644 utils/modules/rss.php diff --git a/htdocs/config.php.defaults b/htdocs/config.php.defaults deleted file mode 100644 index 84d7c52..0000000 --- a/htdocs/config.php.defaults +++ /dev/null @@ -1,28 +0,0 @@ - \ No newline at end of file diff --git a/htdocs/index.php b/htdocs/index.php index 823c388..a550f77 100644 --- a/htdocs/index.php +++ b/htdocs/index.php @@ -1,7 +1,17 @@ value('splash') == "true") { - +
getPage($config->value('splashpage')); @@ -56,7 +66,6 @@ if($config->value('splash') == "true") { } } - ?> @@ -70,7 +79,6 @@ if($config->value('splash') == "true") { -