From 8043cb998f3325731bfab8d82251fa49639aec1d Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 20 Apr 2002 11:52:50 +0000 Subject: - Applied Marco's big patch, including contributions from Moshe: + Changed the db_query() API. + Wrapped all links in l(), lm(), la(), ..., drupal_url() functions. + XHTML-ified some HTML. + Wrapped a lot of text in the administrative pages in a t() function. + Replaced all $REQUEST_URI/$PATH_INFOs by request_uri(). + Small bugfixes (eg. bug in book_export_html() and clean-ups (eg. RSS code). + Fixed some bugs in the taxonomy module (eg. tree making bug), added new functionality (eg. new APIs for use by other modules), included Moshe's taxonomy extensions, and some documentation udpates. + ... --- modules/story.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/story.module') diff --git a/modules/story.module b/modules/story.module index 3e064a559..4bacfc0d4 100644 --- a/modules/story.module +++ b/modules/story.module @@ -57,7 +57,7 @@ function story_save($op, $node) { function story_link($type) { if ($type == "menu.create" && user_access("post content")) { - $links[] = "". t("create story") .""; + $links[] = lm(t("create story"), array("mod" => "node", "op" => "add", "type" => "story"), t("Add a new story.")); } return $links ? $links : array(); -- cgit v1.2.3