Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Open sidebar
ISPConfig
ISPConfig 3
Commits
56949815
Commit
56949815
authored
Mar 05, 2009
by
tbrehm
Browse files
disable the possibility to change the site of a existing shell user.
parent
0f76ebb7
Changes
2
Hide whitespace changes
Inline
Side-by-side
interface/web/sites/shell_user_edit.php
View file @
56949815
...
...
@@ -93,6 +93,13 @@ class page_action extends tform_actions {
}
else
{
$app
->
tpl
->
setVar
(
"username_prefix"
,
$shelluser_prefix
);
}
if
(
$this
->
id
>
0
)
{
//* we are editing a existing record
$app
->
tpl
->
setVar
(
"parent_domain_id_disabled"
,
'disabled="disabled"'
);
}
else
{
$app
->
tpl
->
setVar
(
"parent_domain_id_disabled"
,
''
);
}
parent
::
onShowEnd
();
}
...
...
interface/web/sites/templates/shell_user_edit.htm
View file @
56949815
...
...
@@ -6,7 +6,7 @@
<fieldset
id=
"wf_area_shell_user"
><legend>
Shell User
</legend>
<span
class=
"wf_oneField"
>
<label
for=
"parent_domain_id"
class=
"wf_preField"
>
{tmpl_var name='parent_domain_id_txt'}
</label>
<select
id=
"parent_domain_id"
name=
"parent_domain_id"
>
{tmpl_var name='parent_domain_id'}
</select>
<select
id=
"parent_domain_id"
name=
"parent_domain_id"
{
tmpl_var
name=
'parent_domain_id_disabled'
}
>
{tmpl_var name='parent_domain_id'}
</select>
</span>
<span
class=
"wf_oneField"
>
<label
for=
"username"
class=
"wf_preField"
>
{tmpl_var name='username_txt'}
</label>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment