Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision b83ef588

Von Holger Lindemann vor mehr als 12 Jahren hinzugefügt

  • ID b83ef588cf9d372b52a42e5ce2f48497b9f2c2dd
  • Vorgänger ff641432
  • Nachfolger afa558ad

Bestfit mitgeben

Variable treuh auf treuhand geändert

Unterschiede anzeigen:

peppershop/Picture.php
37 37
            $faktor = $d["width"]/$d["height"];
38 38
        }
39 39
        $smallheight = floor($this->smallwidth*$faktor);
40
        $handle->thumbnailImage($this->smallwidth, $smallheight);
40
        $handle->thumbnailImage($this->smallwidth, $smallheight, true);
41 41
        $rc = $handle->writeImage( "./tmp/tmp.file_small");
42 42
        if ( !$this->original ) {
43 43
            $handle->readImage("./tmp/tmp.file_org");
44 44
            $bigheight = floor($this->bigwidth * $faktor);
45
            $handle->thumbnailImage( $this->bigwidth, $bigheight);
45
            $handle->thumbnailImage( $this->bigwidth, $bigheight,true);
46 46
            return $handle->writeImage( "./tmp/tmp.file_org");
47 47
        }
48 48
        return $rc;
peppershop/pepper.php
11 11
    var $divVerm = false;
12 12
    var $minder = false;
13 13
    var $paypal = false;
14
    var $treuh = false;
14
    var $treuhand = false;
15 15
    var $nachn = false;
16 16
    var $shopcode = 'ISO-8859-1';
17 17
    var $erpcode = 'UTF-8';
......
85 85
    function translateTable($data,$table) {
86 86
        $newdata = array();
87 87
        foreach ($data as $key=>$val) {
88
             if ($this->{$table}[$key]) 
88
             if (array_key_exists($key, $this->{$table}))
89 89
                 $newdata[$this->{$table}[$key]] = $val;
90 90
        }
91 91
        return $newdata;
......
257 257
                 $artikel[]   = array("partnumber"=>$this->paypal['NR'],"description"=>$this->paypal['TXT'],"taxrate"=>$this->paypal['TAX'],
258 258
                                      "qty"=>1,"unit"=>$this->paypal['Unit'],"sellprice"=>round($row["paypalkosten"],2));
259 259
             if ($row["treuhandkosten"]>0) 
260
                 $artikel[] = array("partnumber"=>$this->treuh['NR'],"description"=>$this->treuh['TXT'],"taxrate"=>$this->treuh['TAX'],
261
                                      "qty"=>1,"unit"=>$this->treuh['Unit'],"sellprice"=>$row["treuhandkosten"]);
260
                 $artikel[] = array("partnumber"=>$this->treuhand['NR'],"description"=>$this->treuhand['TXT'],"taxrate"=>$this->treuhand['TAX'],
261
                                      "qty"=>1,"unit"=>$this->treuhand['Unit'],"sellprice"=>$row["treuhandkosten"]);
262 262
             if ($row["mindermengenzuschlag"]>0) 
263 263
                 $artikel[] = array("partnumber"=>$this->minder['NR'],"description"=>$this->minder['TXT'],"taxrate"=>$this->minder['TAX'],
264 264
                                    "qty"=>1,"unit"=>$this->minder['Unit'],"sellprice"=>$row["mindermengenzuschlag"]);

Auch abrufbar als: Unified diff