From 170883a4a7c0b4c2ba10d9dfb65cc8b9007337d3 Mon Sep 17 00:00:00 2001 From: pdontthink Date: Sat, 30 Dec 2006 21:29:54 +0000 Subject: [PATCH] Add class attribute to template git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12022 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/page_header.php | 1 + functions/strings.php | 1 + plugins/listcommands/functions.php | 2 ++ 3 files changed, 4 insertions(+) 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; } -- 2.25.1