Skip to content

Commit

Permalink
Gallery - Page titles are back again :)
Browse files Browse the repository at this point in the history
  • Loading branch information
myovchev committed Aug 24, 2012
1 parent a453717 commit ac4b28b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions e107_plugins/gallery/controllers/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ public function actionCategory()
$text .= e107::getParser()->parseTemplate($template['CAT_ITEM'],TRUE);
}
$text = $template['CAT_START'].$text.$template['CAT_END'];
$this->addBody($text);
$this->addTitle('Gallery')
->addBody($text);
}

public function actionList()
Expand Down Expand Up @@ -147,7 +148,9 @@ public function actionList()
$text .= $inner;
$text .= $tp->parseTemplate($template['LIST_END'],TRUE);

$this->addBody($text);
$this->addTitle($catname)
->addTitle('Gallery')
->addBody($text);
}
}

0 comments on commit ac4b28b

Please sign in to comment.