Commit 1927a0c3acafecf5a88be08c64b70eb375760668
1 parent
18cb9c30
Exists in
master
and in
7 other branches
Correções em ferramentas
Showing
4 changed files
with
15 additions
and
9 deletions
Show diff stats
css/geral.css
| ... | ... | @@ -398,6 +398,13 @@ legend { |
| 398 | 398 | cursor: pointer; |
| 399 | 399 | } |
| 400 | 400 | |
| 401 | +.paragrafo input[type=radio] { | |
| 402 | + position: relative; | |
| 403 | + top: 3px; | |
| 404 | + border: 0px solid white; | |
| 405 | + cursor: pointer; | |
| 406 | +} | |
| 407 | + | |
| 401 | 408 | .lista td { |
| 402 | 409 | border: 0px solid rgb(240, 240, 240); |
| 403 | 410 | border-left: 0px; | ... | ... |
ferramentas/buscafotos/funcoes.php
| ... | ... | @@ -24,7 +24,7 @@ function listafotosflickr() |
| 24 | 24 | if ($ai != "") |
| 25 | 25 | $ai = strtotime("1 Jan ".$ai);// echo strtotime("10 September 2000") |
| 26 | 26 | if($af != "") |
| 27 | - $af = strtotime("30 Dec ".$af); | |
| 27 | + $af = strtotime("31 Dec ".$af); | |
| 28 | 28 | $f = new phpFlickr($key); |
| 29 | 29 | $recent = @$f->photos_search(array("page"=>$page,"extras"=>"geo","accuracy"=>"11","min_upload_date"=>$ai,"max_upload_date"=>$af,"text"=>$texto,"bbox"=>$ret,"privacy_filter"=>"1")); |
| 30 | 30 | if(!$recent){$recent = "";} | ... | ... |
ferramentas/buscafotos/index.js
| ... | ... | @@ -146,15 +146,14 @@ i3GEOF.buscaFotos = { |
| 146 | 146 | ins += $trad('maxRegistros',i3GEOF.buscaFotos.dicionario); |
| 147 | 147 | ins += $trad('ajudaAno',i3GEOF.buscaFotos.dicionario); |
| 148 | 148 | ins += ' <p class="paragrafo" >'+$trad('texto',i3GEOF.buscaFotos.dicionario)+': <br><div class="i3geoForm i3geoFormIconeEdita"><input type=text size=30 value="" id="i3GEObuscafotostexto" /></div>'; |
| 149 | - ins += ' <br><p class="paragrafo" >'+$trad('anoInicial',i3GEOF.buscaFotos.dicionario)+': <br><div class="i3geoForm i3geoFormIconeEdita"><input type=text size=10 value="2009" id="i3GEObuscafotosai" /></div>'; | |
| 150 | - ins += ' <br><p class="paragrafo" >'+$trad('anoFinal',i3GEOF.buscaFotos.dicionario)+': <br><div class="i3geoForm i3geoFormIconeEdita"><input type=text size=10 value="2009" id="i3GEObuscafotosaf" /></div><br><br>'; | |
| 149 | + ins += ' <br><p class="paragrafo" >'+$trad('anoInicial',i3GEOF.buscaFotos.dicionario)+': <br><div class="i3geoForm i3geoFormIconeEdita"><input type=text size=10 value="2015" id="i3GEObuscafotosai" /></div>'; | |
| 150 | + ins += ' <br><p class="paragrafo" >'+$trad('anoFinal',i3GEOF.buscaFotos.dicionario)+': <br><div class="i3geoForm i3geoFormIconeEdita"><input type=text size=10 value="2015" id="i3GEObuscafotosaf" /></div><br><br>'; | |
| 151 | 151 | ins += ' <input id=i3GEObuscafotosbotao1 size=20 type=button value="'+$trad('procuraFotos',i3GEOF.buscaFotos.dicionario)+'" />'; |
| 152 | 152 | ins += ' </div>'; |
| 153 | - ins += ' <div>'; | |
| 154 | - ins += ' <br><p class="paragrafo" >'+$trad('servidores',i3GEOF.buscaFotos.dicionario)+':'; | |
| 155 | - ins += ' <input type=radio style="top:2px;background-color:#f2f2f2;none;border:0px solid white;cursor:pointer;position:relative;" onclick="i3GEOF.buscaFotos.esconde(this)" name=buscador value=flickr id=i3GEObuscafotosbuscaflickr /><a href="http://www.flickr.com" target="_blank" >Flickr</a>'; | |
| 156 | - ins += ' <input type=radio style="top:2px;background-color:#f2f2f2;border:0px solid white;cursor:pointer;position:relative;" onclick="i3GEOF.buscaFotos.esconde(this)" name=buscador value=panoramio id=i3GEObuscafotosbuscapanoramio /><a href="http://www.panoramio.com" target="_blank" >Panoramio</a>'; | |
| 157 | - ins += ' <input type=radio style="top:2px;background-color:#f2f2f2;border:0px solid white;cursor:pointer;position:relative;" onclick="i3GEOF.buscaFotos.esconde(this)" name=buscador value=locr id=i3GEObuscafotosbuscalocr /><a href="http://www.locr.com" target="_blank" >Locr</a>'; | |
| 153 | + ins += ' <div class="paragrafo">'; | |
| 154 | + ins += ' <input type=radio onclick="i3GEOF.buscaFotos.esconde(this)" name=buscador value=flickr id=i3GEObuscafotosbuscaflickr /><label><a href="http://www.flickr.com" target="_blank" >Flickr</a></label>'; | |
| 155 | + ins += ' <input type=radio onclick="i3GEOF.buscaFotos.esconde(this)" name=buscador value=panoramio id=i3GEObuscafotosbuscapanoramio /><label><a href="http://www.panoramio.com" target="_blank" >Panoramio</a></label>'; | |
| 156 | + ins += ' <input type=radio onclick="i3GEOF.buscaFotos.esconde(this)" name=buscador value=locr id=i3GEObuscafotosbuscalocr /><label><a href="http://www.locr.com" target="_blank" >Locr</a></label>'; | |
| 158 | 157 | ins += ' </div>'; |
| 159 | 158 | ins += ' <div id="i3GEObuscafotospaginas" style="top:10px;"></div><br>'; |
| 160 | 159 | ins += ' <div style="top:0px;left:5px;display:block;width:95%;overflow:auto" id="i3GEObuscafotosresultadofotos" ></div><br>'; | ... | ... |
pacotes/phpflickr/phpFlickr.php
| ... | ... | @@ -44,7 +44,7 @@ ini_set('include_path', ini_get('include_path') . $path_delimiter . dirname(__FI |
| 44 | 44 | class phpFlickr { |
| 45 | 45 | var $api_key; |
| 46 | 46 | var $secret; |
| 47 | - var $REST = 'http://api.flickr.com/services/rest/'; | |
| 47 | + var $REST = 'https://api.flickr.com/services/rest/'; | |
| 48 | 48 | var $Upload = 'http://api.flickr.com/services/upload/'; |
| 49 | 49 | var $Replace = 'http://api.flickr.com/services/replace/'; |
| 50 | 50 | var $req; | ... | ... |