Menu="OtherSettings"
Title="Varaverk"
Icon="varaverk.png"
---
<?php
$cfg         = parse_plugin_cfg('varaverk');
$scripts_dir = $cfg['SCRIPTS_DIR'] ?? '/mnt/user/appdata/Varaverk';
?>

<form markdown="1" name="varaverk_settings" method="POST" action="/update.php" target="progressFrame">
<input type="hidden" name="#file" value="varaverk/varaverk.cfg">

_(Scripts directory)_:
: <input type="text" name="SCRIPTS_DIR" maxlength="255" value="<?=htmlspecialchars($scripts_dir)?>">

> Path where Varaverk is installed. Changing this only affects the plugin UI — update any scripts that reference the old path manually.

&nbsp;
: <input type="submit" value="_(Apply)_">

</form>

<div style="margin-top:24px;padding-top:16px;border-top:1px solid #2a2a2a;font-family:monospace;font-size:11px;color:#444;">
  <a href="https://github.com/FailedProxy/Varaverk" target="_blank"
     style="color:#555;text-decoration:none;">
    ⎋ github.com/FailedProxy/Varaverk
  </a>
  &nbsp;·&nbsp;
  <a href="https://github.com/FailedProxy/Varaverk/issues" target="_blank"
     style="color:#555;text-decoration:none;">
    Issues
  </a>
</div>
