From 8c3f4739e18e121705fcc47584780bf0b9d298e7 Mon Sep 17 00:00:00 2001 From: Michael Joseph Date: Fri, 7 Feb 2003 14:17:31 +0000 Subject: [PATCH] updated getControllerLink to take the link text as a param --- lib/session/control.inc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/session/control.inc b/lib/session/control.inc index fad4729..1219699 100644 --- a/lib/session/control.inc +++ b/lib/session/control.inc @@ -59,10 +59,12 @@ function generateControllerUrl($action, $queryString = "") { * Generates a link via the control page, with the passed action * * @param string the controller action to generate a link for + * @param string the text of the link + * @param string the querystring (optional) * @return string the generated href */ -function generateControllerLink($action, $queryString = "") { - return ""; +function generateControllerLink($action, $linkText, $queryString = "") { + return "$linkText"; } /** -- libgit2 0.21.4