summaryrefslogtreecommitdiffstats
path: root/cgi-bin/ml-request
diff options
context:
space:
mode:
authorJason Molenda <jsm@gcc.gnu.org>1999-12-01 11:45:00 +0000
committerJason Molenda <jsm@gcc.gnu.org>1999-12-01 11:45:00 +0000
commit32c5cf3c8b6b31f5970fae37eed9a8501b8e31d7 (patch)
treecd91b4e5cd059526ea461fbe092e52ab5349592d /cgi-bin/ml-request
parent1999-12-01 Jason Molenda (jsm@bugshack.cygnus.com) (diff)
downloadgcc-wwwdocs-32c5cf3c8b6b31f5970fae37eed9a8501b8e31d7.tar.gz
gcc-wwwdocs-32c5cf3c8b6b31f5970fae37eed9a8501b8e31d7.tar.bz2
gcc-wwwdocs-32c5cf3c8b6b31f5970fae37eed9a8501b8e31d7.tar.xz
1999-12-01 Jason Molenda (jsm@bugshack.cygnus.com)
* wwwdocs/cgi-bin/ml-request: Make the language a little more specific re: whether the person is subscribing or unsubscribing.
Diffstat (limited to 'cgi-bin/ml-request')
-rwxr-xr-xcgi-bin/ml-request22
1 files changed, 13 insertions, 9 deletions
diff --git a/cgi-bin/ml-request b/cgi-bin/ml-request
index ff47b409..dd7b2a9d 100755
--- a/cgi-bin/ml-request
+++ b/cgi-bin/ml-request
@@ -134,11 +134,21 @@ fi
134 134
135if [ -n "$email" -a "$hasat" -eq 1 -a "$hasdot" -eq 1 -a "$has_listname" -eq 1 ] 135if [ -n "$email" -a "$hasat" -eq 1 -a "$hasdot" -eq 1 -a "$has_listname" -eq 1 ]
136then 136then
137
138 if [ "$operation" = "subscribe" ]
139 then
140 sub_prefix=""
141 sub_direction="to"
142 else
143 sub_prefix="un"
144 sub_direction="from"
145 fi
146
137 echo "Content-type: text/html" 147 echo "Content-type: text/html"
138 echo "" 148 echo ""
139 echo "<HTML>" 149 echo "<HTML>"
140 echo "<head>" 150 echo "<head>"
141 echo "<TITLE>Your subscription request is being sent in...</TITLE>" 151 echo "<TITLE>Your ${sub_prefix}subscribe request is being sent in...</TITLE>"
142 echo "</head>" 152 echo "</head>"
143 echo "$HEADER" 153 echo "$HEADER"
144 154
@@ -148,15 +158,9 @@ then
148 email="`echo ${email} | sed 's,@,=,g'`" 158 email="`echo ${email} | sed 's,@,=,g'`"
149 echo "" | $MAIL "${listname}-${digest}${operation}-${email}@gcc.gnu.org" 159 echo "" | $MAIL "${listname}-${digest}${operation}-${email}@gcc.gnu.org"
150 160
151 echo '<h2>Your (un)subscription request is being sent in...</h2>' 161 echo "<h2>Your ${sub_prefix}subscribe request is being sent in...</h2>"
152 162
153 163 echo "<p>Your request to ${sub_prefix}subscribe the address ${orig_email} ${sub_direction}"
154 if [ "$operation" = "subscribe" ]
155 then
156 echo "<p>Your request to subscribe the address ${orig_email} to"
157 else
158 echo "<p>Your request to unsubscribe the address ${orig_email} from"
159 fi
160 164
161 echo "the mailing list <code>\"${listname}\"" 165 echo "the mailing list <code>\"${listname}\""
162 if [ "$digest" = "digest-" ] 166 if [ "$digest" = "digest-" ]