summaryrefslogtreecommitdiff
path: root/modules/backend.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2000-12-16 08:39:01 +0000
committerDries Buytaert <dries@buytaert.net>2000-12-16 08:39:01 +0000
commitc1a88d5d6733f1cd17fe677456cb445edd6a7afd (patch)
tree16d244b1d1ca04ec010198f5ba268bed7ca717b6 /modules/backend.module
parent8a77861958367a0364675f93c8d49b953e4d8566 (diff)
downloadbrdo-c1a88d5d6733f1cd17fe677456cb445edd6a7afd.tar.gz
brdo-c1a88d5d6733f1cd17fe677456cb445edd6a7afd.tar.bz2
Again, a large batch of updates - I'm twisting things around here:
1. improved .htaccess to be more "secure": to keep prying eyes out 2. rewrote the administration section from scratch using a modular approach 3. improved the information gathered by error.php - we can now (hopefully) track what bots are crawling us. 4. fixed a bug in submit.php, fixed a bug in theme zaphod, fixed a bug in theme marvin. 5. rewrote cron from scratch - it now interfaces with modules as it should have been from the beginning. Very cool if you ask me - it can use UNIX/Linux crontabs. 6. updated widget.inc to be module aware - needs more work though - maybe this afternoon? 7. updated most modules: small bugfixes, improvements, and even the documentation 8. removed diary.php and made it a module - you can now run a drop.org site without a diary system if someone would prefer so 9. updated all themes to use the new modules where appropriate 10. added a robots.txt because the error message in the watchdog become annoying. 11. added the new configuration system (mutliple vhosts on the same source tree) - use hostname.conf instead of config.inc 12. removed calendar.inc and made it a module 13. added format_interval() to functions.inc (UnConeD) 14. whatever I forgot ...
Diffstat (limited to 'modules/backend.module')
-rw-r--r--modules/backend.module6
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/backend.module b/modules/backend.module
index 003619e58..43a2211a6 100644
--- a/modules/backend.module
+++ b/modules/backend.module
@@ -1,6 +1,7 @@
<?
$module = array("page" => "backend_page",
+ "cron" => "backend_cron",
"admin" => "backend_admin");
include "includes/theme.inc";
@@ -42,6 +43,9 @@ function backend_page() {
$theme->footer();
}
+function backend_cron() {
+ // update backends
+}
function backend_admin_main() {
global $theme;
@@ -50,7 +54,7 @@ function backend_admin_main() {
$result = db_query("SELECT * FROM channel ORDER BY id");
$output .= "<TABLE BORDER=\"1\" CELLSPADDING=\"2\" CELLSPACING=\"2\">\n";
- $output .= " <TH>Site</TH><TH>Contact</TH><TH>Last updated</TH><TH COLSPAN=\"2\">Operations</TH></TR>\n";
+ $output .= " <TH>site</TH><TH>contact</TH><TH>last updated</TH><TH COLSPAN=\"2\">operations</TH></TR>\n";
while ($channel = db_fetch_object($result)) {
// Load backend from database: