Rev 10736 | Rev 14335 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
5369 | bpr | 1 | |
2 | !goto $gstep |
||
3 | |||
4 | :1 |
||
5958 | bpr | 5 | !reset table_center |
7454 | bpr | 6 | <fieldset class="property_fields blockcenter"> |
7 | <legend>$name_create_or_edit</legend> |
||
8 | <div class="field box"> |
||
10241 | guerimand | 9 | !if $vote_status>0 |
10724 | bpr | 10 | <strong>$name_namevar <span class="field_required">*</span></strong> |
10241 | guerimand | 11 | $namevar |
12 | !else |
||
10724 | bpr | 13 | <label for="up_namevar">$name_namevar <span class="field_required">*</span></label> |
10736 | guerimand | 14 | !let up_codevar=$codevar |
15 | !formselect up_codevar list $tv_listlocalcode prompt $tv_listlocalname |
||
10241 | guerimand | 16 | !endif |
17 | <div class="formHelp">$(name_$(reg_model)_help)</div> |
||
18 | </div> |
||
7454 | bpr | 19 | <div class="field box"> |
10241 | guerimand | 20 | !if $vote_status>0 |
10724 | bpr | 21 | <strong>$name_textconnip</strong> |
10241 | guerimand | 22 | $defconnip |
23 | !else |
||
10724 | bpr | 24 | <label for="defconnip">$name_textconnip</label> |
10241 | guerimand | 25 | <input size="12" name="up_defconnip" id="defconnip" value="$defconnip" /> |
26 | !endif |
||
7474 | bpr | 27 | <div class="formHelp">$name_textconnip2</div> |
10241 | guerimand | 28 | </div> |
29 | </fieldset> |
||
6235 | bpr | 30 | <input type="hidden" name="gstep" value="2" /> |
5369 | bpr | 31 | |
32 | !exit |
||
33 | :2 |
||
7454 | bpr | 34 | <p>$name_introtext ($name_introtext2)</p> |
10241 | guerimand | 35 | !!<div class="wimscenter"> |
5369 | bpr | 36 | <textarea class="iEdit" id="testointro" rows="10" cols="80" name="up_testointro"> |
37 | !replace internal \( by \( in $testointro |
||
38 | </textarea> |
||
10241 | guerimand | 39 | !!</div> |
5369 | bpr | 40 | |
41 | <p>$name_session_select</p> |
||
5958 | bpr | 42 | !reset table_center |
5369 | bpr | 43 | $table_header |
44 | $table_hdtr |
||
45 | |||
46 | !! needed by datemenu.phtml.$lang |
||
47 | !default creyear=!char 1 to 4 of $class_creation |
||
48 | !default expyear=!char 1 to 4 of $class_expiration |
||
49 | |||
50 | !if $jyear=$empty |
||
51 | !let jyear=!char 1 to 4 of $wims_now |
||
52 | !let jmonth=!char 5 to 6 of $wims_now |
||
53 | !let jday=!char 7 to 8 of $wims_now |
||
54 | !endif |
||
10241 | guerimand | 55 | <th>$name_group1</th> |
56 | <th>$name_numstud</th> |
||
57 | <th>$name_sessiondate</th> |
||
58 | <th>$name_begintime</th> |
||
59 | <th>$name_endtime</th> |
||
60 | <th>$name_connip</th> |
||
61 | <th>$name_extra</th> |
||
5369 | bpr | 62 | </tr> |
63 | !for i=1 to $numsess |
||
64 | $table_tr |
||
10241 | guerimand | 65 | <td>$(listval[$i]) |
5369 | bpr | 66 | <td> |
7454 | bpr | 67 | <input size="4" name="up_nstud$i" id="nstud$i" value="$(nstud$i)" /> |
5369 | bpr | 68 | </td> |
69 | <td> |
||
11849 | guerimand | 70 | !default up_bday$i=$jday |
71 | !default up_byear$i=$jyear |
||
72 | !default up_bmonth$i=$jmonth |
||
73 | !distribute item $[$(up_bday$i)],$[$(up_bmonth$i)],$[$(up_byear$i)] into up_bday$i,up_bmonth$i,up_byear$i |
||
74 | !if $vote_status=0 |
||
75 | !if $jquery_defined!=yes |
||
76 | !read adm/lang/datemenu.phtml.$moduclass_lang 1, up_bday$i,up_bmonth$i,up_byear$i |
||
77 | !else |
||
78 | !let up_bday$i=!char 2 to 3 of $[100+$(up_bday$i)] |
||
79 | !let up_bmonth$i=!char 2 to 3 of $[100+$(up_bmonth$i)] |
||
80 | !read adm/datepickerform.phtml $(up_byear$i)$(up_bmonth$i)$(up_bday$i)\ |
||
81 | up_bdate$i\ |
||
82 | "$class_creation","$class_expiration" |
||
83 | !endif |
||
84 | !else |
||
85 | $(bday$i) $(months[$(bmonth$i)]) $(byear$i) |
||
86 | !endif |
||
5369 | bpr | 87 | </td> |
88 | <td> |
||
11849 | guerimand | 89 | !if $vote_status=0 |
90 | !read adm/lang/datemenu.phtml.$moduclass_lang 6,up_bhour$i,up_bmin$i |
||
91 | !else |
||
92 | $(bhour$i):$(bmin$i) |
||
93 | !endif |
||
5369 | bpr | 94 | </td> |
95 | <td> |
||
11849 | guerimand | 96 | !if $vote_status=0 |
97 | !read adm/lang/datemenu.phtml.$moduclass_lang 6,up_ehour$i,up_emin$i |
||
98 | !else |
||
99 | $(ehour$i):$(emin$i) |
||
100 | !endif |
||
101 | </td> |
||
5369 | bpr | 102 | <td> |
11849 | guerimand | 103 | !if $vote_status=0 |
104 | !default up_exconnip$i=$defconnip |
||
105 | <input size="10" name="up_exconnip$i" id="exconnip$i" value="$(up_exconnip$i)" /> |
||
106 | !else |
||
107 | $(exconnip$i) |
||
108 | !endif |
||
5369 | bpr | 109 | </td> |
110 | <td> |
||
7454 | bpr | 111 | <input size="10" name="up_testoextra$i" id="testoextra$i" value="$(testoextra$i)" /> |
5369 | bpr | 112 | </td> |
113 | </tr> |
||
114 | !next i |
||
115 | $table_end |
||
10552 | guerimand | 116 | <div class="formHelp">$name_remark_numstud</div> |
117 | <input type="hidden" name="gstep" value="3" /> |
||
10241 | guerimand | 118 | !exit |
5369 | bpr | 119 | |
120 | :3 |
||
121 | $name_describesource |
||
122 | <p>$name_yourvariable.</p> |
||
123 | <pre> |
||
124 | $reg_src |
||
125 | </pre> |
||
126 | $(name_$(reg_model)_instr) |
||
6235 | bpr | 127 | <input type="hidden" name="gstep" value="0" /> |
10241 | guerimand | 128 |