mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-01 04:13:28 +01:00
218 lines
7.6 KiB
Smarty
218 lines
7.6 KiB
Smarty
<!-- BEGIN main -->
|
|
<script language="JavaScript1.2">
|
|
var sURL = unescape(window.location.pathname);
|
|
|
|
// some translations needed for javascript functions
|
|
|
|
var movingMessages = '{lang_moving_messages_to}';
|
|
var copyingMessages = '{lang_copying_messages_to}';
|
|
var lang_askformove = '{lang_askformove}';
|
|
var prefAskForMove = '{prefaskformove}';
|
|
var prefAskForMultipleForward = '{prefaskformultipleforward}';
|
|
var CopyOrMove = true;
|
|
var lang_MoveCopyTitle = '{lang_MoveCopyTitle}';
|
|
var lang_copy = '{lang_copy}';
|
|
var lang_move = '{lang_move}';
|
|
var lang_multipleforward = '{lang_multipleforward}';
|
|
var lang_cancel = '{lang_cancel}';
|
|
|
|
var lang_emptyTrashFolder = '{lang_empty_trash}';
|
|
var lang_compressingFolder = '{lang_compress_folder}';
|
|
var lang_select_target_folder = '{lang_select_target_folder}';
|
|
var lang_updating_message_status = '{lang_updating_message_status}';
|
|
var lang_loading = '{lang_loading}';
|
|
var lang_deleting_messages = '{lang_deleting_messages}';
|
|
var lang_skipping_forward = '{lang_skipping_forward}';
|
|
var lang_skipping_previous = '{lang_skipping_previous}';
|
|
var lang_jumping_to_end = '{lang_jumping_to_end}';
|
|
var lang_jumping_to_start = '{lang_jumping_to_start}';
|
|
var lang_updating_view = '{lang_updating_view}';
|
|
var lang_mark_all_messages = '{lang_mark_all_messages}';
|
|
var lang_confirm_all_messages = '{lang_confirm_all_messages}';
|
|
var lang_sendnotify = "{lang_sendnotify}";
|
|
|
|
var MessageBuffer;
|
|
// global vars to store server and active folder info
|
|
var activeServerID = '{activeServerID}';
|
|
var activeFolder = '{activeFolder}';
|
|
var activeFolderB64 = '{activeFolderB64}';
|
|
var draftFolder = '{draftFolder}';
|
|
var draftFolderB64 = '{draftFolderB64}';
|
|
var templateFolder = '{templateFolder}';
|
|
var templateFolderB64 = '{templateFolderB64}';
|
|
var activityImagePath = '{ajax-loader}';
|
|
var test = '';
|
|
|
|
// how many row are selected currently
|
|
var checkedCounter=0;
|
|
|
|
// the refreshtimer objects
|
|
var aktiv;
|
|
var fm_timerFolderStatus;
|
|
var fm_previewMessageID;
|
|
var fm_previewMessageFolderType;
|
|
|
|
// refresh time for mailboxview
|
|
var refreshTimeOut = {refreshTime};
|
|
//refreshTimeOut = 105001;
|
|
//document.title=refreshTimeOut;
|
|
|
|
fm_startTimerFolderStatusUpdate(refreshTimeOut);
|
|
fm_startTimerMessageListUpdate(refreshTimeOut);
|
|
|
|
</script>
|
|
<div id="divMainView">
|
|
<TABLE WIDTH="100%" CELLPADDING="0" CELLSPACING="0" style="border: solid #aaaaaa 1px; border-right: solid black 1px; border-bottom: solid black 1px;">
|
|
<tr class="navbarBackground">
|
|
<td align="left" width="100px">
|
|
<div class="parentDIV">
|
|
<label style="display: none"><input style="width:12px; height:12px; border:none; margin: 1px; margin-left: 3px;" type="checkbox" id="selectAllMessagesCheckBox" onclick="selectFolderContent(this, refreshTimeOut)"> {lang_mark_all_messages}</label>
|
|
<button style="height: 20px; margin: 2px; margin-left: 5px; border-radius: 4px; background-image: url({composeBGImage}); background-repeat: no-repeat; padding-left: 22px; padding-right: 5px;" onclick="egw_appWindow('felamimail').mail_openComposeWindow(egw_webserverUrl+'/index.php?menuaction=felamimail.uicompose.compose',false)">{lang_compose}</button>
|
|
</div>
|
|
</td>
|
|
<td align="right" width="90px">
|
|
{select_search}
|
|
</td>
|
|
<td align="right">
|
|
<input class="input_text" type="text" name="quickSearch" id="quickSearch" value="{quicksearch}" onChange="javascript:quickSearch();" onFocus="this.select();" style="font-size:11px; width:100%;">
|
|
</td>
|
|
<td align="left" width="40px" valign="middle">
|
|
{img_clear_left}
|
|
</td>
|
|
<td align="left" width="40px" valign="middle">
|
|
{lang_status}
|
|
</td>
|
|
<td align="center" width="100px">
|
|
{select_status}
|
|
</td>
|
|
<td align="center" width="40px">
|
|
{select_messagecount}
|
|
</td>
|
|
<td width="120px" style="white-space:nowrap; align:right; text-align:right;">
|
|
<div class="parentDIV" style="text-align:right; align:right;">
|
|
{navbarButtonsRight}
|
|
</div>
|
|
</td>
|
|
</TR>
|
|
</table>
|
|
<form method="post" name="mainView" id="mainView" action="{reloadView}">
|
|
</form>
|
|
|
|
<input type="hidden" name="folderAction" id="folderAction" value="changeFolder">
|
|
<INPUT TYPE="hidden" NAME="oldMailbox" value="{oldMailbox}">
|
|
<INPUT TYPE="hidden" NAME="mailbox">
|
|
<TABLE width="100%" cellpadding="0" cellspacing="0" border="0" style="height:100px;">
|
|
<tr style="height: 20px;">
|
|
<td nowrap>
|
|
<span id="folderFunction" align="left" style="font-size:11px;"></span>
|
|
</td>
|
|
<td nowrap align="left" style="font-size:11px; width:190px;" colspan="2">
|
|
<span id="messageCounter">{message}</span>
|
|
</td>
|
|
<td align="center" style="font-size:11px; color:red; width:auto;">
|
|
<span id="vacationWarning">{vacation_warning}</span>
|
|
</td>
|
|
<td id="quotaDisplay" align="right" style="font-size:11px; width:190px;">
|
|
{quota_display}
|
|
</td>
|
|
</tr>
|
|
<TR>
|
|
|
|
<!-- ToDo: ResizeVerticalRule -->
|
|
|
|
<TD valign="top" colspan="5">
|
|
|
|
<!-- Start MessageList -->
|
|
|
|
<form name="formMessageList" id="formMessageList">
|
|
<div id="divMessageList" style="margin-left:0px; margin-right:0px; margin-top:0px; margin-bottom: 0px; z-index:90; border : 1px solid #9f9f9f; border-top: 0px; background-color: white;">
|
|
<!-- <table BORDER="0" style="width:98%; ppadding-left:2; table-layout: fixed;" cellspacing="100" cellpadding="100"> -->
|
|
{header_rows}
|
|
<!-- </table> -->
|
|
</div>
|
|
</form>
|
|
|
|
<!-- End MessageList -->
|
|
|
|
</TD>
|
|
</TR>
|
|
</table>
|
|
</div>
|
|
|
|
<!-- END main -->
|
|
|
|
<!-- BEGIN message_table -->
|
|
<div id="divMessageTableList" style="height:{messagelist_height}; margin-left:0px; margin-right:0px; margin-top:0px; margin-bottom: 0px; z-index:90; border : 1px solid #9f9f9f; border-top: 0px; background-color: white;">
|
|
|
|
</div>
|
|
<span id="spanMessagePreview" style="margin-left:5px; margin-right:5px;">
|
|
{IFrameForPreview}
|
|
</span>
|
|
<script type="text/javascript">
|
|
var felamimail_iframe_height = parseInt("{previewiframe_height}".replace(/px/g,""));
|
|
var felamimail_messagelist_height = parseInt("{messagelist_height}".replace(/px/g,""));
|
|
</script>
|
|
<!-- END message_table -->
|
|
|
|
<!-- BEGIN status_row_tpl -->
|
|
<table WIDTH="100%" BORDER="0" CELLPADDING="1" CELLSPACING="2">
|
|
<tr BGCOLOR="{row_off}" class="text_small">
|
|
<td width="18%">
|
|
{link_previous}
|
|
</td>
|
|
<td width="10%">
|
|
|
|
</td>
|
|
<TD align="center" width="36%">
|
|
{message}
|
|
</td>
|
|
<td width="18%">
|
|
{trash_link}
|
|
</td>
|
|
<td align="right" width="18%">
|
|
{link_next}
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
<!-- END status_row_tpl -->
|
|
|
|
<!-- BEGIN error_message -->
|
|
<table style="width:100%;">
|
|
<tr>
|
|
<td bgcolor="#FFFFCC" align="center" colspan="6">
|
|
<font color="red"><b>{lang_connection_failed}</b></font><br>
|
|
<br>{connection_error_message}<br><br>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<!-- END error_message -->
|
|
|
|
<!-- BEGIN quota_block -->
|
|
<table cellpadding="0" cellspacing="0" style="border:1px solid silver;width:150px;">
|
|
<tr valign="middle">
|
|
<td bgcolor="{quotaBG}" align="center" valign="middle" style="width:{leftWidth}%;height:9px;font-size:9px;">
|
|
{quotaUsage_left}
|
|
</td>
|
|
<td align="center" valign="middle" style="height:9px;font-size:9px;">
|
|
{quotaUsage_right}
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<!-- END quota_block -->
|
|
|
|
<!-- BEGIN subject_same_window -->
|
|
<td bgcolor="#FFFFFF">
|
|
<a class="{row_css_class}" name="subject_url" href="{url_read_message}" title="{full_subject}">{header_subject}</a>
|
|
</td>
|
|
<!-- END subject_same_window -->
|
|
|
|
<!-- BEGIN subject_new_window -->
|
|
<td bgcolor="#FFFFFF">
|
|
<a class="{row_css_class}" name="subject_url" href="{url_read_message}" title="{full_subject}">{header_subject}</a>
|
|
</td>
|
|
<!-- END subject_new_window -->
|
|
|
|
|