--- > —
This commit is contained in:
parent
2c6d8b8ac9
commit
8565ecdc22
9 changed files with 9 additions and 9 deletions
|
@ -26,7 +26,7 @@
|
||||||
<input required="" placeholder="site.<?= PLACEHOLDER_DOMAIN ?>" id="domain" name="domain" type="text"><br>
|
<input required="" placeholder="site.<?= PLACEHOLDER_DOMAIN ?>" id="domain" name="domain" type="text"><br>
|
||||||
<label for="dir"><?= _('Target directory') ?></label><br>
|
<label for="dir"><?= _('Target directory') ?></label><br>
|
||||||
<select required="" name="dir" id="dir">
|
<select required="" name="dir" id="dir">
|
||||||
<option value="" disabled="" selected="">---</option>
|
<option value="" disabled="" selected="">—</option>
|
||||||
<?php
|
<?php
|
||||||
foreach (dirsStatuses('dns') as $dir => $alreadyEnabled)
|
foreach (dirsStatuses('dns') as $dir => $alreadyEnabled)
|
||||||
echo ' <option' . ($alreadyEnabled ? ' disabled=""' : '') . ' value="' . $dir . '">' . $dir . '</option>' . LF;
|
echo ' <option' . ($alreadyEnabled ? ' disabled=""' : '') . ' value="' . $dir . '">' . $dir . '</option>' . LF;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<form method="post">
|
<form method="post">
|
||||||
<label for="dir"><?= _('Target directory') ?></label><br>
|
<label for="dir"><?= _('Target directory') ?></label><br>
|
||||||
<select required="" name="dir" id="dir">
|
<select required="" name="dir" id="dir">
|
||||||
<option value="" disabled="" selected="">---</option>
|
<option value="" disabled="" selected="">—</option>
|
||||||
<?php
|
<?php
|
||||||
foreach (dirsStatuses('onion') as $dir => $alreadyEnabled)
|
foreach (dirsStatuses('onion') as $dir => $alreadyEnabled)
|
||||||
echo ' <option' . ($alreadyEnabled ? ' disabled=""' : '') . ' value="' . $dir . '">' . $dir . '</option>' . LF;
|
echo ' <option' . ($alreadyEnabled ? ' disabled=""' : '') . ' value="' . $dir . '">' . $dir . '</option>' . LF;
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<input required="" placeholder="label" id="subdomain" name="subdomain" type="text"><code>.<?= CONF['ht']['subdomain_domain'] ?></code><br>
|
<input required="" placeholder="label" id="subdomain" name="subdomain" type="text"><code>.<?= CONF['ht']['subdomain_domain'] ?></code><br>
|
||||||
<label for="dir"><?= _('Target directory') ?></label><br>
|
<label for="dir"><?= _('Target directory') ?></label><br>
|
||||||
<select required="" name="dir" id="dir">
|
<select required="" name="dir" id="dir">
|
||||||
<option value="" disabled="" selected="">---</option>
|
<option value="" disabled="" selected="">—</option>
|
||||||
<?php
|
<?php
|
||||||
foreach (dirsStatuses('subdomain') as $dir => $alreadyEnabled)
|
foreach (dirsStatuses('subdomain') as $dir => $alreadyEnabled)
|
||||||
echo ' <option' . ($alreadyEnabled ? ' disabled=""' : '') . ' value="' . $dir . '">' . $dir . '</option>' . LF;
|
echo ' <option' . ($alreadyEnabled ? ' disabled=""' : '') . ' value="' . $dir . '">' . $dir . '</option>' . LF;
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<code>https://<?= CONF['ht']['subpath_domain'] ?>/</code><input required="" placeholder="path" id="path" name="path" type="text"><br>
|
<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>
|
<label for="dir"><?= _('Target directory') ?></label><br>
|
||||||
<select required="" name="dir" id="dir">
|
<select required="" name="dir" id="dir">
|
||||||
<option value="" disabled="" selected="">---</option>
|
<option value="" disabled="" selected="">—</option>
|
||||||
<?php
|
<?php
|
||||||
foreach (dirsStatuses('subpath') as $dir => $alreadyEnabled)
|
foreach (dirsStatuses('subpath') as $dir => $alreadyEnabled)
|
||||||
echo ' <option' . ($alreadyEnabled ? ' disabled=""' : '') . ' value="' . $dir . '">' . $dir . '</option>' . LF;
|
echo ' <option' . ($alreadyEnabled ? ' disabled=""' : '') . ' value="' . $dir . '">' . $dir . '</option>' . LF;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<form method="post">
|
<form method="post">
|
||||||
<label for="site"><?= _('Access to delete') ?></label><br>
|
<label for="site"><?= _('Access to delete') ?></label><br>
|
||||||
<select required="" name="site" id="site">
|
<select required="" name="site" id="site">
|
||||||
<option value="" disabled="" selected="">---</option>
|
<option value="" disabled="" selected="">—</option>
|
||||||
<?php
|
<?php
|
||||||
foreach (query('select', 'sites', ['username' => $_SESSION['id'] ?? '']) as $site) {
|
foreach (query('select', 'sites', ['username' => $_SESSION['id'] ?? '']) as $site) {
|
||||||
$url = match ($site['type']) {
|
$url = match ($site['type']) {
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
<label for="zone"><?= _('Domain') ?></label>
|
<label for="zone"><?= _('Domain') ?></label>
|
||||||
<br>
|
<br>
|
||||||
<select required="" name="zone" id="zone">
|
<select required="" name="zone" id="zone">
|
||||||
<option value="" disabled="" selected="">---</option>
|
<option value="" disabled="" selected="">—</option>
|
||||||
<?php
|
<?php
|
||||||
foreach (regListUserDomains() as $domain)
|
foreach (regListUserDomains() as $domain)
|
||||||
echo ' <option value="' . $domain . '">' . $domain . '</option>' . LF;
|
echo ' <option value="' . $domain . '">' . $domain . '</option>' . LF;
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
<label for="suffix"><?= _('Domain') ?></label>
|
<label for="suffix"><?= _('Domain') ?></label>
|
||||||
<br>
|
<br>
|
||||||
<select required="" name="suffix" id="suffix">
|
<select required="" name="suffix" id="suffix">
|
||||||
<option value="" disabled="" selected="">---</option>
|
<option value="" disabled="" selected="">—</option>
|
||||||
<?php
|
<?php
|
||||||
foreach(regListUserDomains() as $suffix)
|
foreach(regListUserDomains() as $suffix)
|
||||||
echo ' <option value="' . $suffix . '">' . $suffix . '</option>' . LF;
|
echo ' <option value="' . $suffix . '">' . $suffix . '</option>' . LF;
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
<label for="domain"><?= _('Domain') ?></label>
|
<label for="domain"><?= _('Domain') ?></label>
|
||||||
<br>
|
<br>
|
||||||
<select required="" name="domain" id="domain">
|
<select required="" name="domain" id="domain">
|
||||||
<option value="" disabled="" selected="">---</option>
|
<option value="" disabled="" selected="">—</option>
|
||||||
<?php
|
<?php
|
||||||
foreach (regListUserDomains() as $domain)
|
foreach (regListUserDomains() as $domain)
|
||||||
echo ' <option value="' . $domain . '">' . $domain . '</option>' . LF;
|
echo ' <option value="' . $domain . '">' . $domain . '</option>' . LF;
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
<label for="domain"><?= _('Domain') ?></label>
|
<label for="domain"><?= _('Domain') ?></label>
|
||||||
<br>
|
<br>
|
||||||
<select required="" name="domain" id="domain">
|
<select required="" name="domain" id="domain">
|
||||||
<option value="" disabled="" selected="">---</option>
|
<option value="" disabled="" selected="">—</option>
|
||||||
<?php
|
<?php
|
||||||
foreach(regListUserDomains() as $domain)
|
foreach(regListUserDomains() as $domain)
|
||||||
echo ' <option value="' . $domain . '">' . $domain . '</option>' . LF;
|
echo ' <option value="' . $domain . '">' . $domain . '</option>' . LF;
|
||||||
|
|
Loading…
Reference in a new issue