forked from unraid/webgui
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathInstallKey.page
More file actions
31 lines (28 loc) · 951 Bytes
/
InstallKey.page
File metadata and controls
31 lines (28 loc) · 951 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Menu="Registration"
Title="Install Key"
Tag="flag"
Cond="($var['regTy']!='Pro')"
---
<?PHP
/* Copyright 2005-2018, 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>