mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 10:37:42 -07:00
refactoring web section: new html formating
This commit is contained in:
parent
427b254138
commit
64e74887f8
14 changed files with 1554 additions and 942 deletions
|
@ -229,10 +229,8 @@ top_panel($user,$TAB);
|
|||
|
||||
// Are you admin?
|
||||
if ($_SESSION['user'] == 'admin') {
|
||||
include($_SERVER['DOCUMENT_ROOT'].'/templates/admin/menu_add_web.html');
|
||||
include($_SERVER['DOCUMENT_ROOT'].'/templates/admin/add_web.html');
|
||||
} else {
|
||||
include($_SERVER['DOCUMENT_ROOT'].'/templates/admin/menu_add_web.html');
|
||||
include($_SERVER['DOCUMENT_ROOT'].'/templates/user/add_web.html');
|
||||
}
|
||||
unset($_SESSION['error_msg']);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue