From 625812effea6d5ed385610ef96998a69511633f7 Mon Sep 17 00:00:00 2001 From: pdontthink Date: Fri, 11 Jul 2008 04:39:56 +0000 Subject: [PATCH] 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 --- templates/default/message_list_controls.tpl | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) 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': -- 2.25.1