X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=templates%2Fdefault%2Fselect.tpl;h=9f112eff8e49e2653876243490b961b5e6341e07;hb=823d08e55104565e7d94d879c3a3244d6719a5c4;hp=288abd2b55c4093d1cb20f52f4cb210bb9ee2cd7;hpb=b3c07fdc2b9d69edb195242e2a5b83caee7c7211;p=squirrelmail.git diff --git a/templates/default/select.tpl b/templates/default/select.tpl index 288abd2b..9f112eff 100644 --- a/templates/default/select.tpl +++ b/templates/default/select.tpl @@ -6,22 +6,29 @@ * Template for constructing a select input tag. * * The following variables are available in this template: - * + $name - The name of the select input - * + $aValues - An associative array corresponding to each - * select option where keys must be used as - * the option value and the values must be used - * as the option text - * + $bUsekeys - When FALSE, the value of each option should - * be the same as the option text instead of - * using the array key for the option value - * + $default - The option value that should be selected by default - * + $aAttribs - Any extra attributes: an associative array, where - * keys are attribute names, and values (which are - * optional and might be null) should be placed - * in double quotes as attribute values (optional; - * may not be present) + * string $name The name of the select input + * array $aValues An associative array corresponding to each + * select option where keys must be used as + * the option value and the values must be used + * as the option text + * boolean $bUsekeys When FALSE, the value of each option should + * be the same as the option text instead of + * using the array key for the option value + * boolean $multiple When TRUE, a multiple select list should be + * shown. + * array $default An array of option values that should be + * selected by default (only will contain one + * array element unless this is a multiple select + * list) + * array $aAttribs Any extra attributes: an associative array, where + * keys are attribute names, and values (which are + * optional and might be null) should be placed + * in double quotes as attribute values (optional; + * may not be present) + * int $size The desired height of multiple select boxes (not + * applicable when $multiple is FALSE) * - * @copyright © 1999-2006 The SquirrelMail Project Team + * @copyright © 1999-2008 The SquirrelMail Project Team * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @version $Id$ * @package squirrelmail @@ -43,7 +50,7 @@ if (isset($aAttribs['id'])) { } -echo '\n";