mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 11:50:30 +02:00
Gallery - Page titles are back again :)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user