From: pdontthink Date: Sat, 30 Dec 2006 21:29:54 +0000 (+0000) Subject: Add class attribute to template X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=commitdiff_plain;h=170883a4a7c0b4c2ba10d9dfb65cc8b9007337d3;hp=d281e128d4c3149dc353397df2cd2c912b8ea5a7 Add class attribute to template git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12022 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/functions/page_header.php b/functions/page_header.php index f2a95432..8b4b6b77 100644 --- a/functions/page_header.php +++ b/functions/page_header.php @@ -168,6 +168,7 @@ function makeInternalLink($path, $text, $target='') { // used to show a compose link (when comp_in_new is turned on) // $oTemplate->assign('onclick', ''); + $oTemplate->assign('class', ''); return $oTemplate->fetch('hyperlink.tpl'); } diff --git a/functions/strings.php b/functions/strings.php index 2bc4d55c..a6096d9e 100644 --- a/functions/strings.php +++ b/functions/strings.php @@ -815,6 +815,7 @@ function makeComposeLink($url, $text = null, $target='') { $oTemplate->assign('uri', 'javascript:void(0)'); $oTemplate->assign('text', $text); $oTemplate->assign('onclick', "comp_in_new('$compuri','$compose_width','$compose_height')"); + $oTemplate->assign('class', ''); return $oTemplate->fetch('hyperlink.tpl'); } diff --git a/plugins/listcommands/functions.php b/plugins/listcommands/functions.php index a35ea028..c2cf13d8 100644 --- a/plugins/listcommands/functions.php +++ b/plugins/listcommands/functions.php @@ -66,6 +66,8 @@ function plugin_listcommands_menu_do() { $oTemplate->assign('uri', $act); $oTemplate->assign('target', '_blank'); $oTemplate->assign('text', $fieldsdescr[$cmd]); + $oTemplate->assign('class', ''); + $oTemplate->assign('onclick', ''); $output = $oTemplate->fetch('hyperlink.tpl'); $links[] = $output; }