Quote:
Originally Posted by Abronsyth
I have it right here. I can see where I need to change it, but I'm still uneasy about PHP, so I don't want to break it, haha.
|
Yup, you just have to remove anything related to the variable $typeCell. Here you goes, locate these lines:
PHP Code:
$row = new TRow;
$idCell = new TCell(new RadioButton("", "id", $id));
$imageCell = new TCell(new Image($adopt->getEggImage(), $adopt->getType()));
$imageCell->setAlign(new Align("center"));
$type = new Comment($adopt->getType());
$type->setBold();
$description = new Comment($adopt->getDescription(), FALSE);
$typeCell = new TCell;
$typeCell->add($type);
$typeCell->add($description);
$row->add($idCell);
$row->add($imageCell);
$row->add($typeCell);
$adoptTable->add($row);
Replace them by:
PHP Code:
$row = new TRow;
$idCell = new TCell(new RadioButton("", "id", $id));
$imageCell = new TCell(new Image($adopt->getEggImage(), $adopt->getType()));
$imageCell->setAlign(new Align("center"));
$row->add($idCell);
$row->add($imageCell);
$adoptTable->add($row);