Add class attribute to template
authorpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sat, 30 Dec 2006 21:29:54 +0000 (21:29 +0000)
committerpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sat, 30 Dec 2006 21:29:54 +0000 (21:29 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12022 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/page_header.php
functions/strings.php
plugins/listcommands/functions.php

index f2a954323116040c0c33380643a0c701aba4f29a..8b4b6b77b3b81be3c3a44393e46c7b0258bcb64a 100644 (file)
@@ -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');
 }
index 2bc4d55c77d77cd461dc57e734da317c7066f017..a6096d9e93af714bc26c76e5d8632a39d8659aaa 100644 (file)
@@ -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');
     }
 
index a35ea028e09196f69a3912a4ba155d19175e6369..c2cf13d83837f2d6439bf938f2a340e0e4ca06ac 100644 (file)
@@ -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;
         }