mirror of
https://github.com/e107inc/e107.git
synced 2025-03-14 01:19:44 +01:00
Gallery - Page titles are back again :)
This commit is contained in:
parent
a453717fd6
commit
ac4b28baf3
@ -89,7 +89,8 @@ class plugin_gallery_index_controller extends eControllerFront
|
||||
$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()
|
||||
@ -147,7 +148,9 @@ class plugin_gallery_index_controller extends eControllerFront
|
||||
$text .= $inner;
|
||||
$text .= $tp->parseTemplate($template['LIST_END'],TRUE);
|
||||
|
||||
$this->addBody($text);
|
||||
$this->addTitle($catname)
|
||||
->addTitle('Gallery')
|
||||
->addBody($text);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user