Commit c26da21e23567ee70f9bba0651745aaebd6e3e57

Authored by Edmar Moretti
1 parent 1e78a652

Correção no tamanho das imagens que são obtidas para compor a lista de símbolos no editor de legenda

.project
... ... @@ -27,7 +27,7 @@
27 27 </natures>
28 28 <filteredResources>
29 29 <filter>
30   - <id>1456666496860</id>
  30 + <id>1457389966059</id>
31 31 <name></name>
32 32 <type>30</type>
33 33 <matcher>
... ... @@ -36,7 +36,7 @@
36 36 </matcher>
37 37 </filter>
38 38 <filter>
39   - <id>1456666496874</id>
  39 + <id>1457389966061</id>
40 40 <name></name>
41 41 <type>30</type>
42 42 <matcher>
... ... @@ -45,7 +45,7 @@
45 45 </matcher>
46 46 </filter>
47 47 <filter>
48   - <id>1456666496883</id>
  48 + <id>1457389966064</id>
49 49 <name></name>
50 50 <type>30</type>
51 51 <matcher>
... ... @@ -53,5 +53,14 @@
53 53 <arguments>1.0-name-matches-false-false-.git</arguments>
54 54 </matcher>
55 55 </filter>
  56 + <filter>
  57 + <id>1457389966067</id>
  58 + <name></name>
  59 + <type>26</type>
  60 + <matcher>
  61 + <id>org.eclipse.ui.ide.multiFilter</id>
  62 + <arguments>1.0-name-matches-false-false-pacotes</arguments>
  63 + </matcher>
  64 + </filter>
56 65 </filteredResources>
57 66 </projectDescription>
... ...
admin/admin.db
No preview for this file type
classesphp/classe_legenda.php
... ... @@ -594,12 +594,11 @@ class Legenda
594 594 if ($tipo == 3){
595 595 $tipo = 2;
596 596 } //tipo raster
597   - if($imgdir == "")
598   - {
  597 + if($imgdir == ""){
599 598 $dir = $dir_tmp;
600 599 }
601   - else
602   - {$dir = $dir_tmp."/".$imgdir;
  600 + else{
  601 + $dir = $dir_tmp."/".$imgdir;
603 602 }
604 603 if($forca == true){
605 604 unlink($dir."/simbolos".$tipo.".inc");
... ... @@ -635,7 +634,7 @@ class Legenda
635 634 //var_dump($lista);exit;
636 635 $n = count($lista["nomes"]);
637 636 for($i = 0; $i < $n; $i++){
638   - $ins .= "<img src='".$url."/".$lista["nomes"][$i]."' style='cursor:pointer;border: 5px solid #FFFFFF' title=".$pasta."/".$lista["nomes"][$i]." onclick='".$onclick."'>";
  637 + $ins .= "<img src='".$url."/".$lista["nomes"][$i]."' style='max-width: 80px;cursor:pointer;border: 5px solid #FFFFFF' title=".$pasta."/".$lista["nomes"][$i]." onclick='".$onclick."'>";
639 638 }
640 639 }
641 640 }
... ...