| Conditions | 2 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 28 | public static function browse_pages ($Request) { |
||
| 29 | $L = new Prefix('static_pages_'); |
||
| 30 | $category = $Request->route_ids(0); |
||
| 31 | Page::instance()->title( |
||
| 32 | $category ? Categories::instance()->get($category)['title'] : $L->root_category |
||
| 33 | ); |
||
| 34 | return h::cs_static_pages_admin_pages_list( |
||
| 35 | [ |
||
| 36 | 'category' => $category |
||
| 37 | ] |
||
| 38 | ); |
||
| 39 | } |
||
| 40 | } |
||
| 41 |