svn commit: r713 - trunk/mapbender/http/print/mod_printPDF.php
astrid_emde at osgeo.org
astrid_emde at osgeo.org
Fri Jul 28 09:57:59 EDT 2006
Author: astrid_emde
Date: 2006-07-28 13:57:59+0000
New Revision: 713
Modified:
trunk/mapbender/http/print/mod_printPDF.php
Log:
Modified: trunk/mapbender/http/print/mod_printPDF.php
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/print/mod_printPDF.php?view=diff&rev=713&p1=trunk/mapbender/http/print/mod_printPDF.php&p2=trunk/mapbender/http/print/mod_printPDF.php&r1=712&r2=713
==============================================================================
--- trunk/mapbender/http/print/mod_printPDF.php (original)
+++ trunk/mapbender/http/print/mod_printPDF.php 2006-07-28 13:57:59+0000
@@ -118,13 +118,9 @@
}
var l = pt.mb_getchildsbyname(ind,i,layer[j]);
-
-
-
- //prompt ("l: ",l);
if (l) {
- document.forms[0].layers.value += title[j];
+ document.forms[0].layers.value += title[j] + l["name"].length;
if(j>0){
document.forms[0].legendurl.value += ",";
@@ -137,8 +133,7 @@
}else{
document.forms[0].legendurl.value += '1*';
}
- //prompt (l["name"].length+"l: " ,tmp_name+"---"+l["legendurl"][k]);
-
+
if (l["legendurl"][k] != '' || !l["legendurl"][k]==true){
document.forms[0].layers.value += l["name"][k];
document.forms[0].legendurl.value += l["legendurl"][k];
More information about the Mapbender_commits
mailing list