1234567891011121314151617181920212223242526272829303132333435363738394041 |
- <?php
- class AdminPage extends Page
- {
-
- static function create($title = '')
- {
- return new self($title);
- }
-
- function __construct($title = '')
- {
- global $this_section;
- $this_section = SECTION_PLATFORM_ADMIN;
- api_protect_admin_script();
- if (empty($title)) {
- $title = get_lang(get_class($this));
- }
- $this->title = $title;
- $this->breadcrumbs = array();
- $this->breadcrumbs[] = array('url' => 'index.php', 'name' => get_lang('PlatformAdmin'));
- }
- }
|