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 | |
parent | e53cf6b04ea8c6f10c331d46372c486128478df0 (diff) |
typo from refactoring
Diffstat (limited to 'FS')
-rw-r--r-- | FS/FS/part_export/domain_shellcommands.pm | 1 | ||||
-rw-r--r-- | FS/FS/part_export/www_shellcommands.pm | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/FS/FS/part_export/domain_shellcommands.pm b/FS/FS/part_export/domain_shellcommands.pm index 914589529..0ba561711 100644 --- a/FS/FS/part_export/domain_shellcommands.pm +++ b/FS/FS/part_export/domain_shellcommands.pm @@ -34,6 +34,7 @@ Run remote commands via SSH, for domains. You will need to this.form.useradd.value = "[ \"$uid\" -a \"$gid\" -a \"$dir\" -a \"$qdomain\" ] && [ -e $dir/.qmail-$qdomain-default ] || { touch $dir/.qmail-$qdomain-default; chown $uid:$gid $dir/.qmail-$qdomain-default; }"; this.form.userdel.value = ""; this.form.usermod.value = ""; + '> <LI> <INPUT TYPE="button" VALUE="ISPMan CLI" onClick=' this.form.useradd.value = "/usr/local/ispman/bin/ispman.addDomain -d $domain changeme"; diff --git a/FS/FS/part_export/www_shellcommands.pm b/FS/FS/part_export/www_shellcommands.pm index a272edab0..e90120ec9 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"; |