示例#1
0
 function before()
 {
     parent::before();
     $this->_seo['h1'] = 'Шаблоны писем';
     $this->_seo['title'] = 'Шаблоны писем';
     $this->setBreadcrumbs('Шаблоны писем', 'backend/' . Route::controller() . '/index');
 }
示例#2
0
 function before()
 {
     parent::before();
     $this->_seo['h1'] = 'Группы товаров';
     $this->_seo['title'] = 'Группы товаров';
     $this->setBreadcrumbs('Группы товаров', 'backend/' . Route::controller() . '/index');
 }
示例#3
0
 function before()
 {
     parent::before();
     $this->_seo['h1'] = 'Меню сайта';
     $this->_seo['title'] = 'Меню сайта';
     $this->setBreadcrumbs('Меню сайта', 'backend/' . Route::controller() . '/index');
 }
示例#4
0
 function before()
 {
     parent::before();
     $this->_seo['h1'] = 'Роли пользователей';
     $this->_seo['title'] = 'Роли пользователей';
     $this->setBreadcrumbs('Роли пользователей', 'backend/' . Route::controller() . '/index');
 }
示例#5
0
 function before()
 {
     parent::before();
     $this->_seo['h1'] = 'Счетчики';
     $this->_seo['title'] = 'Счетчики';
     $this->setBreadcrumbs('Страницы', 'backend/' . Route::controller() . '/index');
 }
示例#6
0
 function before()
 {
     parent::before();
     $this->_seo['h1'] = 'Афиши';
     $this->_seo['title'] = 'Афиши';
     $this->setBreadcrumbs('Афиши', 'backend/' . Route::controller() . '/index');
     $this->limit = Config::get('limit_backend');
 }
示例#7
0
 function before()
 {
     parent::before();
     $this->_seo['h1'] = 'Сообщения из формы заказа звонка';
     $this->_seo['title'] = 'Сообщения из формы заказа звонка';
     $this->setBreadcrumbs('Сообщения из формы заказа звонка', 'backend/' . Route::controller() . '/index');
     $this->limit = Config::get('limit_backend');
 }
示例#8
0
 function before()
 {
     parent::before();
     $this->_seo['h1'] = 'Заказы';
     $this->_seo['title'] = 'Заказы';
     $this->setBreadcrumbs('Заказы', 'backend/afisha_orders/index');
     $this->limit = Config::get('limit_backend');
     $this->pay_statuses = Config::get('order.pay_statuses');
     $this->seat_statuses = Config::get('order.seat_statuses');
 }
示例#9
0
 function before()
 {
     parent::before();
     $this->_seo['h1'] = 'Пользователи';
     $this->_seo['title'] = 'Пользователи';
     $this->setBreadcrumbs('Пользователи', 'backend/' . Route::controller() . '/index');
     $this->page = (int) Route::param('page') ? (int) Route::param('page') : 1;
     $this->limit = (int) Arr::get($_GET, 'limit', Config::get('limit_backend')) < 1 ?: Arr::get($_GET, 'limit', Config::get('limit_backend'));
     $this->offset = ($this->page - 1) * $this->limit;
 }
示例#10
0
 function before()
 {
     parent::before();
     $this->_seo['h1'] = 'Статистика по организаторам';
     $this->_seo['title'] = 'Статистика по организаторам';
     $this->setBreadcrumbs('Статистика по организаторам', 'backend/organizer/index');
     $this->limit = Config::get('limit_backend');
     $this->pay_statuses = Config::get('order.pay_statuses');
     $this->seat_statuses = Config::get('order.seat_statuses');
     $this->page = (int) Route::param('page') ? (int) Route::param('page') : 1;
 }
示例#11
0
 function before()
 {
     parent::before();
     $this->_seo['h1'] = 'Размеры';
     $this->_seo['title'] = 'Размеры';
     $this->setBreadcrumbs('Размеры', 'backend/' . Route::controller() . '/index');
     $this->limit = Config::get('limit_backend');
     $this->delivery = Config::get('order.delivery');
     $this->payment = Config::get('order.payment');
     $this->statuses = Config::get('order.statuses');
 }
示例#12
0
 function before()
 {
     parent::before();
     $this->_seo['h1'] = 'Администраторы';
     $this->_seo['title'] = 'Администраторы';
     $this->setBreadcrumbs('Администраторы', 'backend/admins/index');
     $this->page = (int) Route::param('page') ? (int) Route::param('page') : 1;
     $this->limit = Config::get('limit_backend');
     $this->offset = ($this->page - 1) * $this->limit;
     $aroles = Roles::getBackendUsersRoles();
     foreach ($aroles as $obj) {
         $this->aroles[$obj->id] = $obj->name;
     }
 }
示例#13
0
 function before()
 {
     parent::before();
     $this->_toolbar = Widgets::get('Toolbar/Edit');
     Config::set('colls', 'column-2');
 }
示例#14
0
 function before()
 {
     parent::before();
     $this->_seo['title'] = 'Админ-панель';
 }