@@ 31-46 (lines=16) @@ | ||
28 | * @param \Base $f3 |
|
29 | * @return void |
|
30 | */ |
|
31 | public function listing(\Base $f3) |
|
32 | { |
|
33 | $view = strtolower(trim(strip_tags($f3->get('REQUEST.view')))); |
|
34 | $view = empty($view) ? 'list.phtml' : $view . '.phtml'; |
|
35 | $f3->set('REQUEST.view', $view); |
|
36 | ||
37 | $f3->set('results', $this->getListingResults($f3, new Mappers\OAuth2Apps)); |
|
38 | ||
39 | $f3->set('breadcrumbs', [ |
|
40 | _('Admin') => 'admin', |
|
41 | _('Apps') => 'admin_apps_list', |
|
42 | ]); |
|
43 | ||
44 | $f3->set('form', $f3->get('REQUEST')); |
|
45 | echo \View::instance()->render($this->template_path . $view); |
|
46 | } |
|
47 | ||
48 | ||
49 | /** |
|
@@ 55-71 (lines=17) @@ | ||
52 | * @param \Base $f3 |
|
53 | * @return void |
|
54 | */ |
|
55 | public function search(\Base $f3) |
|
56 | { |
|
57 | $view = strtolower(trim(strip_tags($f3->get('REQUEST.view')))); |
|
58 | $view = empty($view) ? 'list.phtml' : $view . '.phtml'; |
|
59 | $f3->set('REQUEST.view', $view); |
|
60 | ||
61 | $f3->set('results', $this->getSearchResults($f3, new Mappers\OAuth2Apps)); |
|
62 | ||
63 | $f3->set('breadcrumbs', [ |
|
64 | _('Admin') => 'admin', |
|
65 | _('Apps') => 'admin_apps_list', |
|
66 | _('Search') => '', |
|
67 | ]); |
|
68 | ||
69 | $f3->set('form', $f3->get('REQUEST')); |
|
70 | echo \View::instance()->render($this->template_path . $view); |
|
71 | } |
|
72 | ||
73 | /** |
|
74 | * |
@@ 30-45 (lines=16) @@ | ||
27 | * @param \Base $f3 |
|
28 | * @return void |
|
29 | */ |
|
30 | public function listing(\Base $f3) |
|
31 | { |
|
32 | $view = strtolower(trim(strip_tags($f3->get('REQUEST.view')))); |
|
33 | $view = empty($view) ? 'list.phtml' : $view . '.phtml'; |
|
34 | $f3->set('REQUEST.view', $view); |
|
35 | ||
36 | $f3->set('results', $this->getListingResults($f3, new Mappers\Audit)); |
|
37 | ||
38 | $f3->set('breadcrumbs', [ |
|
39 | _('Admin') => 'admin', |
|
40 | _('Audit') => 'admin_audit_list', |
|
41 | ]); |
|
42 | ||
43 | $f3->set('form', $f3->get('REQUEST')); |
|
44 | echo \View::instance()->render($this->template_path . $view); |
|
45 | } |
|
46 | ||
47 | ||
48 | /** |
|
@@ 54-70 (lines=17) @@ | ||
51 | * @param \Base $f3 |
|
52 | * @return void |
|
53 | */ |
|
54 | public function search(\Base $f3) |
|
55 | { |
|
56 | $view = strtolower(trim(strip_tags($f3->get('REQUEST.view')))); |
|
57 | $view = empty($view) ? 'list.phtml' : $view . '.phtml'; |
|
58 | $f3->set('REQUEST.view', $view); |
|
59 | ||
60 | $f3->set('results', $this->getSearchResults($f3, new Mappers\Audit)); |
|
61 | ||
62 | $f3->set('breadcrumbs', [ |
|
63 | _('Admin') => 'admin', |
|
64 | _('Audit') => 'admin_audit_list', |
|
65 | _('Search') => '', |
|
66 | ]); |
|
67 | ||
68 | $f3->set('form', $f3->get('REQUEST')); |
|
69 | echo \View::instance()->render($this->template_path . $view); |
|
70 | } |
|
71 | ||
72 | /** |
|
73 | * |
@@ 43-58 (lines=16) @@ | ||
40 | * @param \Base $f3 |
|
41 | * @return void |
|
42 | */ |
|
43 | public function listing(\Base $f3) |
|
44 | { |
|
45 | $view = strtolower(trim(strip_tags($f3->get('REQUEST.view')))); |
|
46 | $view = empty($view) ? 'list.phtml' : $view . '.phtml'; |
|
47 | $f3->set('REQUEST.view', $view); |
|
48 | ||
49 | $f3->set('results', $this->getListingResults($f3, new Mappers\Pages)); |
|
50 | ||
51 | $f3->set('breadcrumbs', [ |
|
52 | _('Admin') => 'admin', |
|
53 | _('Pages') => 'admin_pages_list', |
|
54 | ]); |
|
55 | ||
56 | $f3->set('form', $f3->get('REQUEST')); |
|
57 | echo \View::instance()->render($this->template_path . $view); |
|
58 | } |
|
59 | ||
60 | ||
61 | /** |
|
@@ 67-83 (lines=17) @@ | ||
64 | * @param \Base $f3 |
|
65 | * @return void |
|
66 | */ |
|
67 | public function search(\Base $f3) |
|
68 | { |
|
69 | $view = strtolower(trim(strip_tags($f3->get('REQUEST.view')))); |
|
70 | $view = empty($view) ? 'list.phtml' : $view . '.phtml'; |
|
71 | $f3->set('REQUEST.view', $view); |
|
72 | ||
73 | $f3->set('results', $this->getSearchResults($f3, new Mappers\Pages)); |
|
74 | ||
75 | $f3->set('breadcrumbs', [ |
|
76 | _('Admin') => 'admin', |
|
77 | _('Pages') => 'admin_pages_list', |
|
78 | _('Search') => '', |
|
79 | ]); |
|
80 | ||
81 | $f3->set('form', $f3->get('REQUEST')); |
|
82 | echo \View::instance()->render($this->template_path . $view); |
|
83 | } |
|
84 | ||
85 | ||
86 | /** |
@@ 31-46 (lines=16) @@ | ||
28 | * @param \Base $f3 |
|
29 | * @return void |
|
30 | */ |
|
31 | public function listing(\Base $f3) |
|
32 | { |
|
33 | $view = strtolower(trim(strip_tags($f3->get('REQUEST.view')))); |
|
34 | $view = empty($view) ? 'list.phtml' : $view . '.phtml'; |
|
35 | $f3->set('REQUEST.view', $view); |
|
36 | ||
37 | $f3->set('results', $this->getListingResults($f3, new Mappers\Reports)); |
|
38 | ||
39 | $f3->set('breadcrumbs', [ |
|
40 | _('Admin') => 'admin', |
|
41 | _('Reports') => 'admin_reports_list', |
|
42 | ]); |
|
43 | ||
44 | $f3->set('form', $f3->get('REQUEST')); |
|
45 | echo \View::instance()->render($this->template_path . $view); |
|
46 | } |
|
47 | ||
48 | ||
49 | /** |
|
@@ 55-71 (lines=17) @@ | ||
52 | * @param \Base $f3 |
|
53 | * @return void |
|
54 | */ |
|
55 | public function search(\Base $f3) |
|
56 | { |
|
57 | $view = strtolower(trim(strip_tags($f3->get('REQUEST.view')))); |
|
58 | $view = empty($view) ? 'list.phtml' : $view . '.phtml'; |
|
59 | $f3->set('REQUEST.view', $view); |
|
60 | ||
61 | $f3->set('results', $this->getSearchResults($f3, new Mappers\Reports)); |
|
62 | ||
63 | $f3->set('breadcrumbs', [ |
|
64 | _('Admin') => 'admin', |
|
65 | _('Reports') => 'admin_reports_list', |
|
66 | _('Search') => '', |
|
67 | ]); |
|
68 | ||
69 | $f3->set('form', $f3->get('REQUEST')); |
|
70 | echo \View::instance()->render($this->template_path . $view); |
|
71 | } |
|
72 | ||
73 | ||
74 | /** |
@@ 31-47 (lines=17) @@ | ||
28 | * @param \Base $f3 |
|
29 | * @return void |
|
30 | */ |
|
31 | public function listing(\Base $f3) |
|
32 | { |
|
33 | $view = strtolower(trim(strip_tags($f3->get('REQUEST.view')))); |
|
34 | $view = empty($view) ? 'list.phtml' : $view . '.phtml'; |
|
35 | $f3->set('REQUEST.view', $view); |
|
36 | ||
37 | $f3->set('results', $this->getListingResults($f3, new Mappers\OAuth2Tokens)); |
|
38 | ||
39 | $f3->set('breadcrumbs', [ |
|
40 | _('Admin') => 'admin', |
|
41 | _('Apps') => 'admin_apps_list', |
|
42 | _('Tokens') => 'admin_tokens_list', |
|
43 | ]); |
|
44 | ||
45 | $f3->set('form', $f3->get('REQUEST')); |
|
46 | echo \View::instance()->render($this->template_path . $view); |
|
47 | } |
|
48 | ||
49 | ||
50 | /** |
@@ 31-46 (lines=16) @@ | ||
28 | * @param \Base $f3 |
|
29 | * @return void |
|
30 | */ |
|
31 | public function listing(\Base $f3) |
|
32 | { |
|
33 | $view = strtolower(trim(strip_tags($f3->get('REQUEST.view')))); |
|
34 | $view = empty($view) ? 'list.phtml' : $view . '.phtml'; |
|
35 | $f3->set('REQUEST.view', $view); |
|
36 | ||
37 | $f3->set('results', $this->getListingResults($f3, new Mappers\Users)); |
|
38 | ||
39 | $f3->set('breadcrumbs', [ |
|
40 | _('Admin') => 'admin', |
|
41 | _('Users') => 'admin_users_list', |
|
42 | ]); |
|
43 | ||
44 | $f3->set('form', $f3->get('REQUEST')); |
|
45 | echo \View::instance()->render($this->template_path . $view); |
|
46 | } |
|
47 | ||
48 | ||
49 | /** |
|
@@ 55-71 (lines=17) @@ | ||
52 | * @param \Base $f3 |
|
53 | * @return void |
|
54 | */ |
|
55 | public function search(\Base $f3) |
|
56 | { |
|
57 | $view = strtolower(trim(strip_tags($f3->get('REQUEST.view')))); |
|
58 | $view = empty($view) ? 'list.phtml' : $view . '.phtml'; |
|
59 | $f3->set('REQUEST.view', $view); |
|
60 | ||
61 | $f3->set('results', $this->getSearchResults($f3, new Mappers\Users)); |
|
62 | ||
63 | $f3->set('breadcrumbs', [ |
|
64 | _('Admin') => 'admin', |
|
65 | _('Users') => 'admin_users_list', |
|
66 | _('Search') => 'admin_users_search', |
|
67 | ]); |
|
68 | ||
69 | $f3->set('form', $f3->get('REQUEST')); |
|
70 | echo \View::instance()->render($this->template_path . $view); |
|
71 | } |
|
72 | ||
73 | ||
74 | /** |
@@ 31-47 (lines=17) @@ | ||
28 | * @param \Base $f3 |
|
29 | * @return void |
|
30 | */ |
|
31 | public function listing(\Base $f3) |
|
32 | { |
|
33 | $view = strtolower(trim(strip_tags($f3->get('REQUEST.view')))); |
|
34 | $view = empty($view) ? 'list.phtml' : $view . '.phtml'; |
|
35 | $f3->set('REQUEST.view', $view); |
|
36 | ||
37 | $f3->set('results', $this->getListingResults($f3, new Mappers\UsersData)); |
|
38 | ||
39 | $f3->set('breadcrumbs', [ |
|
40 | _('Admin') => 'admin', |
|
41 | _('Users') => 'admin_users_list', |
|
42 | _('Data') => 'admin_usersdata_list', |
|
43 | ]); |
|
44 | ||
45 | $f3->set('form', $f3->get('REQUEST')); |
|
46 | echo \View::instance()->render($this->template_path . $view); |
|
47 | } |
|
48 | ||
49 | ||
50 | /** |