From e04296deedab65564836be965cde61b2c8682581 Mon Sep 17 00:00:00 2001 From: wangchunsheng Date: Fri, 18 Jan 2013 08:28:03 +0000 Subject: [PATCH] * add target param to linkButton() method. --- lib/front/front.class.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/front/front.class.php b/lib/front/front.class.php index c7c6dd6d5f..98e712cbf9 100644 --- a/lib/front/front.class.php +++ b/lib/front/front.class.php @@ -451,12 +451,13 @@ EOT; * * @param string $label the link title * @param string $link the link url + * @param string $target the target window * @param string $misc other params * @static * @access public * @return string */ - public static function linkButton($label = '', $link = '', $misc = '') + public static function linkButton($label = '', $link = '', $target = 'self', $misc = '') { global $config; @@ -467,7 +468,7 @@ EOT; $link .= $onlybody; } - return " "; + return " "; } /**