From c741d57c49d9ae7ccb28b5d8fa0d3dfaed897e1b Mon Sep 17 00:00:00 2001
From: David Date : '.$header->date.' Sender : '.$header->senderaddress.' Sender : '.imap_utf8($header->senderaddress).' From : '.$header->fromaddress.' From : '.imap_utf8($header->fromaddress).' To : '.$header->toaddress.' To : '.imap_utf8($header->toaddress).' Cc : '.$header->ccaddress.' Cc : '.imap_utf8($header->ccaddress).' Bcc : '.imap_utf8($header->subject).' Subject : '.imap_utf8($header->subject).'
'.$config['maintenance']['publicMsg'].'
'; } elseif (isset($_GET['session_id'])) { diff --git a/templateTab/index.html b/templateTab/index.html old mode 100755 new mode 100644 index c4df0d4..39a1592 --- a/templateTab/index.html +++ b/templateTab/index.html @@ -188,30 +188,30 @@ switch (value) { case 'msgno': case 'size': - table.addColumn({title:name, field:value, sorter:"number", align:"center", headerFilter:"number", headerContext:function(e, column){ column.delete(); $('#flagged').removeClass('inTable'); refreshTableControls(); }}, false); + table.addColumn({title:name, field:value, sorter:"number", align:"center", headerFilter:"number", headerContext:function(e, column){ column.delete(); $('#' + value).removeClass('inTable'); refreshTableControls(); }}, false); break; case 'udate': table.addColumn({title:name, field:value, align:"center", formatter:"datetime", formatterParams:{ inputFormat:"X", outputFormat:"DD/MM/YY HH:m", invalidPlaceholder:"(invalid date)", - }, headerContext:function(e, column){ column.delete(); $('#flagged').removeClass('inTable'); refreshTableControls(); }}, false); + }, headerContext:function(e, column){ column.delete(); $('#' + value).removeClass('inTable'); refreshTableControls(); }}, false); break; case 'date': - table.addColumn({title:name, field:value, align:"center", headerFilter:dateFilterEditor, headerFilterFunc:dateFilterFunction, headerContext:function(e, column){ column.delete(); $('#flagged').removeClass('inTable'); refreshTableControls(); }}, false); + table.addColumn({title:name, field:value, align:"center", headerFilter:dateFilterEditor, headerFilterFunc:dateFilterFunction, headerContext:function(e, column){ column.delete(); $('#' + value).removeClass('inTable'); refreshTableControls(); }}, false); break; case 'answered': case 'flagged': //case 'attachments': - table.addColumn({title:name, field:value, align:"center", headerContext:function(e, column){ column.delete(); $('#flagged').removeClass('inTable'); refreshTableControls(); }, formatter:printIcon, headerFilter:"tickCross", headerFilterParams:{"tristate":true},headerFilterEmptyCheck:function(value){return value === null}}, false); + table.addColumn({title:name, field:value, align:"center", headerContext:function(e, column){ column.delete(); $('#' + value).removeClass('inTable'); refreshTableControls(); }, formatter:printIcon, headerFilter:"tickCross", headerFilterParams:{"tristate":true},headerFilterEmptyCheck:function(value){return value === null}}, false); break; case 'subject': - table.addColumn({title:name, field:value, width: 400, sorter:"string", headerFilter:"input", headerContext:function(e, column){ column.delete(); $('#flagged').removeClass('inTable'); refreshTableControls(); }, responsive:2}, false); + table.addColumn({title:name, field:value, width: 400, sorter:"string", headerFilter:"input", headerContext:function(e, column){ column.delete(); $('#' + value).removeClass('inTable'); refreshTableControls(); }, responsive:2}, false); case 'fromaddress': - table.addColumn({title:name, field:value, width: 400, sorter:"string", headerFilter:"input", headerContext:function(e, column){ column.delete(); $('#flagged').removeClass('inTable'); refreshTableControls(); }}, false); + table.addColumn({title:name, field:value, width: 400, sorter:"string", headerFilter:"input", headerContext:function(e, column){ column.delete(); $('#' + value).removeClass('inTable'); refreshTableControls(); }}, false); break; default: - table.addColumn({title:name, field:value, sorter:"string", headerFilter:"input", headerContext:function(e, column){ column.delete(); $('#flagged').removeClass('inTable'); refreshTableControls(); }}, false); + table.addColumn({title:name, field:value, sorter:"string", headerFilter:"input", headerContext:function(e, column){ column.delete(); $('#' + value).removeClass('inTable'); refreshTableControls(); }}, false); } }