Subversion Repositories bysoftdeveloper

[/] [design/] [standard/] [templates/] [bysoftdeveloper/] [classes/] [form.tpl] - Rev 31

Compare with Previous | Blame | View Log

<div class="block">
        {def $classes=fetch('class','list')}
        <label>Select class:&nbsp;
        <select name="bysoftdeveloperSelectedClass" id="bysoftdeveloperSelectedClass" onchange="javascript:bysoftdeveloperChangeClass();">
                <option value="">--Please choose class--</option>
                {def $classes=array()}
                {foreach $groups as $group}
                        <optgroup label="{$group.name|wash}">
                        {set $classes=fetch('class','list_by_groups',hash('group_filter',array($group.id)))}
                        {foreach $classes as $cs}
                                <option value="{$cs.id}">{$cs.name}</option>
                        {/foreach}
                        </optgroup>
                {/foreach}
        </select></label>
</div>

Compare with Previous | Blame | View Log