diff options
| author | Simon Rettberg | 2020-10-20 11:01:44 +0200 |
|---|---|---|
| committer | Simon Rettberg | 2020-10-20 11:01:44 +0200 |
| commit | 6e3ddb4d23d8740fa6b6ce8920717a3cd2bb090c (patch) | |
| tree | b8f09b9c7612a9bce32b6dca2c9e07c4f575e4cd /modules-available/locationinfo/page.inc.php | |
| parent | [systemstatus] Add main-warning hook for low disk space (diff) | |
| download | slx-admin-6e3ddb4d23d8740fa6b6ce8920717a3cd2bb090c.tar.gz slx-admin-6e3ddb4d23d8740fa6b6ce8920717a3cd2bb090c.tar.xz slx-admin-6e3ddb4d23d8740fa6b6ce8920717a3cd2bb090c.zip | |
[baseconfig_bwlp/locationinfo] Add SLX_TTY_SWITCH
This will be used (to be implemented client side) to diallow tty
switching from within the X session, as the exam mode currently already
does.
References #3793
Diffstat (limited to 'modules-available/locationinfo/page.inc.php')
| -rw-r--r-- | modules-available/locationinfo/page.inc.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules-available/locationinfo/page.inc.php b/modules-available/locationinfo/page.inc.php index 8032642d..845398f0 100644 --- a/modules-available/locationinfo/page.inc.php +++ b/modules-available/locationinfo/page.inc.php @@ -356,6 +356,7 @@ class Page_LocationInfo extends Page 'browser' => Request::post('browser', 'slx-browser', 'string'), 'interactive' => Request::post('interactive', '0', 'bool'), 'bookmarks' => $bookmarkString ? $bookmarkString : '', + 'allow-tty' => Request::post('allow-tty', '', 'string'), ); return array('config' => $conf, 'locationids' => []); } @@ -982,6 +983,7 @@ class Page_LocationInfo extends Page 'browser' => $config['browser'], 'interactive_checked' => $config['interactive'] ? 'checked' : '', 'bookmarks' => $bookmarksArray, + 'allow-tty_' . $config['allow-tty'] . '_checked' => 'checked', )); } else { Render::addTemplate('page-config-panel-summary', array( |
