Files
webgui/emhttp/plugins/dynamix/InstallKey.page
Zack Spear 6ab0e7bbea fix: enhance layout consistency in InstallKey.page
- Wrapped the Install Key button in a span element to improve layout consistency.
- This change continues the effort to enhance visual structure across the plugin.
2025-05-20 17:27:25 -07:00

35 lines
1.0 KiB
Plaintext

Menu="Registration"
Title="Install Key"
Tag="flag"
Cond="($var['regTy']!='Pro' || $var['regTy']!='Lifetime')"
---
<?PHP
/* Copyright 2005-2023, 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) {
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="">
&nbsp;
: <span class="inline-block">
<input type="button" value="_(Install Key)_" onclick="installKey(this.form.file.value.trim())">
</span>
</form>