Rev 11405 | Rev 11552 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 11405 | Rev 11551 | ||
---|---|---|---|
Line 55... | Line 55... | ||
55 | </div> |
55 | </div> |
56 | <div class="field box"> |
56 | <div class="field box"> |
57 | <label for="i_description">$wims_name_Description</label> |
57 | <label for="i_description">$wims_name_Description</label> |
58 | <input type="text" name="i_description" id="i_description" value="$i_description" required="required" /> |
58 | <input type="text" name="i_description" id="i_description" value="$i_description" required="required" /> |
59 | </div> |
59 | </div> |
- | 60 | !set list_category=oef,document,exercise,tool,recreation,deductio |
|
- | 61 | !if $modreq=.new |
|
60 | <div class="field box"> |
62 | <div class="field box"> |
61 | <strong>$wims_name_Type</strong> |
63 | <strong>$wims_name_Type</strong> |
62 | !set wims_ref_class=wims_button_help float_right |
64 | !set wims_ref_class=wims_button_help float_right |
63 | !href cmd=help&special_parm=type $wims_name_help |
65 | !href cmd=help&special_parm=type $wims_name_help |
64 | !set wims_formselect_switch=multiple |
66 | !set wims_formselect_switch=multiple |
65 | !set wims_ref_class=wims_formradio |
67 | !set wims_ref_class=wims_formradio |
66 | !formcheckbox i_category list |
68 | !formcheckbox i_category list $list_category prompt $name_type |
67 | prompt $name_type |
- | |
68 | </div> |
69 | </div> |
- | 70 | <div class="field box" id="i_common_images"> |
|
- | 71 | <strong>$name_images</strong> |
|
- | 72 | !set wims_ref_class=wims_button_help float_right |
|
- | 73 | !href cmd=help&special_parm=common_images $wims_name_help |
|
- | 74 | !set wims_formselect_switch=multiple |
|
- | 75 | !set wims_ref_class=wims_formradio |
|
- | 76 | !formradio i_common_images list yes,no prompt $wims_name_yes, $wims_name_no |
|
- | 77 | <div class="formHelp">$name_help_images</div> |
|
- | 78 | </div> |
|
- | 79 | !else |
|
- | 80 | <div class="field box"> |
|
- | 81 | <strong>$wims_name_Type</strong> |
|
- | 82 | !set wims_ref_class=wims_button_help float_right |
|
- | 83 | !href cmd=help&special_parm=type $wims_name_help |
|
- | 84 | !set p_=!positionof item $(i_category[1]) in $list_category |
|
- | 85 | $(name_type[$p_]) |
|
- | 86 | </div> |
|
- | 87 | ||
- | 88 | !endif |
|
69 | <div class="field box"> |
89 | <div class="field box"> |
70 | <label for="i_domain">$wims_name_Domain</label> |
90 | <label for="i_domain">$wims_name_Domain</label> |
71 | !set wims_ref_class=wims_button_help float_right |
91 | !set wims_ref_class=wims_button_help float_right |
72 | !href cmd=help&special_parm=domain $wims_name_help |
92 | !href cmd=help&special_parm=domain $wims_name_help |
73 | <input type="text" name="i_domain" id="i_domain" class="multicomplete" value="$i_domain" /> |
93 | <input type="text" name="i_domain" id="i_domain" class="multicomplete" value="$i_domain" /> |
Line 96... | Line 116... | ||
96 | <strong>$wims_name_Scoring</strong> |
116 | <strong>$wims_name_Scoring</strong> |
97 | !default i_scoring=no |
117 | !default i_scoring=no |
98 | !set wims_ref_class=wims_formradio |
118 | !set wims_ref_class=wims_formradio |
99 | !formradio i_scoring list yes,no prompt $wims_name_yes, $wims_name_no |
119 | !formradio i_scoring list yes,no prompt $wims_name_yes, $wims_name_no |
100 | <div class="formHelp">$wims_name_Scoringhelp</div> |
120 | <div class="formHelp">$wims_name_Scoringhelp</div> |
101 | </div> |
121 | </div> |
102 | </fieldset> |
122 | </fieldset> |
103 | </div> |
123 | </div> |
104 | 124 | ||
105 | <div id="Author"> |
125 | <div id="Author"> |
106 | <fieldset class="property_fields blockcenter"> |
126 | <fieldset class="property_fields blockcenter"> |
107 | <legend>$wims_name_Author</legend> |
127 | <legend>$wims_name_Author</legend> |
108 | <div class="field box halfwidth"> |
128 | <div class="field box halfwidth"> |
109 | <label for="i_author">$wims_name_Author</label> |
129 | <label for="i_author">$wims_name_Author</label> |
Line 116... | Line 136... | ||
116 | </div> |
136 | </div> |
117 | <div class="field box halfwidth"> |
137 | <div class="field box halfwidth"> |
118 | <label for="i_address">$wims_name_auth_email</label> |
138 | <label for="i_address">$wims_name_auth_email</label> |
119 | !default i_address=$auth_email |
139 | !default i_address=$auth_email |
120 | <input type="text" name="i_address" id="i_address" value="$i_address" /> |
140 | <input type="text" name="i_address" id="i_address" value="$i_address" /> |
121 | <div class="formHelp tt"> </div> |
141 | <div class="formHelp tt"> </div> |
122 | </div> |
142 | </div> |
123 | <div class="field box halfwidth"> |
143 | <div class="field box halfwidth"> |
124 | <label for="i_maintainer">$wims_name_Maintainer</label> |
144 | <label for="i_maintainer">$wims_name_Maintainer</label> |
125 | !set wims_ref_class=wims_button_help float_right |
145 | !set wims_ref_class=wims_button_help float_right |
126 | !href cmd=help&special_parm=maintainer $wims_name_help |
146 | !href cmd=help&special_parm=maintainer $wims_name_help |
127 | <input type="text" name="i_maintainer" id="i_maintainer" value="$i_maintainer" /> |
147 | <input type="text" name="i_maintainer" id="i_maintainer" value="$i_maintainer" /> |
128 | <div class="formHelp tt">$wims_name_firstname, $wims_name_lastname</div> |
148 | <div class="formHelp tt">$wims_name_firstname, $wims_name_lastname</div> |
129 | </div> |
149 | </div> |
130 | <div class="field box halfwidth"> |
150 | <div class="field box halfwidth"> |
131 | <label for="i_maintainer_address">$wims_name_maint_email</label> |
151 | <label for="i_maintainer_address">$wims_name_maint_email</label> |
132 | <input type="text" name="i_maintainer_address" id="i_maintainer_address" value="$i_maintainer_address" /> |
152 | <input type="text" name="i_maintainer_address" id="i_maintainer_address" value="$i_maintainer_address" /> |
133 | <div class="formHelp tt"> </div> |
153 | <div class="formHelp tt"> </div> |
134 | </div> |
154 | </div> |
135 | <div class="field box halfwidth"> |
155 | <div class="field box halfwidth"> |
136 | <label for="i_translator">$wims_name_Translator</label> |
156 | <label for="i_translator">$wims_name_Translator</label> |
137 | <input type="text" name="i_translator" id="i_translator" value="$i_translator" /> |
157 | <input type="text" name="i_translator" id="i_translator" value="$i_translator" /> |
138 | <div class="formHelp tt">$wims_name_firstname, $wims_name_lastname</div> |
158 | <div class="formHelp tt">$wims_name_firstname, $wims_name_lastname</div> |
139 | </div> |
159 | </div> |
140 | <div class="field box halfwidth"> |
160 | <div class="field box halfwidth"> |
141 | <label for="i_translator_address">$wims_name_tr_email</label> |
161 | <label for="i_translator_address">$wims_name_tr_email</label> |
142 | <input type="text" name="i_translator_address" id="i_translator_address" value="$i_translator_address" /> |
162 | <input type="text" name="i_translator_address" id="i_translator_address" value="$i_translator_address" /> |
143 | </div> |
163 | </div> |
144 | </fieldset> |
164 | </fieldset> |
145 | </div> |
165 | </div> |
Line 204... | Line 224... | ||
204 | </div><!-- id="tabs" --> |
224 | </div><!-- id="tabs" --> |
205 | 225 | ||
206 | <div class="wimscenter wimsform"> |
226 | <div class="wimscenter wimsform"> |
207 | <input type="submit" name="inddef" value="$wims_name_tosave" /> |
227 | <input type="submit" name="inddef" value="$wims_name_tosave" /> |
208 | $ |
228 | $ |
209 | <input type="submit" value="$wims_name_giveup" class=" |
229 | <input type="submit" value="$wims_name_giveup" class="wims_secondary_button"/> |
210 | </div> |
230 | </div> |
211 | 231 | ||
212 | !formend |
232 | !formend |
- | 233 | !if $modreq=.new |
|
- | 234 | <script> |
|
- | 235 | $$( document ).ready(function() { |
|
- | 236 | $$("#i_common_images").toggle($$('#i_category_1').is(':checked')); |
|
- | 237 | $$('#i_category_1').click(function(){ |
|
- | 238 | if ($$(this).is(':checked')) { |
|
- | 239 | $$("#i_common_images").slideDown(); |
|
- | 240 | } else { |
|
- | 241 | $$("#i_common_images").slideUp(); |
|
- | 242 | } |
|
- | 243 | }); |
|
213 | 244 | }); |
|
- | 245 | </script> |
|
- | 246 | !endif |