1 {$forms.monthlyQuotaForm.open}
2 <div style="padding: 0 0 10 0">
3 <table border="0" class="divider">
8 <td>{$i18n.form.quota.workdayHours}</td>
9 <td>{$forms.monthlyQuotaForm.dailyWorkingHours.control}</td>
10 <td><input type="submit" name="dailyHours" value="{$i18n.button.save}"></td>
19 <td>{$i18n.form.quota.year}:</td>
20 <td>{$forms.monthlyQuotaForm.years.control}</td>
26 <td class="tableHeader">{$i18n.form.quota.month}</td>
27 <td class="tableHeader">{$i18n.form.quota.quota}</td>
29 {foreach $months as $month}
32 <td>{$forms.monthlyQuotaForm.$month.control}</td>
36 <td colspan="2" style="text-align:center;">
37 <input type="submit" name="quotas" value="{$i18n.button.save}*">
44 <div>* - {$i18n.form.quota.hint}</div>
45 {$forms.monthlyQuotaForm.close}
47 function yearChange(value){
48 var url = window.location.href;
50 if (url.indexOf('?') > 0){
51 var parameter = url.substring(url.indexOf('?') + 1, url.length);
52 url = url.replace(parameter, 'year=' + value);
54 url = '?year=' + value;
57 window.location = url;