1 <table cellspacing="0" cellpadding="7" border="0" width="720">
2 <tr><td valign="top">{$i18n.form.quota.hint}</td></tr>
5 {$forms.monthlyQuotasForm.open}
6 <div style="padding: 0 0 10 0">
7 <table border="0" class="divider">
12 <td>{$i18n.form.quota.workday_hours}:</td>
13 <td>{$forms.monthlyQuotasForm.workdayHours.control}</td>
22 <td>{$i18n.form.quota.year}:</td>
23 <td>{$forms.monthlyQuotasForm.year.control}</td>
25 <tr><td> </td></tr>
30 <td class="tableHeaderCentered">{$i18n.form.quota.month}</td>
31 <td class="tableHeaderCentered">{$i18n.form.quota.quota}</td>
33 {foreach $months as $month}
36 <td>{$forms.monthlyQuotasForm.$month.control}</td>
39 <tr><td colspan="2"> </td></tr>
40 <tr><td colspan="2" style="text-align:center;"><input type="submit" name="btn_submit" value="{$i18n.button.save}"></td></tr>
45 {$forms.monthlyQuotasForm.close}
48 function yearChange(value){
49 var url = window.location.href;
51 if (url.indexOf('?') > 0){
52 var parameter = url.substring(url.indexOf('?') + 1, url.length);
53 url = url.replace(parameter, 'year=' + value);
55 url = '?year=' + value;
58 window.location = url;