Changeset 171


Ignore:
Timestamp:
07/12/05 16:27:17 (19 years ago)
Author:
bastiaans
Message:

toga/libtoga.php:

toga/index.php:

  • Now grid is a link too
Location:
trunk/web/addons/toga
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/web/addons/toga/index.php

    r161 r171  
    151151        # Show grid.
    152152        $mygrid =  ($self == "unspecified") ? "" : $self;
    153         $node_menu .= "<B>$mygrid $meta_designator</B> ";
     153        $node_menu .= "<B><A HREF=\"../..\">$mygrid $meta_designator</A></B> ";
    154154        $node_menu .= "<B>&gt;</B>\n";
    155155
  • trunk/web/addons/toga/libtoga.php

    r163 r171  
    911911
    912912                //printf( "imagecreate: %dx%d", ($nodes_per_row*$node_width), ($node_rows*$node_width) );
    913                 $image = imageCreateTrueColor( ($nodes_per_row*$node_width)+1, ($node_rows*$node_width)+1 );
     913                //$image = imageCreateTrueColor( ($nodes_per_row*$node_width)+1, ($node_rows*$node_width)+1 );
     914                $image = imageCreateTrueColor( $max_width, ($node_rows*$node_width)+1 );
    914915                $colorwhite = imageColorAllocate( $image, 255, 255, 255 );
    915916                imageFill( $image, 0, 0, $colorwhite );
Note: See TracChangeset for help on using the changeset viewer.