@@ 43-67 (lines=25) @@ | ||
40 | ||
41 | ||
42 | ||
43 | protected function _set_page_routes() { |
|
44 | $this->_page_routes = array( |
|
45 | 'default' => array( |
|
46 | 'func' => '_overview', |
|
47 | 'capability' => 'manage_options' |
|
48 | ), |
|
49 | //'overview' => '_overview', |
|
50 | //'func' => '_overview', |
|
51 | //'capability' => 'ee_read_ee' |
|
52 | //), |
|
53 | 'credits' => array( |
|
54 | 'func' => '_credits', |
|
55 | 'capability' => 'manage_options' |
|
56 | ), |
|
57 | ||
58 | 'decafvpro' => array( |
|
59 | 'func' => '_decafvpro', |
|
60 | 'capability' => 'manage_options' |
|
61 | ), |
|
62 | 'reviews' => array( |
|
63 | 'func' => '_reviews', |
|
64 | 'capability' => 'manage_options' |
|
65 | ), |
|
66 | ); |
|
67 | } |
|
68 | ||
69 | ||
70 |
@@ 46-71 (lines=26) @@ | ||
43 | $this->_admin_base_path = EE_CORE_CAF_ADMIN_EXTEND . 'about'; |
|
44 | } |
|
45 | ||
46 | protected function _set_page_routes() { |
|
47 | $this->_page_routes = array( |
|
48 | 'default' => array( |
|
49 | 'func' => '_whats_new', |
|
50 | 'capability' => 'manage_options' |
|
51 | ), |
|
52 | 'overview' => array( |
|
53 | 'func' => '_overview', |
|
54 | 'capability' => 'manage_options' |
|
55 | ), |
|
56 | 'credits' => array( |
|
57 | 'func' => '_credits', |
|
58 | 'capability' => 'manage_options' |
|
59 | ), |
|
60 | /*'decafvpro' => array( |
|
61 | 'func' => '_decafvpro', |
|
62 | 'capability' => 'manage_options' |
|
63 | ),*/ |
|
64 | 'reviews' => array( |
|
65 | 'func' => '_reviews', |
|
66 | 'capability' => 'manage_options' |
|
67 | ), |
|
68 | ||
69 | ||
70 | ); |
|
71 | } |
|
72 | ||
73 | ||
74 |