Código fuente wiki de Homeopaths

Versión 8.19 por Jip-jan Alunkel el diciembre 08, 00:31

Mostrar los últimos autores
1 {{include reference="assets.pagemaker.macros"/}}
2
3 {{velocity}}
4 #set($discard = $services.localization.use('document', 'cases.Code.translations'))
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
9 {{html wiki="false" clean="false"}}
10 <div id="homeopaths_map"></div>
11
12 <script>
13 var map = L.map('homeopaths_map').setView([0, 0], 2);
14 L.tileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.png', {
15 maxZoom: 19,
16 attribution: ''
17 }).addTo(map);
18 map.attributionControl.setPrefix('');
19 </script>
20
21 #set($form_start = {
22 "id": "homeoworld_form",
23 "product": "practice",
24 "method": "post",
25 "url": "",
26 "use_captcha": "false"
27 })
28 #createFormStart($form_start)
29 #set($practice_name = {
30 "id" : "practice_name",
31 "type" : "text",
32 "required" : "true",
33 "label" : "Name of your practice",
34 "aria-label" : "Enter the name of your practice",
35 "placeholder" : "$services.localization.render('homeopaths.wordgroup.practice_name.placeholder')",
36 "data-pattern" : "^[a-zA-ZÀ-ÖÙ-öù-ÿĀ-žḀ-ỿ]+[a-zA-ZÀ-ÖÙ-öù-ÿĀ-žḀ-ỿ0-9- ]*$",
37 "data-error-response-type" : "use_label_definite_1",
38 "data-auto-first-capital" : "true",
39 "data-query-type" : "XWQL",
40 "data-query-reference" : "assets.pagemaker.XWQL.matchTitle",
41 "data-query-scope" : "homeopaths",
42 "data-query-list-type" : "suggest-negate",
43 "data-query-list-header" : "$services.localization.render('pagemaker.line.suggest_negate_list')",
44 "data-query-list-contents" : "value",
45 "data-create-page" : "true",
46 "help-block" : 'This will be used as the title of your practice page. The first character must be a letter.'
47 })
48 #createFormElement($practice_name)
49
50 #set($country = {
51 "id" : "country",
52 "type" : "text",
53 "required" : "true",
54 "label" : "Country of practice residence",
55 "aria-label" : "Choose the country",
56 "placeholder" : "$services.localization.render('homeopaths.word.country.placeholder')",
57 "data-set-space": "true",
58 "data-parent-space": "homeopaths",
59 "data-error-response-type" : "use_label_definite_1",
60 "data-auto-first-capital" : "true",
61 "data-query-type" : "JSON",
62 "data-query-reference" : "assets.pagemaker.JSON.countries",
63 "data-query-list-type" : "suggest-select",
64 "data-query-list-header" : "$services.localization.render('pagemaker.line.suggest_select_list')",
65 "data-query-list-contents" : "key",
66 "data-query-list-editable" : "false",
67 "help-block" : 'Type and select the country where your practice resides.'
68 })
69 #createFormElement($country)
70
71 #*
72 "data-create-xobj" : "true",
73 "data-xobj-classname" : "homeopaths.Code.homeopathsClass",
74 "data-xobj-fieldname" : "country",
75 *#
76
77 #set($address = {
78 "id" : "address",
79 "type" : "address",
80 "required" : "true",
81 "label" : "Address of your practice",
82 "aria-label" : "Input and select the address of your practice",
83 "placeholder" : "$services.localization.render('homeopaths.multiword.address.placeholder')",
84 "data-error-response-type" : "use_label_definite_1",
85 "data-auto-first-capital" : "true",
86 "data-query-type" : "address",
87 "data-query-reference" : "",
88 "data-query-list-type" : "suggest-select",
89 "data-query-list-header" : "$services.localization.render('pagemaker.line.suggest_select_list')",
90 "data-query-list-contents" : "value/key",
91 "data-query-list-editable" : "false",
92 "data-create-xobj" : "true",
93 "data-xobj-classname" : "homeopaths.Code.homeopathsClass",
94 "data-xobj-fieldname" : "address",
95 "help-block" : 'Input and select the address of your practice.'
96 })
97 #createFormElement($address)
98 #set($submit = {
99 "id" : "create_practice",
100 "button-text" : "Add practice",
101 "help-block" : "Please remind yourself to always anonymize the case."
102 })
103 #createSubmit($submit)
104 #set($form_end = {
105 "use_captcha": "false"
106 })
107 #createFormEnd($form_end)