mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-11-09 19:20:09 +01:00
admin/add: add ?mode=student toggle — hides admin header, keeps admin form css
This commit is contained in:
1 parent
150b5b1dac
commit
c3affd2285
2 files changed
+3
-7
No files matched your search
@@ -49,11 +49,11 @@ function wasSelected($key, $value) {
|
||||
}
|
||||
?>
|
||||
<?php
|
||||
$isAdmin = true;
|
||||
if ($studentMode) {
|
||||
$bodyClass = 'student-body';
|
||||
$bodyClass = 'admin-body student-body';
|
||||
require_once APP_ROOT . '/templates/head.php';
|
||||
} else {
|
||||
$isAdmin = true;
|
||||
$bodyClass = 'admin-body';
|
||||
require_once APP_ROOT . '/templates/head.php';
|
||||
include APP_ROOT . '/templates/header.php';
|
||||
|
||||
Reference in new issue
Block a user