1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-02 20:57:26 +02:00

Gallery - Page titles are back again :)

This commit is contained in:
secretr
2012-08-24 12:49:30 +00:00
parent a453717fd6
commit ac4b28baf3

View File

@@ -89,7 +89,8 @@ class plugin_gallery_index_controller extends eControllerFront
$text .= e107::getParser()->parseTemplate($template['CAT_ITEM'],TRUE); $text .= e107::getParser()->parseTemplate($template['CAT_ITEM'],TRUE);
} }
$text = $template['CAT_START'].$text.$template['CAT_END']; $text = $template['CAT_START'].$text.$template['CAT_END'];
$this->addBody($text); $this->addTitle('Gallery')
->addBody($text);
} }
public function actionList() public function actionList()
@@ -147,7 +148,9 @@ class plugin_gallery_index_controller extends eControllerFront
$text .= $inner; $text .= $inner;
$text .= $tp->parseTemplate($template['LIST_END'],TRUE); $text .= $tp->parseTemplate($template['LIST_END'],TRUE);
$this->addBody($text); $this->addTitle($catname)
->addTitle('Gallery')
->addBody($text);
} }
} }