Rev 11551 | Rev 11554 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 11551 | Rev 11552 | ||
---|---|---|---|
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 |
|
60 | !set list_category=oef,document,exercise,tool,recreation,deductio |
61 | !if $modreq=.new |
61 | !if $modreq=.new |
62 | <div class="field box"> |
62 | <div class="field box"> |
63 | <strong>$wims_name_Type</strong> |
63 | <strong>$wims_name_Type</strong> |
64 | !set wims_ref_class=wims_button_help float_right |
64 | !set wims_ref_class=wims_button_help float_right |
65 | !href cmd=help&special_parm=type $wims_name_help |
65 | !href cmd=help&special_parm=type $wims_name_help |
Line 229... | Line 229... | ||
229 | <input type="submit" value="$wims_name_giveup" class="wims_secondary_button"/> |
229 | <input type="submit" value="$wims_name_giveup" class="wims_secondary_button"/> |
230 | </div> |
230 | </div> |
231 | 231 | ||
232 | !formend |
232 | !formend |
233 | !if $modreq=.new |
233 | !if $modreq=.new |
- | 234 | <script type="text/javascript"> |
|
234 |
|
235 | /*<![CDATA[*/ |
235 | $$( document ).ready(function() { |
236 | $$( document ).ready(function() { |
236 | $$("#i_common_images").toggle($$('#i_category_1').is(':checked')); |
237 | $$("#i_common_images").toggle($$('#i_category_1').is(':checked')); |
237 | $$('#i_category_1').click(function(){ |
238 | $$('#i_category_1').click(function(){ |
238 | if ($$(this).is(':checked')) { |
239 | if ($$(this).is(':checked')) { |
239 | $$("#i_common_images").slideDown(); |
240 | $$("#i_common_images").slideDown(); |
240 | } else { |
241 | } else { |
241 | $$("#i_common_images").slideUp(); |
242 | $$("#i_common_images").slideUp(); |
242 | } |
243 | } |
243 | }); |
244 | }); |
244 | }); |
245 | }); |
- | 246 | /*]]>*/ |
|
245 | </script> |
247 | </script> |
246 | !endif |
248 | !endif |