def create_day_selectbox(name, selected_day=<NUM_LIT:0>, ln=None):
ln = default_ln(ln)<EOL>_ = gettext_set_language(ln)<EOL>out = "<STR_LIT>" % name<EOL>for i in range(<NUM_LIT:0>, <NUM_LIT:32>):<EOL><INDENT>out += "<STR_LIT>" % i<EOL>if (i == selected_day):<EOL><INDENT>out += "<STR_LIT>"<EOL><DEDENT>if (i == <NUM_LIT:0>):<EOL><INDENT>out += "<STR_LIT>" % _("<STR_LIT>")<EOL><DEDENT>else:<EOL><INDENT>out += "<STR_LIT>" % i<EOL><DEDENT><DEDENT>out += "<STR_LIT>"<EOL>return out<EOL>
Creates an HTML menu for day selection. (0..31 values).

    @param name: name of the control (i.e. name of the var you'll get)
    @param selected_day: preselect a day. Use 0 for the label 'Day'
    @param ln: language of the menu
    @return: html a string