[Mapbender-commits] r2710 - branches/2.5/http/print

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Thu Jul 24 01:51:13 EDT 2008


Author: beck
Date: 2008-07-24 01:51:12 -0400 (Thu, 24 Jul 2008)
New Revision: 2710

Modified:
   branches/2.5/http/print/printPDF_b.conf
Log:


Modified: branches/2.5/http/print/printPDF_b.conf
===================================================================
--- branches/2.5/http/print/printPDF_b.conf	2008-07-24 05:49:09 UTC (rev 2709)
+++ branches/2.5/http/print/printPDF_b.conf	2008-07-24 05:51:12 UTC (rev 2710)
@@ -1,6 +1,6 @@
 <?php
 
-include_once(dirname(__FILE__)."/../../core/globalSettings.php");
+include_once(dirname(__FILE__)."/../../conf/mapbender.conf");
 # filename for temporary imagefiles
 $filename = TMPDIR."/map_".substr(md5(uniqid(rand())),0,7).".png";
 
@@ -9,7 +9,7 @@
 */
 $download = true;
 $downloadFile = TMPDIR."/map_".substr(md5(uniqid(rand())),0,7).".pdf";
-$downloadText = _mb("Download: Map as PDF...");
+$downloadText = "Download: Karte als PDF...";
 
 /*
 *run print as iframe or window
@@ -22,11 +22,11 @@
 * Legend
 */
 $legend=true;
-$label_legend = _mb('print legend');
+$label_legend = 'Print legend';
 $legendFilename = TMPDIR."/legend_".substr(md5(uniqid(rand())),0,7).".png";
 $legendFilenameUserPolygon = TMPDIR."/legend_".substr(md5(uniqid(rand())),0,7).".png";
-$legendText = _mb("Legend");
-$legendFooter = _mb("powered by Mapbender");
+$legendText = "Legende";
+$legendFooter = "powered by Mapbender";
 $legendImage = "./img/mapbender_logo.png";
 $legendImage_width = 90;
 $legendImage_height = 13;
@@ -48,51 +48,54 @@
 	$new_comment2 = $_REQUEST["comment2"];
 }
 
-$text1 = _mb("Print preview");
+$text1 = "Druckansicht";
 $text2 = "- Mapbender -";
 $text3 = "";
-$text4 = _mb("Scale 1:"). " ".$_REQUEST["map_scale"];
-$text5 = _mb("Date:") . " ".date("d.m.Y",strtotime("now"));
+$text4 = "Maßstab 1 : " . $_REQUEST["map_scale"];
+$text5 = "Datum: " . date("d.m.Y",strtotime("now"));;
 
-$text6 = _mb("Notes:");
+$text6 = "Notizen:";
 $text7 = "";
 $text8 = $new_comment1;
 $text9 = $new_comment2;
 $text10 = "";
 
 
-$text11 = _mb("This copy has been automatically generated and is thus not valid without signature.");
-$text12 = _mb("This copy is protected by law (Par. 3 Abs. 1 VermKatG NW). It can be duplicaedted, modified, published or be passed to third parties only in agreement with");
-$text13 = _mb("the publisher, except duplicates and modifications aimed at internal use of government agencies or private use.");
+$text11 = "Der Auszug ist maschinell erzeugt, er ist ohne Unterschrift gültig.";
+$text12 = "Dieser Auszug ist gesetzlich geschützt (§ 3 Abs. 1 VermKatG NW). Vervielfältigungen, Umarbeitungen, Veröffentlichungen oder die Weitergabe an Dritte nur mit Zustimmung des";
+$text13 = "Herausgebers, ausgenommen Vervielfältigungen und Umarbeitungen zur innerdienstlichen Verwendung bei Behörden oder zum eigenen Gebrauch.";
 
-$text14 = _mb("This copy is protected,");
-$text15 = _mb("ask me!!!!");
-$text16 = _mb("or the publisher");
-$text17 = _mb("or use is internally.");
+$text14 = "Dieser Auszug ist gesetzlich geschützt (§ 3 Abs. 1 VermKatG NW). Vervielfältigungen,";
+$text15 = "Umarbeitungen, Veröffentlichungen oder die Weitergabe an Dritte nur mit Zustimmung";
+$text16 = "des Herausgebers, ausgenommen Vervielfältigungen und Umarbeitungen zur inner-";
+$text17 = "dienstlichen Verwendung bei Behörden oder zum eigenen Gebrauch.";
 
 /*
 * Labeling for buttons, textfields ...
 */
 
-$label_format = _mb("Format:");
+$label_format = "Format";
 $label_format_a4 = "A4";
 $label_format_a3 = "A3";
 $label_format_a2 = "A2";
 $label_format_a1 = "A1";
 $label_format_a0 = "A0";
 
-$label_orientation = _mb("Orientation:");
-$label_portrait = _mb("portrait");
-$label_landscape = _mb("landscape");
+$label_orientation = "Orientation";
+$label_portrait = "Portrait";
+$label_landscape = "Landscape";
+
+$label_quality = "Quality";
+$label_72dpi = "72 dpi";
+$label_288dpi = "288 dpi";
 
-$label_72dpi = sprintf(_mb("Quality: %d dpi"), 72);
-$label_288dpi = sprintf(_mb("Quality: %d dpi"), 288);
+$label_comment1 = "Comment 1";
+$label_comment2 = "Comment 2";
+$comment1_length = 30;
+$comment2_length = 30;
 
-$label_comment = _mb("Comment (max. 30)");
-$comment_length = 30;
+$label_button = 'Print';
 
-$label_button = _mb('print');
-
 /*
 * default
 * url string matching and replacement
@@ -122,8 +125,8 @@
 $a4 = true;
 $a3 = true;
 $a2 = true;
-$a1 = false;
-$a0 = false;
+$a1 = true;
+$a0 = true;
 
 # dimensions of the map:
 



More information about the Mapbender_commits mailing list