forked from featherbb/featherbb
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathHelp.php
More file actions
30 lines (24 loc) · 697 Bytes
/
Help.php
File metadata and controls
30 lines (24 loc) · 697 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?php
/**
* Copyright (C) 2015-2016 FeatherBB
* based on code by (C) 2008-2015 FluxBB
* and Rickard Andersson (C) 2002-2008 PunBB
* License: http://www.gnu.org/licenses/gpl.html GPL version 2 or higher
*/
namespace FeatherBB\Controller;
use FeatherBB\Core\Utils;
class Help
{
public function __construct()
{
translate('help');
}
public function display($req, $res, $args)
{
Container::get('hooks')->fire('controller.help.start');
View::setPageInfo(array(
'title' => array(Utils::escape(ForumSettings::get('o_board_title')), __('Help')),
'active_page' => 'help',
))->addTemplate('help.php')->display();
}
}