mirror of
https://github.com/unraid/webgui.git
synced 2026-01-13 05:00:06 -06:00
32 lines
967 B
Plaintext
32 lines
967 B
Plaintext
Menu="Registration"
|
|
Title="Install Key"
|
|
Tag="flag"
|
|
Cond="($var['regTy']!='Pro')"
|
|
---
|
|
<?PHP
|
|
/* Copyright 2005-2020, 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.
|
|
*/
|
|
?>
|
|
<script>
|
|
function installKey(file) {
|
|
if (file)
|
|
openBox("/webGui/include/InstallKey.php?url="+file,"_(Install Key)_",600,900,true);
|
|
}
|
|
</script>
|
|
<form markdown="1">
|
|
|
|
_(To install a registration key, paste the key file URL in the box below and click **Install Key**)_.
|
|
|
|
_(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>
|