Make the Deactivate account template user selectable for both LDAP and WebGUI. Fixes bug #11482
This commit is contained in:
parent
c0206e61f5
commit
d6f61c07d1
11 changed files with 124 additions and 11 deletions
|
|
@ -406,7 +406,7 @@ sub deactivateAccount {
|
|||
$var{'yes.label'} = $i18n->get(44);
|
||||
$var{'no.url'} = $self->session->url->page();
|
||||
$var{'no.label'} = $i18n->get(45);
|
||||
return WebGUI::Asset::Template->new($self->session,"PBtmpl0000000000000057")->process(\%var);
|
||||
return WebGUI::Asset::Template->new($self->session,$self->get('getDeactivateAccountTemplateId'))->process(\%var);
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
|
@ -662,6 +662,18 @@ sub getCreateAccountTemplateId {
|
|||
|
||||
#-------------------------------------------------------------------
|
||||
|
||||
=head2 getDeactivateAccountTemplateId ( )
|
||||
|
||||
This method should be overridden by the subclass and should return the template ID for the deactivate account screen.
|
||||
|
||||
=cut
|
||||
|
||||
sub getDeactivateAccountTemplateId {
|
||||
return "PBtmpl0000000000000057";
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
||||
=head2 getDefaultLoginTemplateId ( )
|
||||
|
||||
This method should be overridden by the subclass and should return the default template ID for the login screen.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue