forked from kevinowino869/mitrobill
404
This commit is contained in:
@ -140,5 +140,5 @@ switch ($action) {
|
||||
break;
|
||||
|
||||
default:
|
||||
echo 'action not defined';
|
||||
$ui->display('a404.tpl');
|
||||
}
|
||||
|
@ -67,5 +67,5 @@ switch ($action) {
|
||||
die();
|
||||
break;
|
||||
default:
|
||||
echo 'action not defined';
|
||||
$ui->display('a404.tpl');
|
||||
}
|
||||
|
@ -30,5 +30,5 @@ switch ($action) {
|
||||
}
|
||||
break;
|
||||
default:
|
||||
echo 'action not defined';
|
||||
$ui->display('404.tpl');
|
||||
}
|
||||
|
@ -135,5 +135,5 @@ switch ($action) {
|
||||
break;
|
||||
|
||||
default:
|
||||
echo 'action not defined';
|
||||
$ui->display('a404.tpl');
|
||||
}
|
@ -348,5 +348,5 @@ EOF;
|
||||
break;
|
||||
|
||||
default:
|
||||
echo 'action not defined';
|
||||
$ui->display('a404.tpl');
|
||||
}
|
||||
|
@ -439,5 +439,5 @@ switch ($action) {
|
||||
}
|
||||
break;
|
||||
default:
|
||||
echo 'action not defined';
|
||||
$ui->display('a404.tpl');
|
||||
}
|
||||
|
@ -25,10 +25,12 @@ switch ($action) {
|
||||
$nas = ORM::for_table('nas', 'radius')->find_many();
|
||||
$ui->assign('nas', $nas);
|
||||
$ui->display('radius-nas.tpl');
|
||||
break;
|
||||
case 'nas-add':
|
||||
$ui->assign('_system_menu', 'network');
|
||||
$ui->assign('_title', "Network Access Server");
|
||||
$ui->display('radius-nas-add.tpl');
|
||||
break;
|
||||
case 'nas-add-post':
|
||||
$shortname = _post('shortname');
|
||||
$nasname = _post('nasname');
|
||||
@ -79,6 +81,7 @@ switch ($action) {
|
||||
}else{
|
||||
r2(U . 'radius/nas-add', 'e', $msg);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
$ui->display('a404.tpl');
|
||||
}
|
||||
|
@ -80,5 +80,5 @@ switch ($action) {
|
||||
break;
|
||||
|
||||
default:
|
||||
echo 'action not defined';
|
||||
$ui->display('a404.tpl');
|
||||
}
|
@ -619,5 +619,5 @@ switch ($action) {
|
||||
}
|
||||
break;
|
||||
default:
|
||||
echo 'action not defined';
|
||||
$ui->display('a404.tpl');
|
||||
}
|
||||
|
@ -716,5 +716,5 @@ switch ($action) {
|
||||
break;
|
||||
|
||||
default:
|
||||
echo 'action not defined';
|
||||
$ui->display('a404.tpl');
|
||||
}
|
||||
|
@ -54,5 +54,5 @@ switch ($action) {
|
||||
break;
|
||||
|
||||
default:
|
||||
$ui->display('404.tpl');
|
||||
$ui->display('a404.tpl');
|
||||
}
|
||||
|
Reference in New Issue
Block a user