X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=plugins%2Fmail_fetch%2Ffetch.php;h=39e0d1df79043996426445c265aa2468ea59c68e;hb=82d304a0501324b276cabab1870755d5352bd21c;hp=e5e3371bf17618f804f8461b8d093387c7b7616d;hpb=7b0ff4638517b07a777779087fe0db0ad99837fc;p=squirrelmail.git
diff --git a/plugins/mail_fetch/fetch.php b/plugins/mail_fetch/fetch.php
index e5e3371b..39e0d1df 100644
--- a/plugins/mail_fetch/fetch.php
+++ b/plugins/mail_fetch/fetch.php
@@ -1,26 +1,35 @@
';
-
- echo html_tag( 'table',
- html_tag( 'tr',
- html_tag( 'td', '' . _("Remote POP server Fetching Mail") . '', 'center', $color[0] )
- ) ,
- 'center', '', 'width="95%" cols="1"' );
-
- if (!isset( $server_to_fetch ) ) {
-
+
+ function Mail_Fetch_Select_Server($mailfetch) {
+ global $PHP_SELF;
+
echo '
' .
"';
+ }
+
+ $mailfetch = Mail_Fetch_Servers();
+ displayPageHeader($color, 'None');
+
+ echo '
';
+
+ echo html_tag( 'table',
+ html_tag( 'tr',
+ html_tag( 'td', '' . _("Remote POP server Fetching Mail") . '', 'center', $color[0] )
+ ) ,
+ 'center', '', 'width="95%" cols="1"' );
+
+
+ /* there are no servers defined yet... */
+ if($mailfetch['server_number'] == 0) {
+ echo '' . _("No POP3 servers configured yet.") . '
';
+ displayInternalLink('plugins/mail_fetch/options.php',
+ _("Click here to go to the options page.") );
+ echo '