summaryrefslogtreecommitdiff
path: root/FS
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
parente53cf6b04ea8c6f10c331d46372c486128478df0 (diff)
typo from refactoring
Diffstat (limited to 'FS')
-rw-r--r--FS/FS/part_export/domain_shellcommands.pm1
-rw-r--r--FS/FS/part_export/www_shellcommands.pm4
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 9145895..0ba5617 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 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";