[9377] | 1 | {html_head} |
---|
| 2 | {* $Id: admin_edit.tpl 2011-01-03 *} |
---|
| 3 | {if PHPWG_VERSION < 2.2 } {include |
---|
[9412] | 4 | file=$EDIT_CL_PATH_ABS|@cat:'header_2_1.tpl'} {else} {include file= $EDIT_CL_PATH_ABS|@cat:'header_2_2.tpl'} |
---|
[9377] | 5 | {/if} |
---|
| 6 | |
---|
| 7 | {assign var='visible' value = true } |
---|
| 8 | {if not empty($Selectthumbnails) } |
---|
| 9 | <script src="http://maps.google.com/maps/api/js?sensor=false&hl={$lang_info.code}" type="text/javascript"></script> |
---|
| 10 | <script type="text/javascript"> |
---|
| 11 | {if isset($coordinates) && $coordinates.LAT <= 90 } |
---|
| 12 | var coordinates={ldelim} |
---|
| 13 | LAT:'{$coordinates.LAT}', |
---|
| 14 | LON:'{$coordinates.LON}', |
---|
| 15 | ADRESSE:'{$coordinates.ADRESSE}', |
---|
| 16 | ZOOM:18, |
---|
| 17 | ALT:'{$coordinates.ALT}' |
---|
| 18 | }; |
---|
| 19 | {else} |
---|
| 20 | var coordinates={ldelim} |
---|
| 21 | LAT:' ', |
---|
| 22 | LON:' ', |
---|
| 23 | ADRESSE:'{$coordinates.ADRESSE}', |
---|
| 24 | ZOOM:4, |
---|
| 25 | ALT:' ' |
---|
| 26 | }; |
---|
| 27 | {/if} |
---|
| 28 | |
---|
| 29 | jQuery(window).load(function(){ldelim} |
---|
| 30 | onLoad(); |
---|
| 31 | }); |
---|
| 32 | |
---|
| 33 | |
---|
| 34 | |
---|
| 35 | </script> |
---|
| 36 | {/if} |
---|
| 37 | |
---|
| 38 | <style type="text/css">{literal} |
---|
| 39 | #map{ |
---|
| 40 | left:0px; |
---|
| 41 | width:100%; |
---|
| 42 | height:500px; |
---|
| 43 | border:outset; |
---|
| 44 | } |
---|
| 45 | |
---|
| 46 | |
---|
| 47 | {/literal} |
---|
| 48 | </style> |
---|
| 49 | |
---|
| 50 | |
---|
| 51 | |
---|
| 52 | {/html_head} |
---|
| 53 | |
---|
| 54 | |
---|
| 55 | |
---|
| 56 | |
---|
| 57 | <fieldset class="fieldset"> |
---|
| 58 | <legend>{'Display options'|@translate}</legend> |
---|
| 59 | <table ><td class="cluetip" title="{'set'|translate}|{'hlp_line1'|@translate}." align="left" > |
---|
| 60 | <form> |
---|
| 61 | Set: |
---|
| 62 | <select onchange="document.location = this.options[this.selectedIndex].value;" > |
---|
| 63 | <optgroup label="Specials"> |
---|
| 64 | {html_options options=$specials} |
---|
| 65 | </optgroup> |
---|
| 66 | <optgroup label="{'Categories'|@translate}"> |
---|
| 67 | {html_options options=$categories selected=$categories_selected} |
---|
| 68 | </optgroup> |
---|
| 69 | <!-- <optgroup label="{'Tags'|@translate}"></optgroup> --> |
---|
| 70 | </select> |
---|
| 71 | </form> |
---|
| 72 | </td> |
---|
| 73 | <td > {'hlp_line2'|@translate} </td> |
---|
| 74 | </table> |
---|
| 75 | <p>{'elements per page'|@translate}: |
---|
| 76 | <a href="{$U_DISPLAY}&display=20">20</a> |
---|
| 77 | | <a href="{$U_DISPLAY}&display=50">50</a> |
---|
| 78 | | <a href="{$U_DISPLAY}&display=100">100</a> |
---|
| 79 | | <a href="{$U_DISPLAY}&display=all">{'all'|@translate}</a> |
---|
| 80 | </p> |
---|
| 81 | </fieldset> |
---|
| 82 | {if empty($Selectthumbnails) }{/if} |
---|
| 83 | |
---|
| 84 | |
---|
| 85 | <form action="" method="post" id="Envoie" name="Envoie" > |
---|
| 86 | {if not empty($thumbnails) && empty($Selectthumbnails) } {/if} |
---|
| 87 | |
---|
| 88 | <fieldset id="Elements" class="fieldset"> |
---|
| 89 | <legend>{'Elements'|@translate}</legend> |
---|
| 90 | |
---|
| 91 | {if !empty($navbar) }{include file='navigation_bar.tpl'} {/if} |
---|
| 92 | <fieldset > |
---|
| 93 | <ul class="thumbnails"> |
---|
| 94 | {foreach from=$thumbnails item=thumbnail} |
---|
| 95 | <li><span class="wrap1"> |
---|
| 96 | <label> |
---|
| 97 | <span class="wrap2"><span> |
---|
| 98 | <img src="{$thumbnail.U_TN}" alt="{$thumbnail.file}" title="{$thumbnail.TITLE}" class="thumbnail" /> |
---|
| 99 | </span></span> |
---|
| 100 | <input type="checkbox" name="selection[]" value="{$thumbnail.id}" /> |
---|
| 101 | </label> |
---|
| 102 | <span class="thumbLegend"> |
---|
| 103 | {if isset($thumbnail.U_MAP)} |
---|
| 104 | <a href="{$thumbnail.U_MAP}" target="_blank">{$thumbnail.lat},{$thumbnail.lon}</a> |
---|
| 105 | {/if} |
---|
| 106 | {$thumbnail.file} |
---|
| 107 | </span> |
---|
| 108 | |
---|
| 109 | </span> |
---|
| 110 | </li> |
---|
| 111 | {/foreach} |
---|
| 112 | </ul> |
---|
| 113 | </fieldset> |
---|
| 114 | |
---|
| 115 | <fieldset> |
---|
| 116 | <label> {'target'|@translate}</label> |
---|
| 117 | <table> |
---|
| 118 | <td><label><input type="radio" name="target" value="all" /> {'all'|@translate}</label></td> |
---|
| 119 | <td><label><input type="radio" name="target" value="selection" checked="checked" /> {'selection'|@translate}</label></td> |
---|
| 120 | <td><input class="cluetip submit " title="{'selection'|@translate}|{'hlp_line3'|@translate}." type="submit" name="submit" value="{'selection'|@translate}" {$tag_input_enabled} /></td> |
---|
| 121 | </table> |
---|
| 122 | </fieldset> |
---|
| 123 | </fieldset> |
---|
| 124 | <script> |
---|
| 125 | {if empty($Selectthumbnails) } |
---|
| 126 | |
---|
| 127 | var no_affiche=true ; |
---|
| 128 | {else} |
---|
| 129 | var no_affiche=false ; |
---|
| 130 | {/if} </script> |
---|
| 131 | <fieldset id ="geoposition" class="fieldset"> |
---|
| 132 | <legend>{'Selection'|@translate}</legend> |
---|
| 133 | |
---|
| 134 | <fieldset> |
---|
| 135 | <ul class="thumbnails"> |
---|
| 136 | {foreach from=$Selectthumbnails item=thumbnail} |
---|
| 137 | <li><span class="wrap1"> |
---|
| 138 | <label> |
---|
| 139 | <span class="wrap2"><span> |
---|
| 140 | <img src="{$thumbnail.U_TN}" alt="{$thumbnail.file}" title="{$thumbnail.TITLE}" class="thumbnail" /> |
---|
| 141 | </span> |
---|
| 142 | </span> |
---|
| 143 | <br/> |
---|
| 144 | </label> |
---|
| 145 | <input type="hidden" value={$thumbnail.id} name="selection[]" /> |
---|
| 146 | <span class="thumbLegend"> |
---|
| 147 | {if isset($thumbnail.U_MAP)} |
---|
| 148 | <a href="{$thumbnail.U_MAP}" target="_blank">{$thumbnail.lat},{$thumbnail.lon}</a> |
---|
| 149 | {/if} |
---|
| 150 | {$thumbnail.file} |
---|
| 151 | </span> |
---|
| 152 | </span> |
---|
| 153 | </li> |
---|
| 154 | {/foreach} |
---|
| 155 | </ul> |
---|
| 156 | </fieldset> |
---|
| 157 | <fieldset> |
---|
| 158 | <label>{'command'|@translate}</label> |
---|
| 159 | |
---|
| 160 | <table> |
---|
| 161 | <td> |
---|
| 162 | <input class="cluetip" title="{'reset'|@translate}|{'hlp_line4'|@translate}." type="submit" name="submit" value="{'reset'|@translate}" /><br /> |
---|
| 163 | </td> |
---|
| 164 | <td> |
---|
| 165 | <input class="cluetip" title="{'selection'|@translate}|{'hlp_line3'|@translate}." type="submit" name="submit" value="{'selection'|@translate}" /> |
---|
| 166 | </td> |
---|
| 167 | </table> |
---|
| 168 | |
---|
| 169 | <label>{'Form'|@translate}</label> |
---|
| 170 | <table > |
---|
| 171 | <td > |
---|
| 172 | |
---|
| 173 | <input class="cluetip" title="{'search_title'|@translate}|{'hlp_line6'|@translate}." type=button value="{'search_title'|@translate}" id="search" /> |
---|
| 174 | |
---|
| 175 | <input class="cluetip" title="{'lieu'|@translate}|{'hlp_line5'|@translate}." type="text" size="70" value="{$match}" name="match" id="match" /> |
---|
| 176 | </td> |
---|
| 177 | <table > |
---|
| 178 | <tr> <input type="text" size="15" value="{$filename}" name="filename" /> |
---|
| 179 | <td > |
---|
| 180 | <label>Latitude (-90=S to 90=N)</label> |
---|
| 181 | <input type="text" size="15" value="{$lat}" name="lat" /> |
---|
| 182 | </td> |
---|
| 183 | <td> |
---|
| 184 | <label>Longitude (-180=E to 180=W) </label> |
---|
| 185 | <input type="text" size="15"value="{$lon}" name="lon" /> |
---|
| 186 | </td> |
---|
| 187 | <td> |
---|
| 188 | <label>Altitude </label> |
---|
| 189 | <input type="hidden" size="2"value="0" name="altRef" /> |
---|
| 190 | <input type="text" size="15"value="{$alt}" name="alt" /> <label> m </label> |
---|
| 191 | </td> |
---|
| 192 | </tr> |
---|
| 193 | </table> |
---|
| 194 | <tr> |
---|
| 195 | <table > |
---|
| 196 | <tr> |
---|
| 197 | <td > |
---|
| 198 | <label>Latitude DMS</label><input type="text" size="3" value="{$latRef}" name="latRef" /> |
---|
| 199 | <input type="text" size="25" value="{$latDMS}" name="latDMS" /> |
---|
| 200 | </td> |
---|
| 201 | <td> |
---|
| 202 | <label>Longitude DMS </label><input type="text" size="3" value="{$lonRef}" name="lonRef" /> |
---|
| 203 | <input type="text" size="25"value="{$lonDMS}" name="lonDMS" /> |
---|
| 204 | </td> |
---|
| 205 | |
---|
| 206 | </tr> |
---|
| 207 | </table> |
---|
| 208 | <tr> |
---|
| 209 | |
---|
| 210 | <td> |
---|
| 211 | <input class="submit" type="submit" value="{'Submit'|@translate}" name="submit" {$tag_input_enabled} /></td> |
---|
| 212 | </td></tr> |
---|
| 213 | </table> |
---|
| 214 | </fieldset> |
---|
| 215 | |
---|
| 216 | <fieldset> |
---|
| 217 | <label>{'map'|@translate}</label> |
---|
| 218 | <table> |
---|
| 219 | <td><div id="markerStatus"></div></td> |
---|
| 220 | <td><div id="markerAdress"></div></td> |
---|
| 221 | </table> |
---|
| 222 | <div id="map"></div> |
---|
| 223 | </fieldset> |
---|
| 224 | </fieldset> |
---|
| 225 | |
---|
| 226 | <fieldset id ="metadata" class="fieldset"> |
---|
| 227 | <legend>{'Metadata'|@translate}</legend> |
---|
[9412] | 228 | <h4><a href="{$EDIT_CL_PATH}Edit_File_gps.php?jpeg_fname={$filename_abs}" > |
---|
[9377] | 229 | Click here to edit the Photoshop File Info for this file</a></h4>{$filename_abs}</fieldset> |
---|
| 230 | <table> |
---|
| 231 | {foreach from=$datas item=valeur} |
---|
| 232 | {$valeur} |
---|
| 233 | {/foreach} |
---|
| 234 | </table> |
---|
| 235 | </fieldset> |
---|
| 236 | |
---|
| 237 | |
---|
| 238 | |
---|
| 239 | </form> |
---|
| 240 | |
---|
| 241 | <fieldset> |
---|
[9412] | 242 | <form name="EditJPEG" id="EditJPEG" action="{$EDIT_CL_PATH}Write_File_Info_Gps.php" method="post"> |
---|
[9377] | 243 | <input name="filename" size="60" id="filename" name="filename" type="test" value="../../../{$filename}" /> |
---|
| 244 | <table> |
---|
| 245 | <tr> |
---|
| 246 | <td> |
---|
| 247 | Latitude Ref |
---|
| 248 | </td> |
---|
| 249 | <td> |
---|
| 250 | <input size="60" id="latRef" name="GPSLatitudeRef" type="text" value="{$latRef}"> |
---|
| 251 | </td> |
---|
| 252 | |
---|
| 253 | <td> |
---|
| 254 | Latitude |
---|
| 255 | </td> |
---|
| 256 | <td> |
---|
| 257 | <input size="60" id="latDMS" name="GPSLatitude" type="text" value="{$latDMS}"> |
---|
| 258 | </td> |
---|
| 259 | </tr> |
---|
| 260 | <tr> |
---|
| 261 | <td> |
---|
| 262 | Longitude Ref |
---|
| 263 | </td> |
---|
| 264 | <td> |
---|
| 265 | <input size="60" id="lonRef" name="GPSLongitudeRef" type="text" value="{$lonRef}"> |
---|
| 266 | </td> |
---|
| 267 | |
---|
| 268 | <td> |
---|
| 269 | Longitude |
---|
| 270 | </td> |
---|
| 271 | <td> |
---|
| 272 | <input size=60 id="lonDMS" name="GPSLongitude" type=\"text\" value="{$lonDMS}"> |
---|
| 273 | </td> |
---|
| 274 | </tr> |
---|
| 275 | <tr> |
---|
| 276 | <td> |
---|
| 277 | Altitude Ref |
---|
| 278 | </td> |
---|
| 279 | <td> |
---|
| 280 | <input size=60 id="altRef" name="GPSAltitudeRef" type=\"text\" value="{$altRef}"> |
---|
| 281 | </td> |
---|
| 282 | <td> |
---|
| 283 | Altitude |
---|
| 284 | </td> |
---|
| 285 | <td> |
---|
| 286 | <input size=60 id="alt" name="GPSAltitude" type=\"text\" value="{$alt}"> |
---|
| 287 | </td> |
---|
| 288 | </tr> |
---|
| 289 | </table> |
---|
| 290 | <br> |
---|
| 291 | <input type="submit" value="Update!"> |
---|
| 292 | </form> |
---|
| 293 | </fieldset> |
---|