@@ 165-169 (lines=5) @@ | ||
162 | if ( self::is_wpcom() && self::wpcom_has_status_message() ) { |
|
163 | global $themecolors; |
|
164 | switch ( $_GET['blogsub'] ) { |
|
165 | case 'confirming': |
|
166 | echo "<div style='background-color: #{$themecolors['bg']}; border: 1px solid #{$themecolors['border']}; color: #{$themecolors['text']}; padding-left: 5px; padding-right: 5px; margin-bottom: 10px;'>"; |
|
167 | _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>.' ); |
|
168 | echo "</div>"; |
|
169 | break; |
|
170 | case 'blocked': |
|
171 | echo "<div style='background-color: #{$themecolors['bg']}; border: 1px solid #{$themecolors['border']}; color: #{$themecolors['text']}; padding-left: 5px; padding-right: 5px; margin-bottom: 10px;'>"; |
|
172 | _e( 'Subscriptions have been blocked for this email address.' ); |
|
@@ 170-174 (lines=5) @@ | ||
167 | _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>.' ); |
|
168 | echo "</div>"; |
|
169 | break; |
|
170 | case 'blocked': |
|
171 | echo "<div style='background-color: #{$themecolors['bg']}; border: 1px solid #{$themecolors['border']}; color: #{$themecolors['text']}; padding-left: 5px; padding-right: 5px; margin-bottom: 10px;'>"; |
|
172 | _e( 'Subscriptions have been blocked for this email address.' ); |
|
173 | echo "</div>"; |
|
174 | break; |
|
175 | case 'flooded': |
|
176 | echo "<div style='background-color: #{$themecolors['bg']}; border: 1px solid #{$themecolors['border']}; color: #{$themecolors['text']}; padding-left: 5px; padding-right: 5px; margin-bottom: 10px;'>"; |
|
177 | _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.' ); |
|
@@ 175-179 (lines=5) @@ | ||
172 | _e( 'Subscriptions have been blocked for this email address.' ); |
|
173 | echo "</div>"; |
|
174 | break; |
|
175 | case 'flooded': |
|
176 | echo "<div style='background-color: #{$themecolors['bg']}; border: 1px solid #{$themecolors['border']}; color: #{$themecolors['text']}; padding-left: 5px; padding-right: 5px; margin-bottom: 10px;'>"; |
|
177 | _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.' ); |
|
178 | echo "</div>"; |
|
179 | break; |
|
180 | case 'spammed': |
|
181 | echo "<div style='background-color: #{$themecolors['bg']}; border: 1px solid #{$themecolors['border']}; color: #{$themecolors['text']}; padding-left: 5px; padding-right: 5px; margin-bottom: 10px;'>"; |
|
182 | 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/' ) ); |
|
@@ 185-189 (lines=5) @@ | ||
182 | 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/' ) ); |
|
183 | echo "</div>"; |
|
184 | break; |
|
185 | case 'subscribed': |
|
186 | echo "<div style='background-color: #{$themecolors['bg']}; border: 1px solid #{$themecolors['border']}; color: #{$themecolors['text']}; padding-left: 5px; padding-right: 5px; margin-bottom: 10px;'>"; |
|
187 | _e( 'You’re already subscribed to this site.' ); |
|
188 | echo "</div>"; |
|
189 | break; |
|
190 | case 'pending': |
|
191 | echo "<div style='background-color: #{$themecolors['bg']}; border: 1px solid #{$themecolors['border']}; color: #{$themecolors['text']}; padding-left: 5px; padding-right: 5px; margin-bottom: 10px;'>"; |
|
192 | _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.' ); |
|
@@ 190-194 (lines=5) @@ | ||
187 | _e( 'You’re already subscribed to this site.' ); |
|
188 | echo "</div>"; |
|
189 | break; |
|
190 | case 'pending': |
|
191 | echo "<div style='background-color: #{$themecolors['bg']}; border: 1px solid #{$themecolors['border']}; color: #{$themecolors['text']}; padding-left: 5px; padding-right: 5px; margin-bottom: 10px;'>"; |
|
192 | _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.' ); |
|
193 | echo "</div>"; |
|
194 | break; |
|
195 | case 'confirmed': |
|
196 | echo "<div style='background-color: #{$themecolors['bg']}; border: 1px solid #{$themecolors['border']}; color: #{$themecolors['text']}; padding-left: 5px; padding-right: 5px; margin-bottom: 10px;'>"; |
|
197 | _e( 'Congrats, you’re subscribed! You’ll get an email with the details of your subscription and an unsubscribe link.' ); |
|
@@ 195-199 (lines=5) @@ | ||
192 | _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.' ); |
|
193 | echo "</div>"; |
|
194 | break; |
|
195 | case 'confirmed': |
|
196 | echo "<div style='background-color: #{$themecolors['bg']}; border: 1px solid #{$themecolors['border']}; color: #{$themecolors['text']}; padding-left: 5px; padding-right: 5px; margin-bottom: 10px;'>"; |
|
197 | _e( 'Congrats, you’re subscribed! You’ll get an email with the details of your subscription and an unsubscribe link.' ); |
|
198 | echo "</div>"; |
|
199 | break; |
|
200 | } |
|
201 | } |
|
202 | } |