selected router

This commit is contained in:
Ibnu Maksum 2023-12-11 15:08:00 +07:00
parent 653580722e
commit 431c971f3a
No known key found for this signature in database
GPG key ID: 7FC82848810579E5

View file

@ -231,7 +231,7 @@
<select class="form-control" onchange="document.getElementById('sms_url').value = this.value">
<option value="">Select Router</option>
{foreach $r as $rs}
<option value="{$rs['name']}">{$rs['name']}</option>
<option value="{$rs['name']}" {if $rs['name']==$_c['sms_url']}selected{/if}>{$rs['name']}</option>
{/foreach}
</select>
</div>