@@ 161-165 (lines=5) @@ | ||
158 | if ( self::is_wpcom() && self::wpcom_has_status_message() ) { |
|
159 | global $themecolors; |
|
160 | switch ( $_GET['blogsub'] ) { |
|
161 | case 'confirming': |
|
162 | echo "<div style='background-color: #{$themecolors['bg']}; border: 1px solid #{$themecolors['border']}; color: #{$themecolors['text']}; padding-left: 5px; padding-right: 5px; margin-bottom: 10px;'>"; |
|
163 | _e( 'Thanks for subscribing! You’ll get an email with a link to confirm your subscription. If you don’t get it, please <a href="http://en.support.wordpress.com/contact/">contact us</a>.' ); |
|
164 | echo "</div>"; |
|
165 | break; |
|
166 | case 'blocked': |
|
167 | echo "<div style='background-color: #{$themecolors['bg']}; border: 1px solid #{$themecolors['border']}; color: #{$themecolors['text']}; padding-left: 5px; padding-right: 5px; margin-bottom: 10px;'>"; |
|
168 | _e( 'Subscriptions have been blocked for this email address.' ); |
|
@@ 166-170 (lines=5) @@ | ||
163 | _e( 'Thanks for subscribing! You’ll get an email with a link to confirm your subscription. If you don’t get it, please <a href="http://en.support.wordpress.com/contact/">contact us</a>.' ); |
|
164 | echo "</div>"; |
|
165 | break; |
|
166 | case 'blocked': |
|
167 | echo "<div style='background-color: #{$themecolors['bg']}; border: 1px solid #{$themecolors['border']}; color: #{$themecolors['text']}; padding-left: 5px; padding-right: 5px; margin-bottom: 10px;'>"; |
|
168 | _e( 'Subscriptions have been blocked for this email address.' ); |
|
169 | echo "</div>"; |
|
170 | break; |
|
171 | case 'flooded': |
|
172 | echo "<div style='background-color: #{$themecolors['bg']}; border: 1px solid #{$themecolors['border']}; color: #{$themecolors['text']}; padding-left: 5px; padding-right: 5px; margin-bottom: 10px;'>"; |
|
173 | _e( 'You already have several pending email subscriptions. Approve or delete a few through your <a href="https://subscribe.wordpress.com/">Subscription Manager</a> before attempting to subscribe to more blogs.' ); |
|
@@ 171-175 (lines=5) @@ | ||
168 | _e( 'Subscriptions have been blocked for this email address.' ); |
|
169 | echo "</div>"; |
|
170 | break; |
|
171 | case 'flooded': |
|
172 | echo "<div style='background-color: #{$themecolors['bg']}; border: 1px solid #{$themecolors['border']}; color: #{$themecolors['text']}; padding-left: 5px; padding-right: 5px; margin-bottom: 10px;'>"; |
|
173 | _e( 'You already have several pending email subscriptions. Approve or delete a few through your <a href="https://subscribe.wordpress.com/">Subscription Manager</a> before attempting to subscribe to more blogs.' ); |
|
174 | echo "</div>"; |
|
175 | break; |
|
176 | case 'spammed': |
|
177 | echo "<div style='background-color: #{$themecolors['bg']}; border: 1px solid #{$themecolors['border']}; color: #{$themecolors['text']}; padding-left: 5px; padding-right: 5px; margin-bottom: 10px;'>"; |
|
178 | echo wp_kses_post( sprintf( __( 'Because there are many pending subscriptions for this email address, we have blocked the subscription. Please <a href="%s">activate or delete</a> pending subscriptions before attempting to subscribe.' ), 'https://subscribe.wordpress.com/' ) ); |
|
@@ 181-185 (lines=5) @@ | ||
178 | echo wp_kses_post( sprintf( __( 'Because there are many pending subscriptions for this email address, we have blocked the subscription. Please <a href="%s">activate or delete</a> pending subscriptions before attempting to subscribe.' ), 'https://subscribe.wordpress.com/' ) ); |
|
179 | echo "</div>"; |
|
180 | break; |
|
181 | case 'subscribed': |
|
182 | echo "<div style='background-color: #{$themecolors['bg']}; border: 1px solid #{$themecolors['border']}; color: #{$themecolors['text']}; padding-left: 5px; padding-right: 5px; margin-bottom: 10px;'>"; |
|
183 | _e( 'You’re already subscribed to this site.' ); |
|
184 | echo "</div>"; |
|
185 | break; |
|
186 | case 'pending': |
|
187 | echo "<div style='background-color: #{$themecolors['bg']}; border: 1px solid #{$themecolors['border']}; color: #{$themecolors['text']}; padding-left: 5px; padding-right: 5px; margin-bottom: 10px;'>"; |
|
188 | _e( 'You have a pending subscription already; we just sent you another email. Click the link or <a href="http://en.support.wordpress.com/contact/">contact us</a> if you don’t receive it.' ); |
|
@@ 186-190 (lines=5) @@ | ||
183 | _e( 'You’re already subscribed to this site.' ); |
|
184 | echo "</div>"; |
|
185 | break; |
|
186 | case 'pending': |
|
187 | echo "<div style='background-color: #{$themecolors['bg']}; border: 1px solid #{$themecolors['border']}; color: #{$themecolors['text']}; padding-left: 5px; padding-right: 5px; margin-bottom: 10px;'>"; |
|
188 | _e( 'You have a pending subscription already; we just sent you another email. Click the link or <a href="http://en.support.wordpress.com/contact/">contact us</a> if you don’t receive it.' ); |
|
189 | echo "</div>"; |
|
190 | break; |
|
191 | case 'confirmed': |
|
192 | echo "<div style='background-color: #{$themecolors['bg']}; border: 1px solid #{$themecolors['border']}; color: #{$themecolors['text']}; padding-left: 5px; padding-right: 5px; margin-bottom: 10px;'>"; |
|
193 | _e( 'Congrats, you’re subscribed! You’ll get an email with the details of your subscription and an unsubscribe link.' ); |
|
@@ 191-195 (lines=5) @@ | ||
188 | _e( 'You have a pending subscription already; we just sent you another email. Click the link or <a href="http://en.support.wordpress.com/contact/">contact us</a> if you don’t receive it.' ); |
|
189 | echo "</div>"; |
|
190 | break; |
|
191 | case 'confirmed': |
|
192 | echo "<div style='background-color: #{$themecolors['bg']}; border: 1px solid #{$themecolors['border']}; color: #{$themecolors['text']}; padding-left: 5px; padding-right: 5px; margin-bottom: 10px;'>"; |
|
193 | _e( 'Congrats, you’re subscribed! You’ll get an email with the details of your subscription and an unsubscribe link.' ); |
|
194 | echo "</div>"; |
|
195 | break; |
|
196 | } |
|
197 | } |
|
198 | } |