diff options
author | Fabio Comuni <fabio@krik.localdomain> | 2012-01-02 20:09:25 +0100 |
---|---|---|
committer | Fabio Comuni <fabio@krik.localdomain> | 2012-01-02 20:09:25 +0100 |
commit | f35109827bd2e6184974989ac65bf3bd305f2fa0 (patch) | |
tree | d7390b3779ebc0a055343852af81336e0396bdcc /view/field_select_raw.tpl | |
parent | 4b095665791424bd2f5c4c494a2d14ec6c07aeba (diff) | |
download | volse-hubzilla-f35109827bd2e6184974989ac65bf3bd305f2fa0.tar.gz volse-hubzilla-f35109827bd2e6184974989ac65bf3bd305f2fa0.tar.bz2 volse-hubzilla-f35109827bd2e6184974989ac65bf3bd305f2fa0.zip |
datetime: new field_timezone() function, new template field_select_raw.tpl
returns a timezone select like select_timezone() but using template field_select_raw.tpl.
field_select_raw get options html as forth argument, instead of array value=>label like field_select
Diffstat (limited to 'view/field_select_raw.tpl')
-rw-r--r-- | view/field_select_raw.tpl | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/view/field_select_raw.tpl b/view/field_select_raw.tpl new file mode 100644 index 000000000..765b285d9 --- /dev/null +++ b/view/field_select_raw.tpl @@ -0,0 +1,8 @@ + + <div class='field select'> + <label for='id_$field.0'>$field.1</label> + <select name='$field.0' id='id_$field.0'> + $field.4 + </select> + <span class='field_help'>$field.3</span> + </div> |