1
0
Fork 0
mirror of https://github.com/Ylianst/MeshCentral.git synced 2025-03-09 15:40:18 +00:00

Added a way to specify terms of service in terms.txt.

This commit is contained in:
Ylian Saint-Hilaire 2018-11-28 16:33:07 -08:00
parent 8b87d82278
commit 79dd5ec5d2
9 changed files with 106 additions and 34 deletions

File diff suppressed because one or more lines are too long

View file

@ -242,6 +242,10 @@
if (webPageFullScreen == 'true') { webPageFullScreen = true; }
toggleFullScreen();
var terms = "{{{terms}}}";
if (terms != "") { QH('column_l', decodeURIComponent(terms)); }
QV('column_l', true);
// Toggle the web page to full screen
function toggleFullScreen(toggle) {
if (toggle === 1) { webPageFullScreen = !webPageFullScreen; putstore('webPageFullScreen', webPageFullScreen); }