Revize 47e17574
Přidáno uživatelem Ondřej Fibich před asi 9 roky(ů)
application/controllers/members.php | ||
---|---|---|
));
|
||
}
|
||
|
||
if ($this->acl_check_new(get_class($this), 'applicants'))
|
||
if (Settings::get('self_registration') &&
|
||
$this->acl_check_new(get_class($this), 'applicants'))
|
||
{
|
||
$grid->add_new_button('registration', 'Register applicant', array
|
||
$grid->add_new_button('registration', 'Register new applicant', array
|
||
(
|
||
'title' => __('Registration form'),
|
||
));
|
||
}
|
||
|
||
if (!$hide_grid && $this->acl_check_edit('Register applicant', 'registration'))
|
||
if (!$hide_grid && $this->acl_check_edit('Members_Controller', 'registration'))
|
||
{
|
||
if (!$regs)
|
||
{
|
Také k dispozici: Unified diff
refs #864: Fixes C&P Jeff error :-) and improves label of registration form link from applicants member and hide link when self-registration is disabled.