Added theme support in popup windows

This commit is contained in:
bergware
2017-06-17 12:43:11 +02:00
parent cb50945cf4
commit 8fff4fc72b
9 changed files with 65 additions and 46 deletions
+7 -3
View File
@@ -1,5 +1,5 @@
<?PHP
/* Copyright 2005-2016, Lime Technology
/* Copyright 2005-2017, Lime Technology
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License version 2,
@@ -10,11 +10,15 @@
*/
?>
<?
$docroot = $docroot ?: $_SERVER['DOCUMENT_ROOT'] ?: '/usr/local/emhttp';
require_once "$docroot/webGui/include/Wrappers.php";
$var = parse_ini_file('state/var.ini');
$webgui = parse_plugin_cfg('dynamix',true);
$keyfile = base64_encode(file_get_contents($var['regFILE']));
?>
<link type="text/css" rel="stylesheet" href="/webGui/styles/default-fonts.css">
<link type="text/css" rel="stylesheet" href="/webGui/styles/default-white.css">
<link type="text/css" rel="stylesheet" href="/webGui/styles/default-<?=$webgui['display']['theme']?>.css">
<script src="/webGui/javascript/dynamix.js"></script>
<script>
function replaceKey(email, guid, keyfile) {
@@ -49,7 +53,7 @@ function replaceKey(email, guid, keyfile) {
}
</script>
<body>
<div style="margin-top:20px;font-size:12px;line-height:30px;color:#303030;margin-left:40px;">
<div style="margin-top:20px;font-size:12px;line-height:30px;margin-left:40px">
<div id="status_panel"></div>
<form markdown="1" id="input_form">