Subversion Repositories wpShopGermany4

Rev

Rev 7285 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7285 Rev 7306
Line 44... Line 44...
44
 
44
 
45
				$alpha = 1;
45
				$alpha = 1;
46
				if (wpsg_isSizedString($transparency) && $transparency !== "100") $alpha = "0.$transparency";
46
				if (wpsg_isSizedString($transparency) && $transparency !== "100") $alpha = "0.$transparency";
47
				if (wpsg_isSizedString($transparency) && $transparency === "100") $alpha = $transparency;
47
				if (wpsg_isSizedString($transparency) && $transparency === "100") $alpha = $transparency;
48
 
48
 
-
 
49
				/*
49
				$logo_pos = $shop->get_option('wpsg_mod_coverletter_logo_position');
50
				$logo_pos = $shop->get_option('wpsg_mod_coverletter_logo_position');
50
 
51
 
51
				if(isset($logo_pos) && $logo_pos === "left") { $abscissa = 0; }
52
				if(isset($logo_pos) && $logo_pos === "left") { $abscissa = 0; }
52
				if(isset($logo_pos) && $logo_pos === "center") { $abscissa = 105 - ($wPix / 2); }
53
				if(isset($logo_pos) && $logo_pos === "center") { $abscissa = 105 - ($wPix / 2); }
53
				if(isset($logo_pos) && $logo_pos === "right") { $abscissa = 210 - $wPix; }
54
				if(isset($logo_pos) && $logo_pos === "right") { $abscissa = 210 - $wPix; }
-
 
55
				*/
-
 
56
				
-
 
57
				$logox = intval($shop->get_option('wpsg_mod_coverletter_logo_x'));
-
 
58
				$logoy = intval($shop->get_option('wpsg_mod_coverletter_logo_y'));
54
 
59
 
55
				$pdf->SetAlpha($alpha);
60
				$pdf->SetAlpha($alpha);
56
				$pdf->image($shop->callMod('wpsg_mod_coverletter', 'getFilePath', array(''))."wpsg_coverletter_logo.jpg", $abscissa, 0, $wPix, $hPix);
61
				$pdf->image($shop->callMod('wpsg_mod_coverletter', 'getFilePath', array(''))."wpsg_coverletter_logo.jpg", $logox, $logoy, $wPix, $hPix);
57
				$pdf->SetAlpha(1);
62
				$pdf->SetAlpha(1);
58
 
63
 
59
			}
64
			}
60
								
65
								
61
			// Adresse des Kunden
66
			// Adresse des Kunden