Files
webgui/emhttp/plugins/dynamix/InstallKey.page
Tom Mortensen f9ec00b488 repo reorg
2023-06-02 12:49:33 -07:00

35 lines
1.0 KiB
Plaintext

Menu="Registration"
Title="Install Key"
Tag="flag"
Cond="($var['regTy']!='Pro')"
---
<?PHP
/* Copyright 2005-2022, 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,
* as published by the Free Software Foundation.
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*/
?>
<style>
span.info{margin-left:12px}
</style>
<script>
function installKey(file) {
file = file.trim();
if (file) openPlugin('install_key '+encodeURIComponent(file), "_(Install Key)_");
}
</script>
<form markdown="1">
<span class="info">_(To install a registration key, paste the key file URL in the box below and click **Install Key**)_.</span>
_(Key file URL)_:
: <input type="text" name="file" id="key_file" maxlength="1024" value="" style="width:33%">
<input type="button" value="_(Install Key)_" onclick="installKey(this.form.file.value.trim())">
</form>