Wiki-Quellcode von Homeopaths

Version 8.94 von Jip-jan Alunkel am Dezember 08, 18:25

Verstecke letzte Bearbeiter
Jip-jan Alunkel 2.3 1 {{include reference="assets.pagemaker.macros"/}}
2
3 {{velocity}}
Jip-jan Alunkel 8.30 4 #set($discard = $services.localization.use('document', 'homeopaths.Code.translations'))
Jip-jan Alunkel 2.3 5 #set($discard = $services.localization.use('document', 'assets.pagemaker.translations'))
6 #set($discard = $xwiki.ssx.use('assets.pagemaker.WebHome', {'minify': false}))
7 #set($discard = $xwiki.jsx.use('assets.pagemaker.WebHome', {'minify': false}))
8
Jip-jan Alunkel 8.14 9 {{html wiki="false" clean="false"}}
Jip-jan Alunkel 8.24 10 <p>
Jip-jan Alunkel 8.23 11 All about homeopaths.
Jip-jan Alunkel 8.73 12 </p>
13 <div id="homeopaths_map"></div>
Jip-jan Alunkel 8.44 14
Jip-jan Alunkel 8.25 15 <h2>Add your practice to the map</h2>
Jip-jan Alunkel 2.3 16 #set($form_start = {
17 "id": "homeoworld_form",
Jip-jan Alunkel 8.3 18 "product": "practice",
Jip-jan Alunkel 2.3 19 "method": "post",
20 "url": "",
21 "use_captcha": "false"
22 })
23 #createFormStart($form_start)
Jip-jan Alunkel 8.4 24 #set($practice_name = {
25 "id" : "practice_name",
26 "type" : "text",
27 "required" : "true",
28 "label" : "Name of your practice",
29 "aria-label" : "Enter the name of your practice",
30 "placeholder" : "$services.localization.render('homeopaths.wordgroup.practice_name.placeholder')",
31 "data-pattern" : "^[a-zA-ZÀ-ÖÙ-öù-ÿĀ-žḀ-ỿ]+[a-zA-ZÀ-ÖÙ-öù-ÿĀ-žḀ-ỿ0-9- ]*$",
32 "data-error-response-type" : "use_label_definite_1",
33 "data-auto-first-capital" : "true",
34 "data-query-type" : "XWQL",
35 "data-query-reference" : "assets.pagemaker.XWQL.matchTitle",
36 "data-query-scope" : "homeopaths",
37 "data-query-list-type" : "suggest-negate",
38 "data-query-list-header" : "$services.localization.render('pagemaker.line.suggest_negate_list')",
39 "data-query-list-contents" : "value",
40 "data-create-page" : "true",
41 "help-block" : 'This will be used as the title of your practice page. The first character must be a letter.'
42 })
43 #createFormElement($practice_name)
44
Jip-jan Alunkel 8.3 45 #set($country = {
46 "id" : "country",
47 "type" : "text",
48 "required" : "true",
49 "label" : "Country of practice residence",
50 "aria-label" : "Choose the country",
51 "placeholder" : "$services.localization.render('homeopaths.word.country.placeholder')",
52 "data-set-space": "true",
Jip-jan Alunkel 8.9 53 "data-parent-space": "homeopaths",
Jip-jan Alunkel 8.3 54 "data-error-response-type" : "use_label_definite_1",
55 "data-auto-first-capital" : "true",
56 "data-query-type" : "JSON",
57 "data-query-reference" : "assets.pagemaker.JSON.countries",
58 "data-query-list-type" : "suggest-select",
59 "data-query-list-header" : "$services.localization.render('pagemaker.line.suggest_select_list')",
Jip-jan Alunkel 8.5 60 "data-query-list-contents" : "key",
Jip-jan Alunkel 8.3 61 "data-query-list-editable" : "false",
62 "help-block" : 'Type and select the country where your practice resides.'
63 })
64 #createFormElement($country)
Jip-jan Alunkel 6.2 65
Jip-jan Alunkel 8.8 66 #*
67 "data-create-xobj" : "true",
68 "data-xobj-classname" : "homeopaths.Code.homeopathsClass",
69 "data-xobj-fieldname" : "country",
70 *#
71
Jip-jan Alunkel 2.3 72 #set($address = {
73 "id" : "address",
Jip-jan Alunkel 8.2 74 "type" : "address",
Jip-jan Alunkel 2.3 75 "required" : "true",
76 "label" : "Address of your practice",
77 "aria-label" : "Input and select the address of your practice",
78 "placeholder" : "$services.localization.render('homeopaths.multiword.address.placeholder')",
79 "data-error-response-type" : "use_label_definite_1",
80 "data-auto-first-capital" : "true",
Jip-jan Alunkel 4.2 81 "data-query-type" : "address",
82 "data-query-reference" : "",
Jip-jan Alunkel 2.3 83 "data-query-list-type" : "suggest-select",
84 "data-query-list-header" : "$services.localization.render('pagemaker.line.suggest_select_list')",
85 "data-query-list-contents" : "value/key",
86 "data-query-list-editable" : "false",
87 "data-create-xobj" : "true",
88 "data-xobj-classname" : "homeopaths.Code.homeopathsClass",
89 "data-xobj-fieldname" : "address",
90 "help-block" : 'Input and select the address of your practice.'
91 })
92 #createFormElement($address)
93 #set($submit = {
Jip-jan Alunkel 8.7 94 "id" : "create_practice",
95 "button-text" : "Add practice",
Jip-jan Alunkel 2.3 96 "help-block" : "Please remind yourself to always anonymize the case."
97 })
98 #createSubmit($submit)
99 #set($form_end = {
100 "use_captcha": "false"
101 })
102 #createFormEnd($form_end)
103