Lines 1-21
Link Here
|
1 |
[%~ BLOCK localize_numbering_pattern_season ~%] |
1 |
[%~ BLOCK localize_numbering_pattern_season ~%] |
2 |
[%~ IF ( matches = season.match('(.*)Spring(.*)') ) ~%] |
2 |
[%~ IF ( matches = season.match('(.*)Spring(.*)') ) ~%] |
3 |
[%~ matches.0 | html ~%]Spring[%~ matches.1 | html ~%] |
3 |
[%~ matches.0 | html ~%]<span>Spring</span>[%~ matches.1 | html ~%] |
4 |
[%~ ELSIF ( matches = season.match('(.*)Summer(.*)') ) ~%] |
4 |
[%~ ELSIF ( matches = season.match('(.*)Summer(.*)') ) ~%] |
5 |
[%~ matches.0 | html ~%]Summer[%~ matches.1 | html ~%] |
5 |
[%~ matches.0 | html ~%]<span>Summer<span>[%~ matches.1 | html ~%] |
6 |
[%~ ELSIF ( matches = season.match('(.*)Fall(.*)') ) ~%] |
6 |
[%~ ELSIF ( matches = season.match('(.*)Fall(.*)') ) ~%] |
7 |
[%~ matches.0 | html ~%]Fall[%~ matches.1 | html ~%] |
7 |
[%~ matches.0 | html ~%]<span>Fall[%~ matches.1 | html ~%] |
8 |
[%~ ELSIF ( matches = season.match('(.*)Winter(.*)') ) ~%] |
8 |
[%~ ELSIF ( matches = season.match('(.*)Winter(.*)') ) ~%] |
9 |
[%~ matches.0 | html ~%]Winter[%~ matches.1 | html ~%] |
9 |
[%~ matches.0 | html ~%]<span>Winter[%~ matches.1 | html ~%] |
10 |
[%~ ELSIF ( matches = season.match('(.*)Spr(.*)') ) ~%] |
10 |
[%~ ELSIF ( matches = season.match('(.*)Spr(.*)') ) ~%] |
11 |
[%~ matches.0 | html ~%]Spr[%~ matches.1 | html ~%] |
11 |
[%~ matches.0 | html ~%]<span>Spr</span>[%~ matches.1 | html ~%] |
12 |
[%~ ELSIF ( matches = season.match('(.*)Sum(.*)') ) ~%] |
12 |
[%~ ELSIF ( matches = season.match('(.*)Sum(.*)') ) ~%] |
13 |
[%~ matches.0 | html ~%]Sum[%~ matches.1 | html ~%] |
13 |
[%~ matches.0 | html ~%]<span>Sum</span>[%~ matches.1 | html ~%] |
14 |
[%~ ELSIF ( matches = season.match('(.*)Fal(.*)') ) ~%] |
14 |
[%~ ELSIF ( matches = season.match('(.*)Fal(.*)') ) ~%] |
15 |
[%~ matches.0 | html ~%]Fal[%~ matches.1 | html ~%] |
15 |
[%~ matches.0 | html ~%]<span>Fal</span>[%~ matches.1 | html ~%] |
16 |
[%~ ELSIF ( matches = season.match('(.*)Win(.*)') ) ~%] |
16 |
[%~ ELSIF ( matches = season.match('(.*)Win(.*)') ) ~%] |
17 |
[%~ matches.0 | html ~%]Win[%~ matches.1 | html ~%] |
17 |
[%~ matches.0 | html ~%]<span>Win</span>[%~ matches.1 | html ~%] |
18 |
[%~ ELSE ~%] |
18 |
[%~ ELSE ~%] |
19 |
[%~ season | html ~%] |
19 |
[%~ season | html ~%] |
20 |
[%~ END ~%] |
20 |
[%~ END ~%] |
21 |
[%~ END ~%] |
21 |
[%~ END ~%] |
|
|
22 |
[%~ BLOCK localize_numbering_pattern_season_input ~%] |
23 |
[%~ IF ( matches = season.match('(.*)Spring(.*)') ) ~%] |
24 |
<input class="numbering_parts serial_id_[%serialid | html %]" type="text" value="[%~ matches.0 | html ~%]"> |
25 |
[% PROCESS localize_numbering_pattern_season_dropdown cur_season => 'Spring' %] |
26 |
<input class="numbering_parts serial_id_[%serialid | html %]" type="text" value="[%~ matches.1 | html ~%]"> |
27 |
[%~ ELSIF ( matches = season.match('(.*)Summer(.*)') ) ~%] |
28 |
<input class="numbering_parts serial_id_[%serialid | html %]" type="text" value="[%~ matches.0 | html ~%]"> |
29 |
[% PROCESS localize_numbering_pattern_season_dropdown cur_season => 'Summer' %] |
30 |
<input class="numbering_parts serial_id_[%serialid | html %]" type="text" value="[%~ matches.1 | html ~%]"> |
31 |
[%~ ELSIF ( matches = season.match('(.*)Fall(.*)') ) ~%] |
32 |
<input class="numbering_parts serial_id_[%serialid | html %]" type="text" value="[%~ matches.0 | html ~%]"> |
33 |
[% PROCESS localize_numbering_pattern_season_dropdown cur_season => 'Fall' %] |
34 |
<input class="numbering_parts serial_id_[%serialid | html %]" type="text" value="[%~ matches.1 | html ~%]"> |
35 |
[%~ ELSIF ( matches = season.match('(.*)Winter(.*)') ) ~%] |
36 |
<input class="numbering_parts serial_id_[%serialid | html %]" type="text" value="[%~ matches.0 | html ~%]"> |
37 |
[% PROCESS localize_numbering_pattern_season_dropdown cur_season => 'Winter' %] |
38 |
<input class="numbering_parts serial_id_[%serialid | html %]" type="text" value="[%~ matches.1 | html ~%]"> |
39 |
[%~ ELSIF ( matches = season.match('(.*)Spr(.*)') ) ~%] |
40 |
<input class="numbering_parts serial_id_[%serialid | html %]" type="text" value="[%~ matches.0 | html ~%]"> |
41 |
[% PROCESS localize_numbering_pattern_season_dropdown_abrv cur_season => 'Spr' %] |
42 |
<input class="numbering_parts serial_id_[%serialid | html %]" type="text" value="[%~ matches.1 | html ~%]"> |
43 |
[%~ ELSIF ( matches = season.match('(.*)Sum(.*)') ) ~%] |
44 |
<input class="numbering_parts serial_id_[%serialid | html %]" type="text" value="[%~ matches.0 | html ~%]"> |
45 |
[% PROCESS localize_numbering_pattern_season_dropdown_abrv cur_season => 'Sum' %] |
46 |
<input class="numbering_parts serial_id_[%serialid | html %]" type="text" value="[%~ matches.1 | html ~%]"> |
47 |
[%~ ELSIF ( matches = season.match('(.*)Fal(.*)') ) ~%] |
48 |
<input class="numbering_parts serial_id_[%serialid | html %]" type="text" value="[%~ matches.0 | html ~%]"> |
49 |
[% PROCESS localize_numbering_pattern_season_dropdown_abrv cur_season => 'Fal' %] |
50 |
<input class="numbering_parts serial_id_[%serialid | html %]" type="text" value="[%~ matches.1 | html ~%]"> |
51 |
[%~ ELSIF ( matches = season.match('(.*)Win(.*)') ) ~%] |
52 |
<input class="numbering_parts serial_id_[%serialid | html %]" type="text" value="[%~ matches.0 | html ~%]"> |
53 |
[% PROCESS localize_numbering_pattern_season_dropdown_abrv cur_season => 'Win' %] |
54 |
<input class="numbering_parts serial_id_[%serialid | html %]" type="text" value="[%~ matches.1 | html ~%]"> |
55 |
[%~ ELSE ~%] |
56 |
<input class="numbering_parts serial_id_[%serialid | html %]" type="text" value="[%~ season | html ~%]"> |
57 |
[%~ END ~%] |
58 |
[%~ END ~%] |
59 |
[%~ BLOCK localize_numbering_pattern_season_dropdown ~%] |
60 |
<select class="numbering_parts serial_id_[%serialid | html %]" name="season_dropdown"> |
61 |
[% IF ( cur_season == 'Spring' ) %] |
62 |
<option selected="selected" value='Spring'>Spring</option> |
63 |
[% ELSE %] |
64 |
<option value='Spring'>Spring</option> |
65 |
[% END %] |
66 |
[% IF ( cur_season == 'Summer' ) %] |
67 |
<option selected="selected" value='Summer'>Summer</option> |
68 |
[% ELSE %] |
69 |
<option value='Summer'>Summer</option> |
70 |
[% END %] |
71 |
[% IF ( cur_season == 'Fall' ) %] |
72 |
<option selected="selected" value='Fall'>Fall</option> |
73 |
[% ELSE %] |
74 |
<option value='Fall'>Fall</option> |
75 |
[% END %] |
76 |
[% IF ( cur_season == 'Winter' ) %] |
77 |
<option selected="selected" value='Winter'>Winter</option> |
78 |
[% ELSE %] |
79 |
<option value='Winter'>Winter</option> |
80 |
[% END %] |
81 |
[%~ END ~%] |
82 |
[%~ BLOCK localize_numbering_pattern_season_dropdown_abrv ~%] |
83 |
<select class="numbering_parts serial_id_[%serialid | html %]" name="season_dropdown"> |
84 |
[% IF ( cur_season == 'Spr' ) %] |
85 |
<option selected="selected" value='Spr'>Spr</option> |
86 |
[% ELSE %] |
87 |
<option value='Spr'>Spr</option> |
88 |
[% END %] |
89 |
[% IF ( cur_season == 'Sum' ) %] |
90 |
<option selected="selected" value='Sum'>Sum</option> |
91 |
[% ELSE %] |
92 |
<option value='Sum'>Sum</option> |
93 |
[% END %] |
94 |
[% IF ( cur_season == 'Fal' ) %] |
95 |
<option selected="selected" value='Fal'>Fal</option> |
96 |
[% ELSE %] |
97 |
<option value='Fall'>Fal</option> |
98 |
[% END %] |
99 |
[% IF ( cur_season == 'Win' ) %] |
100 |
<option selected="selected" value='Win'>Win</option> |
101 |
[% ELSE %] |
102 |
<option value='Win'>Win</option> |
103 |
[% END %] |
104 |
[%~ END ~%] |