Ignore:
Timestamp:
07/07/07 13:57:33 (17 years ago)
Author:
bastiaans
Message:

web/addons/job_monarch/libtoga.php:

  • fixed bug where xoffset for hostimage header text was miscalculated
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/web/addons/job_monarch/libtoga.php

    r409 r426  
    16821682                        $colorgreen     = imageColorAllocate( $this->image, 0, 200, 0 );
    16831683
    1684                         imageString( $this->image, $this->font, $xoffset, $this->y_offset, ucfirst( $headername ), $colorgreen );
    1685                
    16861684                        if( $headerlen < strlen( $headername ) )
    16871685                                $this->headerstrlen[$headername]        = strlen( $headername );
    16881686
    1689                         $xoffset        = $xoffset + ($this->fontwidth * ( $headerlen + 1 ) );
     1687                        imageString( $this->image, $this->font, $xoffset, $this->y_offset, ucfirst( $headername ), $colorgreen );
     1688
     1689                        $xoffset        = $xoffset + ($this->fontwidth * ( $this->headerstrlen[$headername] + 1 ) );
    16901690
    16911691                }
Note: See TracChangeset for help on using the changeset viewer.