1 | {html_head} |
---|
2 | <style> |
---|
3 | {literal} |
---|
4 | .osm_layout { |
---|
5 | text-align: left; |
---|
6 | border: 2px solid rgb(221, 221, 221); |
---|
7 | padding: 1em; |
---|
8 | margin: 1em; |
---|
9 | } |
---|
10 | {/literal} |
---|
11 | </style> |
---|
12 | {/html_head} |
---|
13 | |
---|
14 | This plugin display geographical location in your gallery using <a href="http://www.openstreetmap.org/" target="_blank">OpenStreetMap</a>. |
---|
15 | <br/><br/> |
---|
16 | Refer to the <a href="https://github.com/xbgmsharp/piwigo-openstreetmap/wiki" target="_blanck">plugin documentation</a> for additional information. Create an <a href="https://github.com/xbgmsharp/piwigo-openstreetmap/issues" target="_blanck">issue</a> for support, or feedback, or feature request. |
---|
17 | |
---|
18 | <div class="osm_layout"> |
---|
19 | <legend>{'Statistics'|@translate}</legend> |
---|
20 | <ul> |
---|
21 | <li class="update_summary_new">{$NB_GEOTAGGED} geotagged items in your gallery</li> |
---|
22 | </ul> |
---|
23 | </div> |
---|
24 | |
---|
25 | <form method="post" action="" class="properties"> |
---|
26 | <fieldset> |
---|
27 | <legend>{'R_MAP'|@translate}</legend> |
---|
28 | <ul> |
---|
29 | <li> |
---|
30 | <label>{'SHOWLOCATION'|@translate} : </label> |
---|
31 | <label><input type="radio" name="osm_right_panel" value="true" {if $right_panel.enabled}checked="checked"{/if}/> {'Yes'|@translate}</label> |
---|
32 | <label><input type="radio" name="osm_right_panel" value="false" {if not $right_panel.enabled}checked="checked"{/if}/> {'No'|@translate}</label> |
---|
33 | <br/><small>{'SHOWLOCATION_DESC'|@translate}</small> |
---|
34 | </li> |
---|
35 | <li> |
---|
36 | <label>{'ADD_BEFORE'|@translate} : </label> |
---|
37 | <select name="osm_add_before"> |
---|
38 | {html_options options=$AVAILABLE_ADD_BEFORE selected=$right_panel.add_before} |
---|
39 | </select> |
---|
40 | <br/><small>{'ADD_BEFORE_DESC'|@translate}</small> |
---|
41 | </li> |
---|
42 | <li> |
---|
43 | <label>{'HEIGHT'|@translate} : </label> |
---|
44 | <input type="text" value="{$right_panel.height}" name="osm_height" size="4" required/> |
---|
45 | <br/><small>{'HEIGHT_DESC'|@translate}</small> |
---|
46 | </li> |
---|
47 | <li> |
---|
48 | <label>{'ZOOM'|@translate} : </label> |
---|
49 | <select name="osm_zoom"> |
---|
50 | {html_options options=$AVAILABLE_ZOOM selected=$right_panel.zoom} |
---|
51 | </select> |
---|
52 | <br/><small>{'ZOOM_DESC'|@translate}</small> |
---|
53 | </li> |
---|
54 | <li> |
---|
55 | <label>{'RIGHTLINK'|@translate} : </label> |
---|
56 | <input type="text" value="{$right_panel.link}" name="osm_right_link" size="10"/> |
---|
57 | <br/><small>{'RIGHTLINK_DESC'|@translate}</small> |
---|
58 | </li> |
---|
59 | <li> |
---|
60 | <label>{'RIGHTLINKCSS'|@translate} : </label> |
---|
61 | <input type="text" value="{$right_panel.linkcss}" name="osm_right_linkcss" size="60" placeholder="vertical-align: top; color: red;"/> |
---|
62 | <br/><small>{'RIGHTLINKCSS_DESC'|@translate}</small> |
---|
63 | </li> |
---|
64 | <li> |
---|
65 | <label>{'SHOWOSM'|@translate} : </label> |
---|
66 | <label><input type="radio" name="osm_showosm" value="true" {if $right_panel.showosm}checked="checked"{/if}/> {'Yes'|@translate}</label> |
---|
67 | <label><input type="radio" name="osm_showosm" value="false" {if not $right_panel.showosm}checked="checked"{/if}/> {'No'|@translate}</label> |
---|
68 | <br/><small>{'SHOWOSM_DESC'|@translate}</small> |
---|
69 | </li> |
---|
70 | </ul> |
---|
71 | </fieldset> |
---|
72 | <fieldset> |
---|
73 | <legend>{'L_MAP'|@translate}</legend> |
---|
74 | <ul> |
---|
75 | <li> |
---|
76 | <label>{'SHOWWORLDMAPLEFT'|@translate} : </label> |
---|
77 | <label><input type="radio" name="osm_left_menu" value="true" {if $left_menu.enabled}checked="checked"{/if}/> {'Yes'|@translate}</label> |
---|
78 | <label><input type="radio" name="osm_left_menu" value="false" {if not $left_menu.enabled}checked="checked"{/if}/> {'No'|@translate}</label> |
---|
79 | <br/><small>{'SHOWWORLDMAPLEFT_DESC'|@translate}</small> |
---|
80 | </li> |
---|
81 | <li> |
---|
82 | <label>{'LEFTLINK'|@translate} : </label> |
---|
83 | <input type="text" value="{$left_menu.link}" name="osm_left_link" size="10"/> |
---|
84 | <br/><small>{'LEFTLINK_DESC'|@translate}</small> |
---|
85 | </li> |
---|
86 | <li> |
---|
87 | <label>{'LEFTPOPUP'|@translate} : </label> |
---|
88 | <select name="osm_left_popup"> |
---|
89 | {html_options options=$AVAILABLE_POPUP selected=$left_menu.popup} |
---|
90 | </select> |
---|
91 | <br/><small>{'LEFTPOPUP_DESC'|@translate}</small> |
---|
92 | </li> |
---|
93 | <li> |
---|
94 | <label>{'LEFTPOPUPINFO'|@translate} : </label><br/> |
---|
95 | <div style="padding-left: 25px"> |
---|
96 | <input type="checkbox" name="osm_left_popupinfo_name" value="true" {if $left_menu.popupinfo_name}checked="checked"{/if}/> {'POPUPNAME'|@translate}<br /> |
---|
97 | <input type="checkbox" name="osm_left_popupinfo_img" value="true" {if $left_menu.popupinfo_img}checked="checked"{/if}/> {'POPUPTHUMB'|@translate}<br /> |
---|
98 | <input type="checkbox" name="osm_left_popupinfo_link" value="true" {if $left_menu.popupinfo_link}checked="checked"{/if}/> {'POPUPLINK'|@translate}<br /> |
---|
99 | <input type="checkbox" name="osm_left_popupinfo_comment" value="true" {if $left_menu.popupinfo_comment}checked="checked"{/if}/> {'POPUPCOMMENT'|@translate}<br /> |
---|
100 | <input type="checkbox" name="osm_left_popupinfo_author" value="true" {if $left_menu.popupinfo_author}checked="checked"{/if}/> {'POPUPAUTHOR'|@translate} |
---|
101 | </div> |
---|
102 | <small>{'LEFTPOPUPINFO_DESC'|@translate}</small> |
---|
103 | </li> |
---|
104 | </ul> |
---|
105 | </fieldset> |
---|
106 | <fieldset> |
---|
107 | <legend>{'G_MAP'|@translate}</legend> |
---|
108 | <ul> |
---|
109 | <li> |
---|
110 | <label>{'BASELAYER'|@translate} : </label> |
---|
111 | <select name="osm_baselayer"> |
---|
112 | {html_options options=$AVAILABLE_BASELAYER selected=$map.baselayer} |
---|
113 | </select> |
---|
114 | <br/><small>{'BASELAYER_DESC'|@translate}</small> |
---|
115 | </li> |
---|
116 | <li> |
---|
117 | <label>{'CUSTOMBASELAYER'|@translate} : </label> |
---|
118 | <input type="text" value="{$map.custombaselayer}" name="osm_custombaselayer" size="40"/> |
---|
119 | <br/><small>{'CUSTOMBASELAYER_DESC'|@translate}</small> |
---|
120 | </li> |
---|
121 | <li> |
---|
122 | <label>{'CUSTOMBASELAYERURL'|@translate} : </label> |
---|
123 | <input type="text" value="{$map.custombaselayerurl}" name="osm_custombaselayerurl" size="40"/> |
---|
124 | <br/><small>{'CUSTOMBASELAYERURL_DESC'|@translate}</small> |
---|
125 | </li> |
---|
126 | <li> |
---|
127 | <label>{'NOWORLDWARP'|@translate} : </label> |
---|
128 | <label><input type="radio" name="osm_noworldwarp" value="true" {if $map.noworldwarp}checked="checked"{/if}/> {'Yes'|@translate}</label> |
---|
129 | <label><input type="radio" name="osm_noworldwarp" value="false" {if not $map.noworldwarp}checked="checked"{/if}/> {'No'|@translate}</label> |
---|
130 | <br/><small>{'NOWORLDWARP_DESC'|@translate}</small> |
---|
131 | </li> |
---|
132 | <li> |
---|
133 | <label>{'ATTRLEAFLET'|@translate} : </label> |
---|
134 | <label><input type="radio" name="osm_attrleaflet" value="true" {if $map.attrleaflet}checked="checked"{/if}/> {'Yes'|@translate}</label> |
---|
135 | <label><input type="radio" name="osm_attrleaflet" value="false" {if not $map.attrleaflet}checked="checked"{/if}/> {'No'|@translate}</label> |
---|
136 | <br/><small>{'ATTRLEAFLET_DESC'|@translate}</small> |
---|
137 | </li> |
---|
138 | <li> |
---|
139 | <label>{'ATTRIMAGERY'|@translate} : </label> |
---|
140 | <label><input type="radio" name="osm_attrimagery" value="true" {if $map.attrimagery}checked="checked"{/if}/> {'Yes'|@translate}</label> |
---|
141 | <label><input type="radio" name="osm_attrimagery" value="false" {if not $map.attrimagery}checked="checked"{/if}/> {'No'|@translate}</label> |
---|
142 | <br/><small>{'ATTRIMAGERY_DESC'|@translate}</small> |
---|
143 | </li> |
---|
144 | <li> |
---|
145 | <label>{'ATTRPLUGIN'|@translate} : </label> |
---|
146 | <label><input type="radio" name="osm_attrplugin" value="true" {if $map.attrplugin}checked="checked"{/if}/> {'Yes'|@translate}</label> |
---|
147 | <label><input type="radio" name="osm_attrplugin" value="false" {if not $map.attrplugin}checked="checked"{/if}/> {'No'|@translate}</label> |
---|
148 | <br/><small>{'ATTRPLUGIN_DESC'|@translate}</small> |
---|
149 | </li> |
---|
150 | </ul> |
---|
151 | <!-- <fieldset> |
---|
152 | <legend>{'H_PIN'|@translate}</legend> |
---|
153 | <ul> |
---|
154 | <li> |
---|
155 | <label>{'PIN'|@translate} : </label> |
---|
156 | <select name="osm_pin"> |
---|
157 | {html_options options=$AVAILABLE_PIN selected=$SELECTED_PIN} |
---|
158 | </select> |
---|
159 | <br/><small>{'PIN_DESC'|@translate}</small> |
---|
160 | </li> |
---|
161 | <li> |
---|
162 | <label>{'PINPATH'|@translate} : </label> |
---|
163 | <input type="text" value="{$PINPATH}" name="osm_pinpath" size="40"/> |
---|
164 | <br/><small>{'PINPATH_DESC'|@translate}</small> |
---|
165 | </li> |
---|
166 | <li> |
---|
167 | <label>{'PINSIZE'|@translate} : </label> |
---|
168 | <input type="text" value="{$CUSTOMBASELAYERURL}" name="osm_pinsize" size="6/> |
---|
169 | <br/><small>{'PINSIZE_DESC'|@translate}</small> |
---|
170 | </li> |
---|
171 | <li> |
---|
172 | <label>{'PINSHADOWPATH'|@translate} : </label> |
---|
173 | <input type="text" value="{$PINSHADOWPATH}" name="osm_pinshadowpath" size="40"/> |
---|
174 | <br/><small>{'PINSHADOWPATH_DESC'|@translate}</small> |
---|
175 | </li> |
---|
176 | <li> |
---|
177 | <label>{'PINSHADOWSIZE'|@translate} : </label> |
---|
178 | <input type="text" value="{$PINSHADOWSIZE}" name="osm_pinshadowsize" size="4"/> |
---|
179 | <br/><small>{'PINSHADOWSIZE_DESC'|@translate}</small> |
---|
180 | </li> |
---|
181 | <li> |
---|
182 | <label>{'PINOFFSET'|@translate} : </label> |
---|
183 | <input type="text" value="{$PINOFFSET}" name="osm_pinoffset" size="4"/> |
---|
184 | <br/><small>{'PINOFFSET_DESC'|@translate}</small> |
---|
185 | </li> |
---|
186 | <li> |
---|
187 | <label>{'PINPOPUPOFFSET'|@translate} : </label> |
---|
188 | <input type="text" value="{$PINPOPUPOFFSET}" name="osm_pinpopupoffset" size="4"/> |
---|
189 | <br/><small>{'PINPOPUPOFFSET_DESC'|@translate}</small> |
---|
190 | </li> |
---|
191 | </ul> |
---|
192 | </fieldset> |
---|
193 | --> |
---|
194 | </fieldset> |
---|
195 | <fieldset> |
---|
196 | <legend>{'PLUGINCONF'|@translate}</legend> |
---|
197 | <ul> |
---|
198 | <li> |
---|
199 | <label>{'AUTOSYNC'|@translate} : </label> |
---|
200 | <label><input type="radio" name="osm_auto_sync" value="true" {if $auto_sync}checked="checked"{/if}/> {'Yes'|@translate}</label> |
---|
201 | <label><input type="radio" name="osm_auto_sync" value="false" {if not $auto_sync}checked="checked"{/if}/> {'No'|@translate}</label> |
---|
202 | <br/><small>{'AUTOSYNC_DESC'|@translate}</small> |
---|
203 | </li> |
---|
204 | <li> |
---|
205 | <label>{'BATCHMANAGER'|@translate} : </label> |
---|
206 | <label><input type="radio" name="osm_batch_manager" value="true" {if $batch_manager}checked="checked"{/if}/> {'Yes'|@translate}</label> |
---|
207 | <label><input type="radio" name="osm_batch_manager" value="false" {if not $batch_manager}checked="checked"{/if}/> {'No'|@translate}</label> |
---|
208 | <br/><small>{'BATCHMANAGER_DESC'|@translate}</small> |
---|
209 | </li> |
---|
210 | </ul> |
---|
211 | </fieldset> |
---|
212 | |
---|
213 | <p> |
---|
214 | <input class="submit" type="submit" value="{'Save Settings'|@translate}" name="submit"/> |
---|
215 | </p> |
---|
216 | </form> |
---|