summaryrefslogtreecommitdiff
path: root/FS/FS/part_export/www_shellcommands.pm
diff options
context:
space:
mode:
authorivan <ivan>2004-03-25 11:02:31 +0000
committerivan <ivan>2004-03-25 11:02:31 +0000
commit6464c76c549ba420f98e67aaca1c26327a8a2671 (patch)
tree6bfe31310151da1d3520aa211fb5fd4ddf9184dd /FS/FS/part_export/www_shellcommands.pm
parente53cf6b04ea8c6f10c331d46372c486128478df0 (diff)
typo from refactoring
Diffstat (limited to 'FS/FS/part_export/www_shellcommands.pm')
-rw-r--r--FS/FS/part_export/www_shellcommands.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/FS/FS/part_export/www_shellcommands.pm b/FS/FS/part_export/www_shellcommands.pm
index a272eda..e90120e 100644
--- a/FS/FS/part_export/www_shellcommands.pm
+++ b/FS/FS/part_export/www_shellcommands.pm
@@ -30,14 +30,14 @@ Run remote commands via SSH, for virtual web sites. You will need to
<BR><BR>Use these buttons for some useful presets:
<UL>
<LI>
- <INPUT TYPE="button" VALUE="Maintain directories" onClick'
+ <INPUT TYPE="button" VALUE="Maintain directories" onClick='
this.form.user.value = "root";
this.form.useradd.value = "mkdir /var/www/$zone; chown $username /var/www/$zone; ln -s /var/www/$zone $homedir/$zone";
this.form.userdel.value = "[ -n &quot;$zone&quot; ] && rm -rf /var/www/$zone; rm $homedir/$zone";
this.form.usermod.value = "[ -n &quot;$old_zone&quot; ] && rm $old_homedir/$old_zone; [ &quot;$old_zone&quot; != &quot;$new_zone&quot; -a -n &quot;$new_zone&quot; ] && mv /var/www/$old_zone /var/www/$new_zone; [ &quot;$old_username&quot; != &quot;$new_username&quot; ] && chown -R $new_username /var/www/$new_zone; ln -s /var/www/$new_zone $new_homedir/$new_zone";
'>
<LI>
- <INPUT TYPE="button" VALUE="ISPMan CLI" onClick'
+ <INPUT TYPE="button" VALUE="ISPMan CLI" onClick='
this.form.user.value = "root";
this.form.useradd.value = "/usr/local/ispman/ispman.addvhost -d $domain $zone";
this.form.userdel.value = "/usr/local/ispman/idpman.deletevhost -d $domain $zone";