mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 10:37:42 -07:00
refactoring dns section: new html formating
This commit is contained in:
parent
64e74887f8
commit
28d66aac89
26 changed files with 1337 additions and 922 deletions
|
@ -140,10 +140,8 @@ top_panel($user,$TAB);
|
|||
|
||||
}
|
||||
if ($_SESSION['user'] == 'admin') {
|
||||
include($_SERVER['DOCUMENT_ROOT'].'/templates/admin/menu_edit_dns.html');
|
||||
include($_SERVER['DOCUMENT_ROOT'].'/templates/admin/edit_dns.html');
|
||||
} else {
|
||||
include($_SERVER['DOCUMENT_ROOT'].'/templates/admin/menu_edit_dns.html');
|
||||
include($_SERVER['DOCUMENT_ROOT'].'/templates/user/edit_dns.html');
|
||||
}
|
||||
unset($_SESSION['error_msg']);
|
||||
|
@ -200,7 +198,6 @@ top_panel($user,$TAB);
|
|||
}
|
||||
|
||||
}
|
||||
include($_SERVER['DOCUMENT_ROOT'].'/templates/admin/menu_edit_dns_rec.html');
|
||||
include($_SERVER['DOCUMENT_ROOT'].'/templates/admin/edit_dns_rec.html');
|
||||
unset($_SESSION['error_msg']);
|
||||
unset($_SESSION['ok_msg']);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue