[4545] | 1 | {html_head} |
---|
[17761] | 2 | {include file= $EDIT_CL_PATH_ABS|@cat:'header.tpl'} |
---|
[8501] | 3 | {assign var='visible' value = true } |
---|
| 4 | {if not empty($Selectthumbnails) } |
---|
| 5 | <script src="http://maps.google.com/maps/api/js?sensor=false&hl={$lang_info.code}" type="text/javascript"></script> |
---|
| 6 | <script type="text/javascript"> |
---|
| 7 | {if isset($coordinates) && $coordinates.LAT <= 90 } |
---|
| 8 | var coordinates={ldelim} |
---|
[9412] | 9 | FILE:'$coordinates.filename', |
---|
| 10 | LAT:'{$coordinates.LAT}', |
---|
[8501] | 11 | LON:'{$coordinates.LON}', |
---|
| 12 | ADRESSE:'{$coordinates.ADRESSE}', |
---|
[9377] | 13 | ZOOM:18, |
---|
| 14 | ALT:'{$coordinates.ALT}' |
---|
[8501] | 15 | }; |
---|
| 16 | {else} |
---|
| 17 | var coordinates={ldelim} |
---|
[9412] | 18 | FILE:'', |
---|
| 19 | LAT:' ', |
---|
[8501] | 20 | LON:' ', |
---|
| 21 | ADRESSE:'{$coordinates.ADRESSE}', |
---|
[9377] | 22 | ZOOM:4, |
---|
| 23 | ALT:' ' |
---|
[8501] | 24 | }; |
---|
| 25 | {/if} |
---|
| 26 | |
---|
[8586] | 27 | jQuery(window).load(function(){ldelim} |
---|
| 28 | onLoad(); |
---|
| 29 | }); |
---|
[9377] | 30 | |
---|
[8586] | 31 | |
---|
[8501] | 32 | </script> |
---|
| 33 | {/if} |
---|
[4545] | 34 | |
---|
[8501] | 35 | <style type="text/css">{literal} |
---|
[8466] | 36 | #map{ |
---|
| 37 | left:0px; |
---|
| 38 | width:100%; |
---|
[4545] | 39 | height:500px; |
---|
| 40 | border:outset; |
---|
| 41 | } |
---|
[18635] | 42 | |
---|
[4545] | 43 | {/literal} |
---|
| 44 | </style> |
---|
[17761] | 45 | {/html_head} |
---|
| 46 | {$file_name} |
---|
| 47 | <script type="text/javascript"> |
---|
| 48 | {if empty($Selectthumbnails) } |
---|
| 49 | var no_affiche="false" ; |
---|
| 50 | {else} |
---|
| 51 | var no_affiche="true" ; |
---|
| 52 | {/if} |
---|
| 53 | </script> |
---|
[17776] | 54 | {footer_script} |
---|
| 55 | |
---|
| 56 | var infos_img = infos_img || []; |
---|
| 57 | {foreach from=$thumbnails item=thumbnail} |
---|
[18635] | 58 | infos_img[{$thumbnail.id}]={ldelim}EXIF:"{$thumbnail.U_EXIF}", |
---|
[17776] | 59 | BD:"{$thumbnail.U_BD}", |
---|
| 60 | lon:"{$thumbnail.lon}", |
---|
| 61 | lat:"{$thumbnail.lat}", |
---|
| 62 | alt:"{$thumbnail.alt}" |
---|
| 63 | }; |
---|
| 64 | |
---|
| 65 | {/foreach} |
---|
| 66 | |
---|
| 67 | |
---|
| 68 | {literal} |
---|
[17761] | 69 | |
---|
[17776] | 70 | jQuery(document).ready(function() { |
---|
[17761] | 71 | {/literal} |
---|
| 72 | title="{'selection'|@translate}|{'hlp_line3'|@translate}."; |
---|
| 73 | value="{'selection'|@translate}" ; |
---|
[17779] | 74 | message ='<p><input class="cluetip submit" type="submit" name="submit" title="'+ title +'" value="'+ value +'" /> '; |
---|
[4545] | 75 | |
---|
[17779] | 76 | |
---|
| 77 | |
---|
| 78 | title="{'update_exif'|@translate}|{'hlp_line3'|@translate}."; |
---|
| 79 | value="{'update_exif'|@translate}" ; |
---|
| 80 | message +='<input class="cluetip submit" type="submit" name="update" title="'+ title +'" value="'+ value +'" /> '; |
---|
| 81 | |
---|
[17761] | 82 | message+='</p>'; |
---|
[17779] | 83 | |
---|
[17761] | 84 | jQuery("#permitAction").append(message); |
---|
| 85 | |
---|
| 86 | |
---|
| 87 | }); |
---|
[17776] | 88 | |
---|
[17761] | 89 | {/footer_script} |
---|
[17776] | 90 | <form action="" method="post" id="Envoie" name="Envoie" > |
---|
[4545] | 91 | |
---|
[17776] | 92 | <fieldset id ="geoposition" class="fieldset" style="display:none" > |
---|
[17761] | 93 | <legend>{'Selection'|@translate}</legend> |
---|
[8501] | 94 | <fieldset> |
---|
[8456] | 95 | <ul class="thumbnails"> |
---|
[9412] | 96 | {foreach from=$Selectthumbnails item=thumbnail} |
---|
[4545] | 97 | <li><span class="wrap1"> |
---|
| 98 | <label> |
---|
[17761] | 99 | <span class="wrap2"> |
---|
| 100 | <span><img src="{$thumbnail.TN_SRC}" alt="{$thumbnail.file}" title="{$thumbnail.TITLE}" class="thumbnail" /></span> |
---|
| 101 | <span class="thumbLegend"> |
---|
| 102 | <div>{$thumbnail.file} </div> |
---|
| 103 | {if $thumbnail.U_EXIF } Exif{/if} |
---|
| 104 | {if $thumbnail.U_BD } Bd {/if} |
---|
| 105 | {if isset($thumbnail.U_MAP)} |
---|
| 106 | <a href="{$thumbnail.U_MAP}" target="_blank"><div>{$thumbnail.lat}</div><div>{$thumbnail.lon}</div></a> |
---|
| 107 | {/if} |
---|
| 108 | </span> |
---|
| 109 | |
---|
[4545] | 110 | </span> |
---|
| 111 | <br/> |
---|
[8456] | 112 | </label> |
---|
| 113 | <input type="hidden" value={$thumbnail.id} name="selection[]" /> |
---|
[17761] | 114 | |
---|
[4545] | 115 | </span> |
---|
[9412] | 116 | </li> |
---|
| 117 | |
---|
[4545] | 118 | {/foreach} |
---|
| 119 | </ul> |
---|
[17761] | 120 | <p></p><p></p> |
---|
| 121 | |
---|
| 122 | </fieldset> |
---|
| 123 | |
---|
| 124 | <fieldset> |
---|
[18635] | 125 | <label>{'command_cl'|@translate}</label> |
---|
[4545] | 126 | |
---|
[9412] | 127 | <table> |
---|
| 128 | <td> |
---|
[17761] | 129 | <input class="cluetip submit" title="{'return'|@translate}|{'hlp_line4'|@translate}." |
---|
| 130 | type="submit" name="submit" value="{'return'|@translate}" /> |
---|
[9412] | 131 | </td> |
---|
| 132 | </table> |
---|
[5062] | 133 | |
---|
[8501] | 134 | <label>{'Form'|@translate}</label> |
---|
[9377] | 135 | <table > |
---|
[9412] | 136 | <td > |
---|
[8501] | 137 | |
---|
[9412] | 138 | <input class="cluetip" title="{'search_title'|@translate}|{'hlp_line6'|@translate}." type=button value="{'search_title'|@translate}" id="search" /> |
---|
[5062] | 139 | |
---|
[9412] | 140 | <input class="cluetip" title="{'lieu'|@translate}|{'hlp_line5'|@translate}." type="text" size="70" value="{$match}" name="match" id="match" /> |
---|
| 141 | </td> |
---|
[9377] | 142 | </table> |
---|
[9412] | 143 | <table style="display:none" > |
---|
[8501] | 144 | |
---|
[9412] | 145 | {assign var="filename" value=""} |
---|
| 146 | {foreach from=$Selectthumbnails item=thumbnail} |
---|
| 147 | {assign var="filename" value=$filename|@cat:$thumbnail.filename|@cat:";"} |
---|
[12126] | 148 | |
---|
[9412] | 149 | {if $thumbnail.lat<>0 } |
---|
| 150 | {if $thumbnail.lon<>0} |
---|
| 151 | {assign var="lon" value=$thumbnail.lon} |
---|
| 152 | {assign var="lat" value=$thumbnail.lat} |
---|
| 153 | {assign var="alt" value=$thumbnail.alt} |
---|
| 154 | |
---|
| 155 | {/if} |
---|
| 156 | {/if} |
---|
| 157 | {/foreach} |
---|
[9377] | 158 | |
---|
[9412] | 159 | <input type="text" size="89" value="{$filename}" name="filename" /> |
---|
| 160 | </table> |
---|
| 161 | |
---|
| 162 | <table> |
---|
| 163 | <td > |
---|
| 164 | <label class="cluetip" title="{'latitude'|@translate}|{'hlp_latitude'|@translate}." > {'latitude'|@translate} </label> |
---|
| 165 | <input type="text" size="15" value="{$lat}" name="lat" /> |
---|
| 166 | </td> |
---|
| 167 | <td> |
---|
| 168 | <label class="cluetip" title="{'longitude'|@translate}|{'hlp_longitude'|@translate}." > {'longitude'|@translate} </label> |
---|
| 169 | <input type="text" size="15"value="{$lon}" name="lon" /> |
---|
| 170 | </td> |
---|
| 171 | <td> |
---|
| 172 | <label class="cluetip" title="{'altitude'|@translate}|{'hlp_altitude'|@translate}."> Altitude </label> |
---|
| 173 | <input type="hidden" size="2"value="0" name="altRef" /> |
---|
| 174 | <input type="text" size="15"value="{$alt}" name="alt" /> <label> m </label> |
---|
| 175 | </td> |
---|
| 176 | </table> |
---|
| 177 | |
---|
| 178 | <table style=" display:none"> |
---|
| 179 | <td > |
---|
| 180 | <label>Latitude DMS</label><input type="text" size="3" value="{$latRef}" name="latRef" /> |
---|
| 181 | <input type="text" size="25" value="{$latDMS}" name="latDMS" /> |
---|
| 182 | </td> |
---|
| 183 | <td> |
---|
| 184 | <label>Longitude DMS </label><input type="text" size="3" value="{$lonRef}" name="lonRef" /> |
---|
| 185 | <input type="text" size="25"value="{$lonDMS}" name="lonDMS" /> |
---|
| 186 | </td> |
---|
| 187 | <td> |
---|
| 188 | <label>Altitude DMS </label><input type="text" size="3" value="{$altRef}" name="altRef" /> |
---|
| 189 | <input type="text" size="25"value="{$altDMS}" name="altDMS" /> |
---|
| 190 | </td> |
---|
| 191 | </table> |
---|
| 192 | |
---|
| 193 | <table> |
---|
| 194 | <td> |
---|
[10060] | 195 | <input class="cluetip submit" title="{'update_database'|@translate}|{'hlp_update_database'|@translate}." type="submit" value="{'update_database'|@translate}" name="submit" {$tag_input_enabled} /></td> |
---|
[9412] | 196 | </td> |
---|
| 197 | <td> |
---|
[10060] | 198 | <input class="cluetip submit" title="{'update_exif'|@translate}|{'hlp_update_exif'|@translate}." type="submit" value="{'update_exif'|@translate}" name="update" {$tag_input_enabled} /></td> |
---|
[9412] | 199 | </td> |
---|
[18635] | 200 | <td> |
---|
| 201 | <input class="cluetip submit" title="{'update_all'|@translate}|{'hlp_update_all'|@translate}." type="submit" value="{'update_all'|@translate}" name="update" {$tag_input_enabled} /></td> |
---|
| 202 | </td> |
---|
| 203 | |
---|
[8501] | 204 | </table> |
---|
| 205 | </fieldset> |
---|
| 206 | |
---|
| 207 | <fieldset> |
---|
| 208 | <label>{'map'|@translate}</label> |
---|
| 209 | <table> |
---|
| 210 | <td><div id="markerStatus"></div></td> |
---|
| 211 | <td><div id="markerAdress"></div></td> |
---|
| 212 | </table> |
---|
| 213 | <div id="map"></div> |
---|
| 214 | </fieldset> |
---|
| 215 | </fieldset> |
---|
[9412] | 216 | </fieldset> |
---|
[17761] | 217 | </fieldset> |
---|
[9377] | 218 | </form> |
---|
[8501] | 219 | |
---|