Skip to content

Commit 4a43952

Browse files
committed
removed shell selection for user accounts
1 parent 8e47676 commit 4a43952

File tree

2 files changed

+5
-44
lines changed

2 files changed

+5
-44
lines changed

web/edit/user/index.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77

88
include($_SERVER['DOCUMENT_ROOT']."/inc/main.php");
99

10-
// Header
11-
include($_SERVER['DOCUMENT_ROOT'].'/templates/header.html');
1210

1311
// Check user argument
1412
if (empty($_GET['user'])) {
@@ -165,6 +163,11 @@
165163
}
166164
}
167165

166+
167+
// Header
168+
include($_SERVER['DOCUMENT_ROOT'].'/templates/header.html');
169+
170+
168171
// Panel
169172
if (!empty($_SESSION['look'])) {
170173
top_panel($user,$TAB);

web/templates/user/edit_user.html

Lines changed: 0 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -89,27 +89,6 @@
8989
<input type="text" size="20" class="vst-input" name="v_email" <?php if (!empty($v_email)) echo "value=".htmlentities($v_email); ?>>
9090
</td>
9191
</tr>
92-
<tr>
93-
<td class="vst-text input-label">
94-
<?php print __('Package');?>
95-
</td>
96-
</tr>
97-
<tr>
98-
<td>
99-
<select class="vst-list" name="v_package">
100-
<?php
101-
foreach ($packages as $key => $value) {
102-
echo "\n\t\t\t\t\t\t\t\t\t<option value=\"".htmlentities($key)."\"";
103-
$skey = "'".$key."'";
104-
if (( $key == $v_package ) || ( $skey == $v_package)){
105-
echo 'selected' ;
106-
}
107-
echo ">".htmlentities($key)."</option>\n";
108-
}
109-
?>
110-
</select>
111-
</td>
112-
</tr>
11392
<tr>
11493
<td class="vst-text input-label">
11594
<?php print __('Language');?>
@@ -154,27 +133,6 @@
154133
<input type="text" size="20" class="vst-input" name="v_lname" <?php if (!empty($v_lname)) echo "value=\"".htmlentities($v_lname)."\""; ?>>
155134
</td>
156135
</tr>
157-
<tr>
158-
<td class="vst-text input-label">
159-
<?php print __('SSH Access');?>
160-
</td>
161-
</tr>
162-
<tr>
163-
<td>
164-
<select class="vst-list" name="v_shell">
165-
<?php
166-
foreach ($shells as $key => $value) {
167-
echo "\t\t\t\t<option value=\"".htmlentities($value)."\"";
168-
$svalue = "'".$value."'";
169-
if (( $value == $v_shell ) || ($svalue == $v_shell )){
170-
echo 'selected' ;
171-
}
172-
echo ">".htmlentities($value)."</option>\n";
173-
}
174-
?>
175-
</select>
176-
</td>
177-
</tr>
178136
<tr>
179137
<td class="vst-text input-label">
180138
<?php print __('Default Name Servers');?>

0 commit comments

Comments
 (0)