diff options
author | ivan <ivan> | 2004-03-25 11:02:31 +0000 |
---|---|---|
committer | ivan <ivan> | 2004-03-25 11:02:31 +0000 |
commit | 6464c76c549ba420f98e67aaca1c26327a8a2671 (patch) | |
tree | 6bfe31310151da1d3520aa211fb5fd4ddf9184dd /FS/FS/part_export/www_shellcommands.pm | |
parent | e53cf6b04ea8c6f10c331d46372c486128478df0 (diff) |
typo from refactoring
Diffstat (limited to 'FS/FS/part_export/www_shellcommands.pm')
-rw-r--r-- | FS/FS/part_export/www_shellcommands.pm | 4 |
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 "$zone" ] && rm -rf /var/www/$zone; rm $homedir/$zone"; this.form.usermod.value = "[ -n "$old_zone" ] && rm $old_homedir/$old_zone; [ "$old_zone" != "$new_zone" -a -n "$new_zone" ] && mv /var/www/$old_zone /var/www/$new_zone; [ "$old_username" != "$new_username" ] && 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"; |