mirror of
https://github.com/myvesta/vesta
synced 2025-08-19 04:50:47 -07:00
removed shell selection for user accounts
This commit is contained in:
parent
8e47676fda
commit
4a43952b26
2 changed files with 5 additions and 44 deletions
|
@ -7,8 +7,6 @@ $TAB = 'USER';
|
||||||
|
|
||||||
include($_SERVER['DOCUMENT_ROOT']."/inc/main.php");
|
include($_SERVER['DOCUMENT_ROOT']."/inc/main.php");
|
||||||
|
|
||||||
// Header
|
|
||||||
include($_SERVER['DOCUMENT_ROOT'].'/templates/header.html');
|
|
||||||
|
|
||||||
// Check user argument
|
// Check user argument
|
||||||
if (empty($_GET['user'])) {
|
if (empty($_GET['user'])) {
|
||||||
|
@ -165,6 +163,11 @@ if (!empty($_POST['save'])) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// Header
|
||||||
|
include($_SERVER['DOCUMENT_ROOT'].'/templates/header.html');
|
||||||
|
|
||||||
|
|
||||||
// Panel
|
// Panel
|
||||||
if (!empty($_SESSION['look'])) {
|
if (!empty($_SESSION['look'])) {
|
||||||
top_panel($user,$TAB);
|
top_panel($user,$TAB);
|
||||||
|
|
|
@ -89,27 +89,6 @@
|
||||||
<input type="text" size="20" class="vst-input" name="v_email" <?php if (!empty($v_email)) echo "value=".htmlentities($v_email); ?>>
|
<input type="text" size="20" class="vst-input" name="v_email" <?php if (!empty($v_email)) echo "value=".htmlentities($v_email); ?>>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
|
||||||
<td class="vst-text input-label">
|
|
||||||
<?php print __('Package');?>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
<select class="vst-list" name="v_package">
|
|
||||||
<?php
|
|
||||||
foreach ($packages as $key => $value) {
|
|
||||||
echo "\n\t\t\t\t\t\t\t\t\t<option value=\"".htmlentities($key)."\"";
|
|
||||||
$skey = "'".$key."'";
|
|
||||||
if (( $key == $v_package ) || ( $skey == $v_package)){
|
|
||||||
echo 'selected' ;
|
|
||||||
}
|
|
||||||
echo ">".htmlentities($key)."</option>\n";
|
|
||||||
}
|
|
||||||
?>
|
|
||||||
</select>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="vst-text input-label">
|
<td class="vst-text input-label">
|
||||||
<?php print __('Language');?>
|
<?php print __('Language');?>
|
||||||
|
@ -154,27 +133,6 @@
|
||||||
<input type="text" size="20" class="vst-input" name="v_lname" <?php if (!empty($v_lname)) echo "value=\"".htmlentities($v_lname)."\""; ?>>
|
<input type="text" size="20" class="vst-input" name="v_lname" <?php if (!empty($v_lname)) echo "value=\"".htmlentities($v_lname)."\""; ?>>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
|
||||||
<td class="vst-text input-label">
|
|
||||||
<?php print __('SSH Access');?>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
<select class="vst-list" name="v_shell">
|
|
||||||
<?php
|
|
||||||
foreach ($shells as $key => $value) {
|
|
||||||
echo "\t\t\t\t<option value=\"".htmlentities($value)."\"";
|
|
||||||
$svalue = "'".$value."'";
|
|
||||||
if (( $value == $v_shell ) || ($svalue == $v_shell )){
|
|
||||||
echo 'selected' ;
|
|
||||||
}
|
|
||||||
echo ">".htmlentities($value)."</option>\n";
|
|
||||||
}
|
|
||||||
?>
|
|
||||||
</select>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="vst-text input-label">
|
<td class="vst-text input-label">
|
||||||
<?php print __('Default Name Servers');?>
|
<?php print __('Default Name Servers');?>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue