Файл: templates/admincoreui/controllers/admin/user.tpl.php
Строк: 12
<?php
if ($do=='add') { $this->setPageTitle(LANG_CP_USER_ADD); }
if ($do=='edit') { $this->setPageTitle(LANG_USER.': '.$user['nickname']); }
if ($do=='add'){
$this->addBreadcrumb(LANG_CP_SECTION_USERS, $this->href_to('users'));
$this->addBreadcrumb(LANG_CP_USER_ADD);
}
if ($do=='edit'){
$this->addBreadcrumb(LANG_CP_SECTION_USERS, $this->href_to('users'));
$this->addBreadcrumb($user['nickname'].', '.$user['email']);
}
$this->addToolButton(array(
'class' => 'save',
'title' => LANG_SAVE,
'href' => "javascript:icms.forms.submit()"
));
$this->addToolButton(array(
'class' => 'cancel',
'title' => LANG_CANCEL,
'href' => $this->href_to('users')
));
$this->addToolButton(array(
'class' => 'help',
'title' => LANG_HELP,
'target' => '_blank',
'href' => LANG_HELP_URL_USERS_USER
));
$this->renderForm($form, $user, array(
'action' => '',
'method' => 'post'
), $errors);