#*
Copyright 2004 The Apache Software Foundation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*#
#formHeader("images/email/emailIcon.gif" "Email")
#if ( $hasLoggedIn == 'no')
Please make sure that your Email settings is configured correctly.
|
#if($!message_prompt && $message_prompt !="")
$message_prompt
|
#end
#else ## hasLoggedIn
##if ( $showFolders == 'yes' )
|
##end
#if($createfolder == 'yes')
#end
#if (($showInbox == 'yes' )|| ($showmessagefolder == 'yes'))
#end
#if( $showContent == 'yes')
#foreach ( $content in $inContent )
Subject |
$content.get("Subject") |
From |
$content.get("From") |
To |
#foreach ( $con in $vAddr )
$con |
#end
## $content.get("To") |
|
#if($protocol != 'pop3')
Date |
$content.get("ReceivedDate") |
|
#end
#foreach($attachment in $vAttachments)
Attachment |
## $attachment |
## $content.get("AttachmentName") |
$attachment |
#end
Message
|
$content.get("message") |
#end
#end
#if($numNewmessages && $numNewmessages != "" ) ##displays the number of new messages
#end
#if ( $compose == 'yes' )
#if($message_prompt && $message_prompt != "") ## display message prompt
#else
## |
#end ## message prompt
#end ## of action == 'compose'
#if($reply== 'yes')
#if($message_prompt && $message_prompt != "") ## display message prompt
#else
#end ## message prompt
#end
#if($forward == 'yes')
#if($message_prompt && $message_prompt != "") ## display message prompt
#else
#end ##end message prompt
#end
#set($start_index = $start_index + 1)
#set($range_per_page = $range_per_page + 1)
##if(!$message_prompt && $message_prompt !="")
#if (($msgcount > 10 )&&($compose=='no')&&($forward=='no')&&($reply=='no')&&($showContent=='no')&&($showInbox == 'yes'))
#if ($cur_page == 1)
Messages $start_index to $range_per_page of $msgcount | Next |
#elseif (($cur_page > 1)&&($cur_page < $total_no_of_pages))
Messages $start_index to $range_per_page of $msgcount | Previous | Next |
#elseif ($cur_page==$total_no_of_pages)
Messages $start_index to $msgcount of $msgcount | Previous |
#end
##
## Page $cur_page |
##
#elseif(($msgcount>0)&&($msgcount<=$10)&&($compose=='no')&&($forward=='no')&&($reply=='no')&&($showContent=='no')&&($showInbox=='yes'))
Messages $start_index to $msgcount of $msgcount |
#end
##end ## message prompt
#end ## of hasLoggedIn