@@ -47,7 +47,7 @@ public function display()
4747
4848 $ ban_data = $ this ->model ->find_ban ($ start_from );
4949
50- $ this ->feather ->view2 ->setPageInfo (array (
50+ $ this ->feather ->template ->setPageInfo (array (
5151 'admin_console ' => true ,
5252 'page ' => $ p ,
5353 'title ' => array (Utils::escape ($ this ->config ['o_board_title ' ]), __ ('Admin ' ), __ ('Bans ' ), __ ('Results head ' )),
@@ -59,7 +59,7 @@ public function display()
5959 else {
6060 \FeatherBB \AdminUtils::generateAdminMenu ('bans ' );
6161
62- $ this ->feather ->view2 ->setPageInfo (array (
62+ $ this ->feather ->template ->setPageInfo (array (
6363 'admin_console ' => true ,
6464 'focus_element ' => array ('bans ' , 'new_ban_user ' ),
6565 'title ' => array (Utils::escape ($ this ->config ['o_board_title ' ]), __ ('Admin ' ), __ ('Bans ' )),
@@ -76,7 +76,7 @@ public function add($id = null)
7676
7777 \FeatherBB \AdminUtils::generateAdminMenu ('bans ' );
7878
79- $ this ->feather ->view2 ->setPageInfo (array (
79+ $ this ->feather ->template ->setPageInfo (array (
8080 'admin_console ' => true ,
8181 'focus_element ' => array ('bans2 ' , 'ban_user ' ),
8282 'title ' => array (Utils::escape ($ this ->config ['o_board_title ' ]), __ ('Admin ' ), __ ('Bans ' )),
@@ -98,7 +98,7 @@ public function edit($id)
9898 }
9999 \FeatherBB \AdminUtils::generateAdminMenu ('bans ' );
100100
101- $ this ->feather ->view2 ->setPageInfo (array (
101+ $ this ->feather ->template ->setPageInfo (array (
102102 'admin_console ' => true ,
103103 'focus_element ' => array ('bans2 ' , 'ban_user ' ),
104104 'title ' => array (Utils::escape ($ this ->config ['o_board_title ' ]), __ ('Admin ' ), __ ('Bans ' )),
0 commit comments