--- > —

This commit is contained in:
Miraty 2023-01-21 04:16:02 +01:00
parent 2c6d8b8ac9
commit 8565ecdc22
9 changed files with 9 additions and 9 deletions

View file

@ -26,7 +26,7 @@
<input required="" placeholder="site.<?= PLACEHOLDER_DOMAIN ?>" id="domain" name="domain" type="text"><br>
<label for="dir"><?= _('Target directory') ?></label><br>
<select required="" name="dir" id="dir">
<option value="" disabled="" selected="">---</option>
<option value="" disabled="" selected=""></option>
<?php
foreach (dirsStatuses('dns') as $dir => $alreadyEnabled)
echo ' <option' . ($alreadyEnabled ? ' disabled=""' : '') . ' value="' . $dir . '">' . $dir . '</option>' . LF;

View file

@ -1,7 +1,7 @@
<form method="post">
<label for="dir"><?= _('Target directory') ?></label><br>
<select required="" name="dir" id="dir">
<option value="" disabled="" selected="">---</option>
<option value="" disabled="" selected=""></option>
<?php
foreach (dirsStatuses('onion') as $dir => $alreadyEnabled)
echo ' <option' . ($alreadyEnabled ? ' disabled=""' : '') . ' value="' . $dir . '">' . $dir . '</option>' . LF;

View file

@ -3,7 +3,7 @@
<input required="" placeholder="label" id="subdomain" name="subdomain" type="text"><code>.<?= CONF['ht']['subdomain_domain'] ?></code><br>
<label for="dir"><?= _('Target directory') ?></label><br>
<select required="" name="dir" id="dir">
<option value="" disabled="" selected="">---</option>
<option value="" disabled="" selected=""></option>
<?php
foreach (dirsStatuses('subdomain') as $dir => $alreadyEnabled)
echo ' <option' . ($alreadyEnabled ? ' disabled=""' : '') . ' value="' . $dir . '">' . $dir . '</option>' . LF;

View file

@ -3,7 +3,7 @@
<code>https://<?= CONF['ht']['subpath_domain'] ?>/</code><input required="" placeholder="path" id="path" name="path" type="text"><br>
<label for="dir"><?= _('Target directory') ?></label><br>
<select required="" name="dir" id="dir">
<option value="" disabled="" selected="">---</option>
<option value="" disabled="" selected=""></option>
<?php
foreach (dirsStatuses('subpath') as $dir => $alreadyEnabled)
echo ' <option' . ($alreadyEnabled ? ' disabled=""' : '') . ' value="' . $dir . '">' . $dir . '</option>' . LF;

View file

@ -1,7 +1,7 @@
<form method="post">
<label for="site"><?= _('Access to delete') ?></label><br>
<select required="" name="site" id="site">
<option value="" disabled="" selected="">---</option>
<option value="" disabled="" selected=""></option>
<?php
foreach (query('select', 'sites', ['username' => $_SESSION['id'] ?? '']) as $site) {
$url = match ($site['type']) {

View file

@ -8,7 +8,7 @@
<label for="zone"><?= _('Domain') ?></label>
<br>
<select required="" name="zone" id="zone">
<option value="" disabled="" selected="">---</option>
<option value="" disabled="" selected=""></option>
<?php
foreach (regListUserDomains() as $domain)
echo ' <option value="' . $domain . '">' . $domain . '</option>' . LF;

View file

@ -15,7 +15,7 @@
<label for="suffix"><?= _('Domain') ?></label>
<br>
<select required="" name="suffix" id="suffix">
<option value="" disabled="" selected="">---</option>
<option value="" disabled="" selected=""></option>
<?php
foreach(regListUserDomains() as $suffix)
echo ' <option value="' . $suffix . '">' . $suffix . '</option>' . LF;

View file

@ -8,7 +8,7 @@
<label for="domain"><?= _('Domain') ?></label>
<br>
<select required="" name="domain" id="domain">
<option value="" disabled="" selected="">---</option>
<option value="" disabled="" selected=""></option>
<?php
foreach (regListUserDomains() as $domain)
echo ' <option value="' . $domain . '">' . $domain . '</option>' . LF;

View file

@ -6,7 +6,7 @@
<label for="domain"><?= _('Domain') ?></label>
<br>
<select required="" name="domain" id="domain">
<option value="" disabled="" selected="">---</option>
<option value="" disabled="" selected=""></option>
<?php
foreach(regListUserDomains() as $domain)
echo ' <option value="' . $domain . '">' . $domain . '</option>' . LF;