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 f2a9543..8b4b6b7 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 2bc4d55..a6096d9 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 a35ea02..c2cf13d 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;
         }