X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=plugins%2Fnewmail%2Fnewmail.php;h=3c1d65ec5f31629f8e278e758146896760665835;hp=ce3a9247507b88733fb0ab47015e7b4328b323f9;hb=dbc7cd0a8df7e94c0732d2c6ed38bf708e2f7146;hpb=2d4c15d6b854bc84614efe8560f5ac5c83ba0595 diff --git a/plugins/newmail/newmail.php b/plugins/newmail/newmail.php index ce3a9247..3c1d65ec 100644 --- a/plugins/newmail/newmail.php +++ b/plugins/newmail/newmail.php @@ -1,40 +1,50 @@ \n". - '' . _("New Mail") . "\n". - "\n". - '
'. - "\n". - "\n". - "\n". - "\n". - "
\n". - '
' . _("SquirrelMail Notice:") . "
\n". - "

" . - _("You have new mail!") . "
\n". - "
\n". - ''. - "
\n". - "\n". - "\n"; - +/** @ignore */ +define('SM_PATH','../../'); + +/* SquirrelMail required files. */ +require_once(SM_PATH . 'include/validate.php'); + +sqGetGlobalVar('numnew', $numnew, SQ_GET); + + displayHtmlHeader( _("New Mail"), '', FALSE ); + + echo ''."\n". + '
'. "\n" . + html_tag( 'table', "\n" . + html_tag( 'tr', "\n" . + html_tag( 'td', '' . _("SquirrelMail Notice:") . '', 'center', $color[0] ) + ) . + html_tag( 'tr', "\n" . + html_tag( 'td', + '
'. + sprintf(ngettext("You have %s new message","You have %s new messages",$numnew), $numnew ) . + '

' . "\n" . + '
' . "\n". + ''."\n". + '
', + 'center' ) + ) , + '', '', 'width="100%" cellpadding="2" cellspacing="2" border="0"' ) . + '
' . + "\n". + "\n"; ?> \ No newline at end of file