Walter

thanks, for the hints. I will implement it in the new version.

armin

Walter Lorenzetti wrote:
> Hi all, Hi Armin.
> 
> working with pmapper 3.1 beta 4 I find i bug on legend-toc swap mode:
> if I set in metadata regions in my map file "SKIP_LEGEND" "2"
> in legend section found the name of my grp it always present
> 
> so for this i change the incphp/legend.php file at line 260
> this "if" condition:
> 
>  if ($this->grpInfoLink == 1) {
>       $gstr .= "<a
> href=\"javascript:showGroupInfo(\\'$grpName\\')\"><span class=\"vis\"
> id=\"spxg_$grpName\">$grpDescr</span></a>";
>  } else {
>       $gstr .= "<span class=\"vis\" id=\"spxg_$grpName\">$grpDescr</span>";
>  }
> 
> to this:
>  if ($this->grpInfoLink == 1) {
>       $gstr .= "<a
> href=\"javascript:showGroupInfo(\\'$grpName\\')\"><span class=\"vis\"
> id=\"spxg_$grpName\">$grpDescr</span></a>";
>   } elseif(!$this->legendonly || $skipLegend<=1) {
>       $gstr .= "<span class=\"vis\" id=\"spxg_$grpName\">$grpDescr</span>";
>   }
> 
> I don't know Armin if you found it before
> 
> I want to propose a variation in the incphp/globals.php file
> in OS like Debian and Ubuntu/Kubuntu
> the php_mapscript library it's without number version like
> php_mapscript_410.so but only php_mapscript.so
> 
> so I think to change in the file the if condition:
> 
> $msVersion = $_SESSION['msVersion'];
> if (!extension_loaded('MapScript')) {
>     dl("php_mapscript_$msVersion." . PHP_SHLIB_SUFFIX);
> }
> 
> in:
> 
> $msVersion = "";
> if ($_SESSION['msVersion']){
> $msVersion = "_".$_SESSION['msVersion'];
> }
> if (!extension_loaded('MapScript')) {
>     dl("php_mapscript$msVersion." . PHP_SHLIB_SUFFIX);
> }
> 
> so in config.ini file if I don't write the mapserver version i can load
> the .so library without end number version
> 
> What do you think Armin?
> Is possible to change?
> 
> 
> Sorry form bad bad bad english
> 
> bye
> Walter
> 
> 

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
pmapper-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to