mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-08-04 02:04:53 +02:00
Add Public Header and Footer in user-ui folder, and use it for public page
This commit is contained in:
parent
7e9f6123e8
commit
686d2a188a
13 changed files with 810 additions and 796 deletions
|
@ -290,9 +290,11 @@ switch ($do) {
|
|||
default:
|
||||
run_hook('customer_view_login'); #HOOK
|
||||
if ($config['disable_registration'] == 'yes') {
|
||||
$ui->assign('_title', Lang::T('Activation'));
|
||||
$ui->assign('code', alphanumeric(_get('code'), "-"));
|
||||
$ui->display('user-ui/login-noreg.tpl');
|
||||
} else {
|
||||
$ui->assign('_title', Lang::T('Login'));
|
||||
$ui->display('user-ui/login.tpl');
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue