X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=templates%2Fdefault%2Fedit_list_widget_list_style.tpl;h=ed609405c94d3cd141f1c1f20e089601356164c2;hb=de3178dc1a5117827e254544c6f164dba653ad83;hp=53e547b09df223e412bf187d16f4c8d038d7071f;hpb=b6a08d2dbd26a27ecc114fa5dd922f6de03e064d;p=squirrelmail.git diff --git a/templates/default/edit_list_widget_list_style.tpl b/templates/default/edit_list_widget_list_style.tpl index 53e547b0..ed609405 100644 --- a/templates/default/edit_list_widget_list_style.tpl +++ b/templates/default/edit_list_widget_list_style.tpl @@ -11,15 +11,18 @@ * string $input_widget A preconstructed input text box used * for adding new elements to the edit list * boolean $use_input_widget Whether or not to present the $input_widget - * string $select_widget A preconstructed input text box used - * string $checkbox_widget A preconstructed input text box used + * boolean $use_delete_widget Whether or not to present the $checkbox_widget + * string $select_widget A preconstructed select widget containing + * all the elements in the list + * string $checkbox_widget A preconstructed checkbox used for deleting + * elements from the edit list * string $trailing_text Any text given by the caller to be displayed * after the edit list input * array $possible_values The original list of options in the edit list, * for use constructing layouts alternative to * the select widget * - * @copyright © 1999-2008 The SquirrelMail Project Team + * @copyright © 1999-2009 The SquirrelMail Project Team * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @version $Id: select.tpl 12961 2008-02-24 22:35:08Z pdontthink $ * @package squirrelmail @@ -56,7 +59,7 @@ foreach ($possible_values as $key => $value) { echo ''; -if (!empty($possible_values)) +if (!empty($possible_values) && $use_delete_widget) echo $checkbox_widget . ' ';