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 | Synchronization of EXIF GPS metadata information with the database. |
---|
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 | {if isset($metadata_result)} |
---|
26 | <div class="osm_layout"> |
---|
27 | <legend>Synchronization results</legend> |
---|
28 | <ul> |
---|
29 | <li>{$metadata_result.NB_ELEMENTS_DONE} {'photos updated in the database'|@translate}</li> |
---|
30 | <li>{$metadata_result.NB_ELEMENTS_CANDIDATES} {'photos candidates for metadata synchronization'|@translate}</li> |
---|
31 | <li>{$metadata_result.NB_ERRORS} {'errors during synchronization'|@translate}</li> |
---|
32 | </ul> |
---|
33 | |
---|
34 | {if not empty($sync_errors)} |
---|
35 | <h3>{'Error list'|@translate}</h3> |
---|
36 | <div class="errors"> |
---|
37 | <ul> |
---|
38 | {foreach from=$sync_errors item=error} |
---|
39 | <li>{$error}</li> |
---|
40 | {/foreach} |
---|
41 | </ul> |
---|
42 | </div> |
---|
43 | {/if} |
---|
44 | |
---|
45 | {if not empty($sync_infos)} |
---|
46 | <h3>{'Detailed informations'|@translate}</h3> |
---|
47 | <div class="infos"> |
---|
48 | <ul> |
---|
49 | {foreach from=$sync_infos item=info} |
---|
50 | <li>{$info}</li> |
---|
51 | {/foreach} |
---|
52 | </ul> |
---|
53 | </div> |
---|
54 | {/if} |
---|
55 | |
---|
56 | </div> |
---|
57 | {/if} |
---|
58 | |
---|
59 | <form action="" method="post" id="update"> |
---|
60 | |
---|
61 | <fieldset id="syncOptions"> |
---|
62 | <legend>synchronization options</legend> |
---|
63 | <ul> |
---|
64 | <li><label><input type="checkbox" name="simulate" value="1" checked="checked" /> {'only perform a simulation (no change in database will be made)'|@translate}</label></li> |
---|
65 | </ul> |
---|
66 | </fieldset> |
---|
67 | |
---|
68 | <fieldset id="catSubset"> |
---|
69 | <legend>{'reduce to single existing albums'|@translate}</legend> |
---|
70 | <ul> |
---|
71 | <li> |
---|
72 | <select class="categoryList" name="cat_id" size="10"> |
---|
73 | {html_options options=$categories selected=$categories_selected} |
---|
74 | </select> |
---|
75 | </li> |
---|
76 | |
---|
77 | <li><label><input type="checkbox" name="subcats_included" value="1" {$SUBCATS_INCLUDED_CHECKED} /> {'Search in sub-albums'|@translate}</label></li> |
---|
78 | </ul> |
---|
79 | </fieldset> |
---|
80 | |
---|
81 | <p> |
---|
82 | <input type="submit" value="{'Submit'|@translate}" name="submit"> |
---|
83 | </p> |
---|
84 | </form> |
---|