Rev 11552 | Rev 11555 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 11552 | Rev 11554 | ||
---|---|---|---|
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 | !set list_category=oef,document,exercise,tool,recreation,deductio |
61 | !if $modreq=.new |
62 | !if $modreq=.new |
62 | <div class="field box"> |
63 | <div class="field box"> |
63 | <strong>$wims_name_Type</strong> |
64 | <strong>$wims_name_Type</strong> |
64 | !set wims_ref_class=wims_button_help float_right |
65 | !set wims_ref_class=wims_button_help float_right |
65 | !href cmd=help&special_parm=type $wims_name_help |
66 | !href cmd=help&special_parm=type $wims_name_help |
66 | !set wims_formselect_switch=multiple |
67 | !set wims_formselect_switch=multiple |
67 | !set wims_ref_class=wims_formradio |
68 | !set wims_ref_class=wims_formradio |
68 | !formcheckbox i_category list $list_category prompt $name_type |
69 | !formcheckbox i_category list $list_category prompt $name_type |
69 | </div> |
70 | </div> |
- | 71 | ||
70 | <div class="field box" id="i_common_images"> |
72 | <div class="field box" id="i_common_images"> |
71 | <strong>$name_images</strong> |
73 | <strong>$name_images</strong> |
72 | !set wims_ref_class=wims_button_help float_right |
74 | !set wims_ref_class=wims_button_help float_right |
73 | !href cmd=help&special_parm=common_images $wims_name_help |
75 | !href cmd=help&special_parm=common_images $wims_name_help |
74 | !set wims_formselect_switch=multiple |
76 | !set wims_formselect_switch=multiple |
Line 84... | Line 86... | ||
84 | !set p_=!positionof item $(i_category[1]) in $list_category |
86 | !set p_=!positionof item $(i_category[1]) in $list_category |
85 | $(name_type[$p_]) |
87 | $(name_type[$p_]) |
86 | </div> |
88 | </div> |
87 | 89 | ||
88 | !endif |
90 | !endif |
- | 91 | ||
89 | <div class="field box"> |
92 | <div class="field box"> |
90 | <label for="i_domain">$wims_name_Domain</label> |
93 | <label for="i_domain">$wims_name_Domain</label> |
91 | !set wims_ref_class=wims_button_help float_right |
94 | !set wims_ref_class=wims_button_help float_right |
92 | !href cmd=help&special_parm=domain $wims_name_help |
95 | !href cmd=help&special_parm=domain $wims_name_help |
93 | <input type="text" name="i_domain" id="i_domain" class="multicomplete" value="$i_domain" /> |
96 | <input type="text" name="i_domain" id="i_domain" class="multicomplete" value="$i_domain" /> |
94 | <script type="text/javascript"> |
97 | <script type="text/javascript"> |
95 | /*<![CDATA[*/ |
98 | /*<![CDATA[*/ |
- | 99 | // Tags in domain.json are only in english. |
|
96 | var tags = |
100 | var tags = |
97 | !record 0 of wimshome/public_html/bases/sys/domain/domain.json |
101 | !record 0 of wimshome/public_html/bases/sys/domain/domain.json |
98 |
|
102 | ; |
99 |
|
103 | set_multicomplete(tags); |
100 | /*]]>*/ |
104 | /*]]>*/ |
101 | </script> |
105 | </script> |
102 | </div> |
106 | </div> |
103 | <div class="field box"> |
107 | <div class="field box"> |
104 | <label for="i_keywords">$wims_name_Keywords</label> |
108 | <label for="i_keywords">$wims_name_Keywords</label> |
105 | !set wims_ref_class=wims_button_help float_right |
109 | !set wims_ref_class=wims_button_help float_right |
106 | !href cmd=help&special_parm=keywords $wims_name_help |
110 | !href cmd=help&special_parm=keywords $wims_name_help |
107 | <input type="text" name="i_keywords" id="i_keywords" value="$i_keywords" /> |
111 | <input type="text" name="i_keywords" id="i_keywords" value="$i_keywords" /> |
108 | </div> |
112 | </div> |
109 | <div class="field box"> |
113 | <div class="field box"> |
110 | <strong>$wims_name_Levels</strong> |
114 | <strong>$wims_name_Levels</strong> |
111 | !set wims_ref_class=wims_formradio |
115 | !set wims_ref_class=wims_formradio |
112 | !formcheckbox i_level list $levellist |
116 | !formcheckbox i_level list $levellist |
113 | <br /><span class="small">$name_levellist</span> |
117 | <br /><span class="small">$name_levellist</span> |
Line 149... | Line 153... | ||
149 | </div> |
153 | </div> |
150 | <div class="field box halfwidth"> |
154 | <div class="field box halfwidth"> |
151 | <label for="i_maintainer_address">$wims_name_maint_email</label> |
155 | <label for="i_maintainer_address">$wims_name_maint_email</label> |
152 | <input type="text" name="i_maintainer_address" id="i_maintainer_address" value="$i_maintainer_address" /> |
156 | <input type="text" name="i_maintainer_address" id="i_maintainer_address" value="$i_maintainer_address" /> |
153 | <div class="formHelp tt"> </div> |
157 | <div class="formHelp tt"> </div> |
154 | </div> |
158 | </div> |
155 | <div class="field box halfwidth"> |
159 | <div class="field box halfwidth"> |
156 | <label for="i_translator">$wims_name_Translator</label> |
160 | <label for="i_translator">$wims_name_Translator</label> |
157 | <input type="text" name="i_translator" id="i_translator" value="$i_translator" /> |
161 | <input type="text" name="i_translator" id="i_translator" value="$i_translator" /> |
158 | <div class="formHelp tt">$wims_name_firstname, $wims_name_lastname</div> |
162 | <div class="formHelp tt">$wims_name_firstname, $wims_name_lastname</div> |
159 | </div> |
163 | </div> |
160 | <div class="field box halfwidth"> |
164 | <div class="field box halfwidth"> |
Line 220... | Line 224... | ||
220 | !formselect i_copyright list gnu prompt GNU General Public License |
224 | !formselect i_copyright list gnu prompt GNU General Public License |
221 | </div> |
225 | </div> |
222 | </fieldset> |
226 | </fieldset> |
223 | </div> |
227 | </div> |
224 | </div><!-- id="tabs" --> |
228 | </div><!-- id="tabs" --> |
225 | 229 | ||
226 | <div class="wimscenter wimsform"> |
230 | <div class="wimscenter wimsform"> |
227 | <input type="submit" name="inddef" value="$wims_name_tosave" /> |
231 | <input type="submit" name="inddef" value="$wims_name_tosave" /> |
228 | $ |
232 | $ |
229 | <input type="submit" value="$wims_name_giveup" class="wims_secondary_button"/> |
233 | <input type="submit" value="$wims_name_giveup" class="wims_secondary_button"/> |
230 | </div> |
234 | </div> |
231 | 235 | ||
232 | !formend |
236 | !formend |
- | 237 | ||
233 | !if $modreq=.new |
238 | !if $modreq=.new and $jquery_defined=yes |
234 | <script type="text/javascript"> |
239 | <script type="text/javascript"> |
235 | /*<![CDATA[*/ |
240 | /*<![CDATA[*/ |
236 | $$( document ).ready(function() { |
241 | $$( document ).ready(function() { |
237 | $$("#i_common_images").toggle($$('#i_category_1').is(':checked')); |
242 | $$("#i_common_images").toggle($$('#i_category_1').is(':checked')); |
238 | $$('#i_category_1').click(function(){ |
243 | $$('#i_category_1').click(function(){ |
Line 244... | Line 249... | ||
244 | }); |
249 | }); |
245 | }); |
250 | }); |
246 | /*]]>*/ |
251 | /*]]>*/ |
247 | </script> |
252 | </script> |
248 | !endif |
253 | !endif |
- | 254 |