Rev 12569 | Rev 13669 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
13178 | czzmrn | 1 | !if $(module_description_$moduclass_lang)!=$empty |
2 | !set module_description=$(module_description_$moduclass_lang) |
||
3 | !endif |
||
1406 | bpr | 4 | !read adm/title.phtml 1\ |
4025 | bpr | 5 | $classname\ |
1406 | bpr | 6 | $module_description\ |
7 | $wims_name_sequence $seq |
||
8 | |||
9 | $name_addseq |
||
10 | |||
12004 | obado | 11 | !! Read some translation vars (like $C_A) |
12 | !readproc adm/search_engine/names.$lang |
||
13 | |||
11851 | bpr | 14 | !set data=!record 1 of wimshome/log/classes/$wims_class/seq/.sequence$seq |
15 | !form reply |
||
11848 | bpr | 16 | <label for="seq_title">$wims_name_title</label>: <input id="seq_title" name="seq_title" size="12" value="$(data[1;])" /> |
12004 | obado | 17 | $ |
18 | <label for="seq_desc"> $wims_name_Description</label>: <input id="seq_desc" name="seq_desc" size="20" value="$(data[2;])" /> |
||
19 | $ |
||
20 | <label for="visible">$wims_name_Status</label>: |
||
12335 | bpr | 21 | !set visible=$(data[4;]) |
22 | !formselect visible list 0,1 prompt $wims_name_status |
||
11851 | bpr | 23 | $table_header |
12004 | obado | 24 | <caption>$wims_name_Docs, $wims_name_Votes & $C_A</caption> |
12338 | bpr | 25 | $table_hdtr<th scope="col">$wims_name_title</th> |
26 | <th scope="col">$wims_name_Status</th> |
||
27 | <th scope="col">$wims_name_action</th></tr> |
||
12335 | bpr | 28 | !set listc=!filelist $wims_home/log/classes/$wims_class/doc |
29 | !set listc=!replace internal c by in $listc |
||
30 | !set listc=!lines2items $listc |
||
31 | !set listc=!sort numeric items $listc |
||
32 | !for i=1 to $doccnt |
||
33 | !set ci_=!item $(wims_sort_order[$i]) of $listc |
||
34 | !set sh=!record $ci_ of wimshome/log/classes/$wims_class/doc/.index |
||
35 | !distribute lines $sh into s_,t_,bidon,bidon,bidon,o_ |
||
36 | !set ss_=!replace internal c by c$ $ in $s_ |
||
37 | !set c_$i=!positionof item $ss_ in $(data[3;]) |
||
38 | !set ss_=!replace internal c by c_ in $s_ |
||
39 | $table_tr |
||
40 | <td> |
||
41 | <label for="$ss_"> |
||
12569 | bpr | 42 | !set wims_ref_class=wims_doc_item |
12335 | bpr | 43 | !href module=adm/doc&job=read&doc=$s_&block=main $t_ |
44 | </label> |
||
45 | </td><td class="wims_status_$o_"> |
||
46 | !item $[$o_+1] of $wims_name_status |
||
47 | !set wims_ref_class=wims_button |
||
48 | !href module=adm/doc&job=prop&doc=$s_ $wims_name_change |
||
49 | </td><td> |
||
50 | <input type="number" name="$ss_" size="5" value="$(c_$i)" id="$ss_" /> |
||
51 | </td> |
||
52 | </tr> |
||
53 | !next i |
||
54 | !for i=1 to $docpubliccnt |
||
55 | !set sh=!record $i of wimshome/log/classes/$wims_class/doc/.docindex |
||
56 | !distribute lines $sh into s_,t_,ti,d_,o_ |
||
57 | $table_tr |
||
58 | <td> |
||
12569 | bpr | 59 | !set wims_ref_class=wims_doc_item |
12335 | bpr | 60 | <label for="doc_$i"> |
61 | !href module=$s_&$t_ $ti |
||
12004 | obado | 62 | </label> |
63 | </td><td class="wims_status_$o_"> |
||
12335 | bpr | 64 | !item $[$o_+1] of $wims_name_status |
65 | !set wims_ref_class=wims_button |
||
66 | !href module=adm/class/adddoc&job=prop&doc=$i $wims_name_change |
||
12004 | obado | 67 | </td><td> |
12335 | bpr | 68 | !set doc_$i=!positionof item doc $i in $(data[3;]) |
12004 | obado | 69 | <input type="number" name="doc_$i" size="5" value="$(doc_$i)" id="doc_$i" /> |
70 | </td> |
||
71 | </tr> |
||
12335 | bpr | 72 | !next i |
73 | !for i=1 to $sheetcnt |
||
74 | !set sh=!record $i of wimshome/log/classes/$wims_class/sheets/.sheets |
||
75 | !distribute lines $sh into ac,t_,ti |
||
76 | $table_tr |
||
77 | <td> |
||
12569 | bpr | 78 | !set wims_ref_class=wims_sheet_item |
12335 | bpr | 79 | <label for="sheet_$i"> |
80 | !href module=adm/class/sheet&sheet=$i $ti |
||
81 | </label> |
||
82 | </td><td class="wims_status_$ac"> |
||
83 | $(wims_name_shstatus[$ac+1]) |
||
84 | </td><td> |
||
85 | !set sheet_$i=!positionof item sheet $i in $(data[3;]) |
||
86 | <input type="number" name="sheet_$i" size="5" value="$(sheet_$i)" id="sheet_$i" /> |
||
87 | </td> |
||
88 | </tr> |
||
89 | !next i |
||
90 | !set examcnt=!recordcnt wimshome/log/classes/$wims_class/exams/.exams |
||
91 | !for i=1 to $examcnt |
||
92 | !set sh=!record $i of wimshome/log/classes/$wims_class/exams/.exams |
||
93 | !distribute lines $sh into ac,t_,d_,ti |
||
94 | $table_tr |
||
12004 | obado | 95 | <td> |
96 | <label for="exam_$i"> |
||
12569 | bpr | 97 | !set wims_ref_class=wims_exam_item |
12335 | bpr | 98 | !href module=adm/class/exam&exam=$i $ti |
12004 | obado | 99 | </label> |
100 | </td><td class="wims_status_$ac"> |
||
101 | $(wims_name_shstatus[$ac+1]) |
||
102 | </td><td> |
||
12335 | bpr | 103 | !set exam_$i=!positionof item exam $i in $(data[3;]) |
12004 | obado | 104 | <input type="number" name="exam_$i" size="5" value="$(exam_$i)" id="exam_$i"/> |
105 | </td> |
||
106 | </tr> |
||
12335 | bpr | 107 | !next i |
108 | !set votecnt=!recordcnt wimshome/log/classes/$wims_class/vote/.votes |
||
109 | !for i=1 to $votecnt |
||
110 | !set sh=!record $i of wimshome/log/classes/$wims_class/vote/.votes |
||
111 | !distribute lines $sh into st_,ti_,op_,re_ |
||
112 | $table_tr |
||
113 | <td> |
||
114 | <label for="vote_$i"> |
||
12569 | bpr | 115 | !set wims_ref_class=wims_vote_item |
12335 | bpr | 116 | !href module=adm/vote&job=read&vote=$i $ti_ |
117 | </label> |
||
118 | </td><td class="wims_status_$st_"> |
||
119 | $(wims_name_status[$st_+1]) |
||
120 | </td><td> |
||
121 | !set vote_$i=!positionof item vote $i in $(data[3;]) |
||
122 | <input type="number" name="vote_$i" size="5" value="$(vote_$i)" id="vote_$i"/> |
||
123 | </td> |
||
124 | </tr> |
||
125 | !next i |
||
12338 | bpr | 126 | !for i=1 to $toolcnt |
127 | !set sh=!record $i of wimshome/log/classes/$wims_class/tool/.toolindex |
||
128 | !distribute lines $sh into s_,t_,ti,d_,o_ |
||
129 | $table_tr |
||
130 | <td> |
||
131 | <label for="tool_$i"> |
||
12569 | bpr | 132 | !set wims_ref_class=wims_tool_item |
12338 | bpr | 133 | !href module=$s_&$t_ $ti |
134 | </label> |
||
135 | </td><td class="wims_status_$o_"> |
||
136 | !item $[$o_+1] of $wims_name_status |
||
137 | !set wims_ref_class=wims_button |
||
138 | !href module=adm/class/adddoc&job=prop&tool=$i $wims_name_change |
||
139 | </td><td> |
||
140 | !set doc_$i=!positionof item tool $i in $(data[3;]) |
||
141 | <input type="number" name="tool_$i" size="5" value="$(tool_$i)" id="tool_$i" /> |
||
142 | </td> |
||
143 | </tr> |
||
144 | !next i |
||
12569 | bpr | 145 | !for i=1 to $glossarycnt |
146 | !set sh=!record $i of wimshome/log/classes/$wims_class/tool/.glossaryindex |
||
147 | !distribute lines $sh into o_,ti |
||
148 | $table_tr |
||
149 | <td> |
||
150 | <label for="glossary_$i"> |
||
151 | !set wims_ref_class=wims_glossary_item |
||
152 | !href module=adm/tool/glossary&gl=$i $ti |
||
153 | </label> |
||
154 | </td><td class="wims_status_$o_"> |
||
155 | !item $[$o_+1] of $wims_name_status |
||
156 | !set wims_ref_class=wims_button |
||
157 | !href module=adm/class/glossary&job=chstatus&gl=$i $wims_name_change |
||
158 | </td><td> |
||
159 | !set glossary_$i=!positionof item glossary $i in $(data[3;]) |
||
160 | <input type="number" name="glossary_$i" size="5" value="$(glossary_$i)" id="glossary_$i" /> |
||
161 | </td> |
||
162 | </tr> |
||
163 | !next i |
||
11851 | bpr | 164 | $table_end |
6235 | bpr | 165 | <div class="wimscenter wimsform"><input type="submit" value="$wims_name_tosave" /></div> |
5926 | bpr | 166 | !formend |