summaryrefslogtreecommitdiff
path: root/modules/drupal
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2001-05-15 18:38:57 +0000
committerDries Buytaert <dries@buytaert.net>2001-05-15 18:38:57 +0000
commit14ddbc473c3ccfc03773bd684cd41255cc951507 (patch)
tree3310c06c4323dfc5690d6e78236158b7bac2f428 /modules/drupal
parent1da587a9d9df433952981da62dda4f2b216799c7 (diff)
downloadbrdo-14ddbc473c3ccfc03773bd684cd41255cc951507.tar.gz
brdo-14ddbc473c3ccfc03773bd684cd41255cc951507.tar.bz2
- Created 2 new functions:
+ path_uri(): returns the fully-qualified URI of your drupal site. + path_img(): returns the image directory or http://image-server.com/ in case you prefer to load-balance bandwidth usage. Replaced all occurences of the variable "site_url" with path_uri() and removed "site_url" from "setting.module". - Drastically simplified the node_save() API, which should make the node-forms more secure. Updated "story.module", "book.module", "forum.module", "page.module" and "node.module" to reflect this change. This is needs more testing so hit it, beat it, tease it. - Fixed an occasional glitch in the configuration file loading logic. - Made "queue.module" display an informative notice when an anonymous user tries accessing the moderation queue. - Updated the hard-coded information in drupal.module a bit.
Diffstat (limited to 'modules/drupal')
-rw-r--r--modules/drupal/drupal.module20
1 files changed, 10 insertions, 10 deletions
diff --git a/modules/drupal/drupal.module b/modules/drupal/drupal.module
index e92f628a6..b1406ca68 100644
--- a/modules/drupal/drupal.module
+++ b/modules/drupal/drupal.module
@@ -18,16 +18,16 @@ function drupal_page() {
$theme->box("Screenshots", $output);
*/
- $output = "<H3>Download</H3>\n";
- $output .= " <LI><A HREF=\"drupal/drupal-2.00.tgz\">drupal 2.00</A> (2001/03/15 - latest version)</LI>\n";
- $output .= " <LI>drupal 1.00 (2001/01/15)</LI>\n";
- $output .= "<H3>Documentation</H3>\n";
- $output .= " <LI><A HREF=\"node.php?title=drupal+handbook\">drupal handbook</A></LI>\n";
- $output .= "<H3>Mailing lists</H3>\n";
- $output .= " <LI><A HREF=\"node.php?title=mailing+lists\">mailing lists</A></LI>";
- $output .= "<H3>Development</H3>\n";
- $output .= " <LI><A HREF=\"node.php?title=development\">drupal development</A> (<A HREF=\"node.php?title=CVS\">CVS</A>)</LI>\n";
- $theme->box("Support and development", $output);
+ $output = "<H3>Download Drupal</H3>\n";
+ $output .= " <LI><A HREF=\"drupal/drupal-2.00.tgz\">Drupal 2.00</A> (2001/03/15 - latest version)</LI>\n";
+ $output .= " <LI>Drupal 1.00 (2001/01/15)</LI>\n";
+ $output .= "<H3>Drupal documentation</H3>\n";
+ $output .= " <LI><A HREF=\"node.php?title=drupal+handbook\">Drupal handbook</A></LI>\n";
+ $output .= "<H3>Drupal mailing lists</H3>\n";
+ $output .= " <LI><A HREF=\"node.php?title=mailing+lists\">Mailing list information</A></LI>";
+ $output .= "<H3>Drupal development</H3>\n";
+ $output .= " <LI><A HREF=\"node.php?title=development\">Development information</A>, <A HREF=\"node.php?title=CVS\">CVS instructions</A>, <A HREF=\"module.php?mod=cvs\">CVS log messages</A></LI>\n";
+ $theme->box("Drupal support and development", $output);
$theme->footer();
}