[Mapbender-commits] r4499 - branches/print_dev/http/print/classes

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Thu Aug 6 09:09:36 EDT 2009


Author: mschulz
Date: 2009-08-06 09:09:35 -0400 (Thu, 06 Aug 2009)
New Revision: 4499

Modified:
   branches/print_dev/http/print/classes/mbMapDecorator.php
   branches/print_dev/http/print/classes/mbOverviewDecorator.php
Log:
adjusted some log level outputs

Modified: branches/print_dev/http/print/classes/mbMapDecorator.php
===================================================================
--- branches/print_dev/http/print/classes/mbMapDecorator.php	2009-08-06 13:01:36 UTC (rev 4498)
+++ branches/print_dev/http/print/classes/mbMapDecorator.php	2009-08-06 13:09:35 UTC (rev 4499)
@@ -5,7 +5,7 @@
 if (class_exists('Imagick')) {
 	require_once(dirname(__FILE__)."/../../classes/class_weldMaps2PNG_rotate.php");
 } else { 
-	$e = new mb_notice("mbMapDecorator: php-imagick module has to be installed to be able to use rotated printing.");
+	$e = new mb_warning("mbMapDecorator: php-imagick module has to be installed to be able to use rotated printing.");
 } 
 require_once(dirname(__FILE__)."/../../classes/class_map.php");
 
@@ -84,7 +84,7 @@
 				$i = new weldMaps2PNG_rotate(implode("___",$array_urls), $this->filename, $this->angle);
 			} else {
 				$i = new weldMaps2PNG(implode("___",$array_urls), $this->filename);
-				$e = new mb_notice("mbMapDecorator: no rotation possible.");
+				$e = new mb_warning("mbMapDecorator: no rotation possible.");
 			}
 		} else {
 			$i = new weldMaps2PNG(implode("___",$array_urls), $this->filename);

Modified: branches/print_dev/http/print/classes/mbOverviewDecorator.php
===================================================================
--- branches/print_dev/http/print/classes/mbOverviewDecorator.php	2009-08-06 13:01:36 UTC (rev 4498)
+++ branches/print_dev/http/print/classes/mbOverviewDecorator.php	2009-08-06 13:09:35 UTC (rev 4499)
@@ -5,7 +5,7 @@
 if (class_exists('Imagick')) {
 	require_once(dirname(__FILE__)."/../../classes/class_weldOverview2PNG_rotate.php");
 } else {
-	$e = new mb_notice("mbOverviewDecorator: php-imagick module has to be installed to be able to use rotated printing.");
+	$e = new mb_warning("mbOverviewDecorator: php-imagick module has to be installed to be able to use rotated printing.");
 }
 
 class mbOverviewDecorator extends mbTemplatePdfDecorator {
@@ -76,7 +76,7 @@
 				$i = new weldOverview2PNG_rotate($overview_url, $myURL->url, $this->filename, $rotatedExtent);
 			} else {
 				$i = new weldOverview2PNG($overview_url, $myURL->url, $this->filename);
-				$e = new mb_notice("mbOverviewDecorator: no rotation possible.");				
+				$e = new mb_warning("mbOverviewDecorator: no rotation possible.");				
 			}
 		} else {
 			$i = new weldOverview2PNG($overview_url, $myURL->url, $this->filename);



More information about the Mapbender_commits mailing list