From: pdontthink Date: Fri, 11 Jul 2008 04:39:56 +0000 (+0000) Subject: Allow other attributes to be added to message list buttons X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=625812effea6d5ed385610ef96998a69511633f7;p=squirrelmail.git Allow other attributes to be added to message list buttons git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13229 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/templates/default/message_list_controls.tpl b/templates/default/message_list_controls.tpl index 038a18a7..71423021 100644 --- a/templates/default/message_list_controls.tpl +++ b/templates/default/message_list_controls.tpl @@ -86,12 +86,24 @@ extract($t); switch ($widget_attrs['type']) { case 'submit': if ($widget_name != 'moveButton' && $widget_name != 'copyButton' && $widget_name != 'delete' && $widget_name != 'undeleteButton') { // add these later in another table cell - echo ' '; + echo ' $val) { + echo ' ' . $attr . '="' . $val . '"'; + } + } + echo ' /> '; } break; case 'checkbox': if ($widget_name != 'bypass_trash') { - echo ' '; + echo ' $val) { + echo ' ' . $attr . '="' . $val . '"'; + } + } + echo ' /> '; } break; case 'hidden':