From f9b29369378236160fb7868f62641c976509b3c8 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 5 May 2002 19:04:26 +0000 Subject: - Fixed broken RSS feeds. TODO: + Make l()/lm()/la() urlencode() URLs? + Fix problems with the #-trick in drupal_url()/l(). --- includes/common.inc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'includes/common.inc') diff --git a/includes/common.inc b/includes/common.inc index 67eaeb80a..96306986d 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -630,8 +630,8 @@ function form_submit($value) { } /** - * Build an url; use this functions when you must write an url - * for example in a form or a redirect + * Build an URL; use this functions when you must write an URL + * for example in a form or a redirect. * * @param $args dictionary of arguments to be passed to the script * @param $script script to be invoked; optional, defaults to node @@ -641,11 +641,11 @@ function drupal_url($args = array(), $script = "node") { foreach ($args as $key => $value) { $t[] = "$key=". urlencode($value); } - return "$script.php?". implode("&", $t); + return "$script.php?". implode("&", $t); } /** - * Build an html link; use this functions when you must write a link + * Build a HTML link; use this functions when you must write a link * to another drupal page * * @param $args dictionary of arguments to be passed to the script -- cgit v1.2.3