merging new gui part #1
BIN
webui/view/theme/orig/images/1x1.gif
Normal file
After Width: | Height: | Size: 44 B |
BIN
webui/view/theme/orig/images/arrowdown.gif
Normal file
After Width: | Height: | Size: 73 B |
BIN
webui/view/theme/orig/images/arrowup.gif
Normal file
After Width: | Height: | Size: 74 B |
BIN
webui/view/theme/orig/images/attachment_icon.png
Normal file
After Width: | Height: | Size: 893 B |
BIN
webui/view/theme/orig/images/calendar.png
Normal file
After Width: | Height: | Size: 639 B |
BIN
webui/view/theme/orig/images/dark-grey-disclosure-arrow-down.png
Normal file
After Width: | Height: | Size: 94 B |
BIN
webui/view/theme/orig/images/dimple.png
Normal file
After Width: | Height: | Size: 174 B |
BIN
webui/view/theme/orig/images/download_icon.jpg
Normal file
After Width: | Height: | Size: 2.4 KiB |
BIN
webui/view/theme/orig/images/fileicons/audio.png
Normal file
After Width: | Height: | Size: 727 B |
BIN
webui/view/theme/orig/images/fileicons/doc.png
Normal file
After Width: | Height: | Size: 659 B |
BIN
webui/view/theme/orig/images/fileicons/file.png
Normal file
After Width: | Height: | Size: 720 B |
BIN
webui/view/theme/orig/images/fileicons/image.png
Normal file
After Width: | Height: | Size: 906 B |
BIN
webui/view/theme/orig/images/fileicons/odf.png
Normal file
After Width: | Height: | Size: 807 B |
BIN
webui/view/theme/orig/images/fileicons/pdf.png
Normal file
After Width: | Height: | Size: 663 B |
BIN
webui/view/theme/orig/images/fileicons/ppt.png
Normal file
After Width: | Height: | Size: 762 B |
BIN
webui/view/theme/orig/images/fileicons/rar.png
Normal file
After Width: | Height: | Size: 631 B |
BIN
webui/view/theme/orig/images/fileicons/swf.png
Normal file
After Width: | Height: | Size: 843 B |
BIN
webui/view/theme/orig/images/fileicons/txt.png
Normal file
After Width: | Height: | Size: 542 B |
BIN
webui/view/theme/orig/images/fileicons/vcf.png
Normal file
After Width: | Height: | Size: 711 B |
BIN
webui/view/theme/orig/images/fileicons/video.png
Normal file
After Width: | Height: | Size: 740 B |
BIN
webui/view/theme/orig/images/fileicons/xls.png
Normal file
After Width: | Height: | Size: 731 B |
BIN
webui/view/theme/orig/images/green_ok.png
Normal file
After Width: | Height: | Size: 984 B |
BIN
webui/view/theme/orig/images/groupactions.png
Normal file
After Width: | Height: | Size: 495 B |
After Width: | Height: | Size: 93 B |
BIN
webui/view/theme/orig/images/line.png
Normal file
After Width: | Height: | Size: 95 B |
BIN
webui/view/theme/orig/images/listheader.gif
Normal file
After Width: | Height: | Size: 470 B |
BIN
webui/view/theme/orig/images/minus.gif
Normal file
After Width: | Height: | Size: 73 B |
BIN
webui/view/theme/orig/images/navigation.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
webui/view/theme/orig/images/notes.png
Normal file
After Width: | Height: | Size: 768 B |
BIN
webui/view/theme/orig/images/plus.gif
Normal file
After Width: | Height: | Size: 76 B |
BIN
webui/view/theme/orig/images/red_x.png
Normal file
After Width: | Height: | Size: 1004 B |
BIN
webui/view/theme/orig/images/remote.gif
Normal file
After Width: | Height: | Size: 71 B |
BIN
webui/view/theme/orig/images/search.png
Normal file
After Width: | Height: | Size: 738 B |
BIN
webui/view/theme/orig/images/spinner1.gif
Normal file
After Width: | Height: | Size: 1.9 KiB |
BIN
webui/view/theme/orig/images/tag_blue.png
Normal file
After Width: | Height: | Size: 495 B |
BIN
webui/view/theme/orig/stylesheet/images/animated-overlay.gif
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
webui/view/theme/orig/stylesheet/images/border.png
Normal file
After Width: | Height: | Size: 112 B |
BIN
webui/view/theme/orig/stylesheet/images/controls.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 111 B |
BIN
webui/view/theme/orig/stylesheet/images/ie6/borderBottomLeft.png
Normal file
After Width: | Height: | Size: 215 B |
After Width: | Height: | Size: 217 B |
BIN
webui/view/theme/orig/stylesheet/images/ie6/borderMiddleLeft.png
Normal file
After Width: | Height: | Size: 108 B |
After Width: | Height: | Size: 108 B |
BIN
webui/view/theme/orig/stylesheet/images/ie6/borderTopCenter.png
Normal file
After Width: | Height: | Size: 111 B |
BIN
webui/view/theme/orig/stylesheet/images/ie6/borderTopLeft.png
Normal file
After Width: | Height: | Size: 216 B |
BIN
webui/view/theme/orig/stylesheet/images/ie6/borderTopRight.png
Normal file
After Width: | Height: | Size: 214 B |
BIN
webui/view/theme/orig/stylesheet/images/loading.gif
Normal file
After Width: | Height: | Size: 9.2 KiB |
BIN
webui/view/theme/orig/stylesheet/images/loading_background.png
Normal file
After Width: | Height: | Size: 157 B |
BIN
webui/view/theme/orig/stylesheet/images/overlay.png
Normal file
After Width: | Height: | Size: 182 B |
After Width: | Height: | Size: 470 B |
After Width: | Height: | Size: 455 B |
After Width: | Height: | Size: 180 B |
After Width: | Height: | Size: 274 B |
After Width: | Height: | Size: 178 B |
After Width: | Height: | Size: 371 B |
After Width: | Height: | Size: 400 B |
After Width: | Height: | Size: 120 B |
After Width: | Height: | Size: 272 B |
After Width: | Height: | Size: 111 B |
After Width: | Height: | Size: 110 B |
After Width: | Height: | Size: 119 B |
After Width: | Height: | Size: 5.7 KiB |
After Width: | Height: | Size: 413 B |
After Width: | Height: | Size: 101 B |
After Width: | Height: | Size: 380 B |
After Width: | Height: | Size: 6.6 KiB |
After Width: | Height: | Size: 4.3 KiB |
After Width: | Height: | Size: 4.3 KiB |
After Width: | Height: | Size: 4.3 KiB |
After Width: | Height: | Size: 4.3 KiB |
After Width: | Height: | Size: 4.3 KiB |
After Width: | Height: | Size: 4.3 KiB |
After Width: | Height: | Size: 4.3 KiB |
After Width: | Height: | Size: 6.1 KiB |
10
webui/view/theme/orig/stylesheet/jquery-ui-custom.min.css
vendored
Normal file
172
webui/view/theme/orig/stylesheet/style-orig.css
Normal file
@ -0,0 +1,172 @@
|
||||
|
||||
@media screen {
|
||||
|
||||
a { color: #850505; text-decoration: none; }
|
||||
|
||||
p { margin: 0 0 10px 0; }
|
||||
|
||||
.mybody { background-color: #6D6D6D; color: #3d3d3d; }
|
||||
|
||||
#piler1 { min-height: 860px; background: #ffffff; border: 3px solid black; position: relative; margin-left: auto; margin-right: auto; height: auto; padding-top: 0px; }
|
||||
|
||||
#messagebox1 { position: absolute; top: 0px; left: 50%; border: 3px solid red; display: none; background: orange; color: #000000; font-weight: bold; padding: 15px; z-index: 1; }
|
||||
#searchpopup1 { position: absolute; top: 30px; left: 0px; border: 1px solid #999999; display: none; background: #f8f8f8; color: #000000; font-weight: bold; padding: 15px; z-index: 1; }
|
||||
#popupx { position: absolute; right: 10px; top: 5px; margin: 10px; }
|
||||
|
||||
.aoo { cursor: pointer; position: absolute; left: 570px; top: 0px; width: 10px; margin-left: -5px; }
|
||||
.aoq { height: 4px; padding: 11px 5px; width: 7px; background: url("/view/theme/orig/images/dark-grey-disclosure-arrow-down.png") no-repeat scroll center center transparent; }
|
||||
|
||||
|
||||
/*#wrap { position: relative; margin: 0 auto; padding: 0; width: 1270px; background-color: white; border: 3px solid black; text-align: left; }*/
|
||||
|
||||
#wrapemail { margin-left: 20px; background-color: white; width:200px; height: 300px; }
|
||||
.email { background-color: white; }
|
||||
|
||||
#menu { height: 40px; border: 0px solid red; }
|
||||
#menu a:hover, #menu a:active { color: #850505; }
|
||||
|
||||
#main { margin: 0px 40px 20px 40px; width: 100%; text-align: left; float: left; clear: both; }
|
||||
|
||||
.sleek { margin:0; padding:0; }
|
||||
.center { text-align: center; }
|
||||
|
||||
#expertsearch { position: absolute; border: 0px solid black; right: 20px; left: 20px; text-align: left; font: normal 19px Arial, sans-serif; margin-top: 10px; }
|
||||
|
||||
#resultsheader { display: none; }
|
||||
#resultstop { position: absolute; width: 1140px; border: 0px solid #999; top: 120px; right: 20px; left: 20px; text-align: right; display: table; padding-right: 0px; margin-right: 20px; }
|
||||
|
||||
#footer { clear: both; text-align: left; margin: 0; padding: 0 36px; }
|
||||
|
||||
#A1 { text-align: right; }
|
||||
|
||||
h3.title { color: #850505; }
|
||||
|
||||
.formbottom { margin-bottom: 30px; }
|
||||
|
||||
input#date1,input#date2{background-image:url(../images/calendar.png);background-position:right center;background-repeat:no-repeat;color:#000; text-align:left; text-indent:6px; cursor:pointer; }
|
||||
|
||||
input#savedsearch{background-image:url(../images/search.png);background-position:right center;background-repeat:no-repeat;color:#000;font: bold 12px Arial, sans-serif;text-align:left;text-indent:6px;width:400px;height:15px; }
|
||||
|
||||
.piler-right-margin { margin-right: 30px; }
|
||||
|
||||
|
||||
#search { float: left; width: 990px; margin-top: 5px; margin-bottom: 20px; }
|
||||
|
||||
#search1 { float: left; width: 490px; margin: 0; border: 0px solid green; }
|
||||
|
||||
#ss1 { display: table; border-collapse: collapse; margin: 0; padding: 0; margin-top: 10px; clear: both; }
|
||||
|
||||
/*#resultscontainer { float: left; width: 990px; padding: 0; padding-bottom: 5px; height: auto; margin-top: 0px; margin-bottom: 0px; border-top: 3px solid black; border-bottom: 3px solid black; overflow:auto; }
|
||||
#resultscontainer.empty { border-bottom: 0px solid black; height: auto; overflow:auto; width: 990px; }*/
|
||||
|
||||
#results { float: left; width: 1140px; margin-top: 0px; margin-bottom: 0px; border-collapse: collapse; display: table; clear: both; }
|
||||
|
||||
#mailpreviewframe { text-align: left; overflow:auto; }
|
||||
|
||||
#auditresultscontainer { float: left; width: 1180px; padding: 0; margin: 0; border-top: 0px solid black; border-bottom: 0px solid black; height: 580px; overflow: auto; }
|
||||
#auditresultscontainer.empty { border-bottom: 0px solid black; height: 580px; }
|
||||
|
||||
#download_icon { margin: 0px 0 -2px 0; border: 0px solid black; }
|
||||
|
||||
#sspinner { position: relative; width: 60%; border: 0px solid #999999; color: #000000; font-weight: bold; vertical-align: middle; text-align: left; padding: 15px; z-index: 1; display: none; margin: auto; margin-top: 150px; }
|
||||
|
||||
//.text { font: normal 12px Arial, sans-serif; font-weight: bold; text-align:left; width: 408px; }
|
||||
//.autocompletetext { font: normal 12px Arial, sans-serif; font-style: italic; color: gray; font-weight: bold; text-align:left; width: 408px; }
|
||||
|
||||
.row { display: table-row; }
|
||||
.row.savedsearch { display: table-row; text-align: right; }
|
||||
.resultrow { display: table-row; height: 18px; font-style: italic; }
|
||||
.resultrow a { color: #3d3d3d; }
|
||||
.resultrow.odd { background: #f5f5f5; }
|
||||
.resultrow.new { font-style: normal; }
|
||||
.resultrow.new a { color: #850505; }
|
||||
.resultrow.selected { border: 2px solid black; }
|
||||
.resultrow.spam { color: #aaa; }
|
||||
|
||||
.tcell { display: table-cell; }
|
||||
|
||||
.cell1 { display: table-cell; height: 25px; text-align: left; padding: 3px; font: bold 12px Arial, sans-serif; width: 80px; }
|
||||
|
||||
.cell2 { display: table-cell; width: 410px; height: 15px; }
|
||||
//.left { text-align: left; }
|
||||
//.100px { width: 100px; }
|
||||
.top20px { margin-top: 20px; }
|
||||
.listarea { overflow:auto; height: 500px; }
|
||||
|
||||
.auditcell { margin: 0; display: table-cell; text-align: left; vertical-align:middle; font-style: normal; border: 0px solid red; }
|
||||
.auditcell.date { width: 120px; }
|
||||
.auditcell.user { width: 120px; }
|
||||
.auditcell.action { width: 100px; }
|
||||
.auditcell.ip { width: 75px; }
|
||||
.auditcell.description { width: 325px; }
|
||||
.auditcell.ref { width: 90px; }
|
||||
.auditcell.header { height: 30px; font: bold 12px Arial, sans-serif; color: black; }
|
||||
|
||||
#health1 { display: table-cell; margin-top: 10px; margin-bottom: 0; }
|
||||
#health2 { display: table-cell; text-align: right; }
|
||||
|
||||
.cellhealthleft { display: table-cell; height: 25px; text-align: left; padding: 3px; font: bold 12px Arial, sans-serif; }
|
||||
.cellhealthright { display: table-cell; height: 25px; text-align: left; padding: 3px; font: normal 12px Arial, sans-serif; }
|
||||
|
||||
#pagenav { float: left; margin-top: 0px; margin-bottom: 0px; text-align: left; width: 990px; border: 0px solid red; }
|
||||
.navrow { display: table-row; }
|
||||
.navlink { color: #bbb; font: bold 12px Arial, sans-serif; }
|
||||
#pagenav a.navlink { color: #850505; font: bold 12px Arial, sans-serif; }
|
||||
|
||||
#pagingleft { display: table-cell; float: left; text-align: left; width: 60px; border: 0px solid red; }
|
||||
#pagingcenter { display: table-cell; float: left; text-align: center; width: 145px; border: 0px solid red; }
|
||||
#pagingright { display: table-cell; float: left; text-align: right; width: 60px; border: 0px solid red; }
|
||||
|
||||
.messagelink { border-bottom: 1px solid gray; color: #850505; }
|
||||
.messagelink.spam { border-bottom: 1px solid gray; color: #aaa; }
|
||||
#results a:hover { color: black; }
|
||||
|
||||
|
||||
input[type=textarea] { height:80px; }
|
||||
|
||||
//input[type=checkbox].attachmenttype { margin: 0; vertical-align: middle; }
|
||||
input[type=checkbox].restorebox { margin: 0; vertical-align: middle; }
|
||||
input[type=checkbox].popup { margin: 0; vertical-align: middle; }
|
||||
|
||||
#messagepopup { margin: 10px 20px 10px 20px; padding: 0; background-color: white; text-align: left; }
|
||||
#restorebox { position: absolute; top: 20px; left: 15%; border: 3px solid red; display: none; background: orange; color: #000000; font-weight: bold; padding: 15px; z-index: 1; }
|
||||
|
||||
.domainrow { display: table-row; border: 2px solid gray; padding: 10px; }
|
||||
.domaincell { display: table-cell; font: bold 12px Arial, sans-serif; border: 1px solid gray; padding: 5px; vertical-align: top; }
|
||||
.logincell { display: table-cell; font: bold 12px Arial, sans-serif; padding: 5px; vertical-align: top; }
|
||||
.domain { font: normal 12px Arial, sans-serif; font-weight: bold; text-align:left; width: 408px;}
|
||||
|
||||
.login { text-align: center; margin-top:20%; }
|
||||
|
||||
.folder { margin: 0 0 5px 10px; }
|
||||
|
||||
.bold { font-weight: bold; }
|
||||
.left { text-align: left; }
|
||||
|
||||
|
||||
|
||||
/* rc splitter stuff */
|
||||
|
||||
|
||||
#mainscreen { position: absolute; top: 90px; right: 20px; bottom: 20px; left: 20px; }
|
||||
|
||||
#mailleftcontainer { position: absolute; top: 0; left: 0; bottom: 0; width: 195px; }
|
||||
#mailboxlist-container { position: absolute; top: 0; left: 0; width: 100%; bottom: 0; border: 1px solid #999; background-color: #F9F9F9; overflow-y: auto; overflow-x: hidden; }
|
||||
#mailboxlist { position:relative; height: auto; margin: 0px; padding: 0px; list-style-image: none; list-style-type: none; overflow: hidden; white-space: nowrap; background-color: #FFF; }
|
||||
#mailrightcontainer { position: absolute; top: 0; left: 170px; bottom: 0; right: 0; min-width: 400px; }
|
||||
#mailrightcontent { position: absolute; top: 0px; left: 0; right: 0; bottom: 0; }
|
||||
#mailcontframe { position: absolute; width: 100%; top: 0; bottom: 0; border: 1px solid #999999; background-color: #F9F9F9; overflow: hidden; }
|
||||
#mailpreviewframe { position: absolute; width: 100%; top: 205px; bottom: 0px; border: 1px solid #999999; background-color: #F9F9F9; }
|
||||
|
||||
.boxlistcontent { position: absolute; top: 5px; bottom: 50px; left: 0; right: 0; width: 100%; overflow-y: auto; overflow-x: hidden; height: auto; }
|
||||
.boxfooter { position: absolute; bottom: 0px; left: 0px; right: 0px; overflow: hidden; border-top: 1px solid #999; }
|
||||
|
||||
.splitter { user-select: none; -moz-user-select: none; -khtml-user-select: none; position: absolute; background: url(/view/theme/orig/images/dimple.png) center no-repeat; }
|
||||
.splitter-h { cursor: n-resize; cursor: row-resize; background-position: center 2px; }
|
||||
.splitter-v { cursor: e-resize; cursor: col-resize; background-position: 2px center; }
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
79
webui/view/theme/orig/templates/accounting/accounting.tpl
Normal file
@ -0,0 +1,79 @@
|
||||
<p> </p>
|
||||
|
||||
<p>
|
||||
<?php if ($view == 'email') { echo '<strong>'.$text_accounting_email.'</strong>'; } else { echo '<a href="index.php?route=accounting/accounting&view=email">'.$text_accounting_email.'</a>'; } ?> |
|
||||
<?php if ($view == 'domain') { echo '<strong>'.$text_accounting_domain.'</strong>'; } else { echo '<a href="index.php?route=accounting/accounting&view=domain">'.$text_accounting_domain.'</a>'; } ?>
|
||||
</p>
|
||||
|
||||
|
||||
|
||||
<?php if ( $accounting ) { ?>
|
||||
|
||||
<div id="pagenav">
|
||||
<?php if($page > 0){ ?><a href="index.php?route=accounting/accounting&page=0&view=<?php echo $view; ?>&sort=<?php print $sort; ?>&order=<?php print $order; ?>" class="navlink"><?php } ?> « <?php if($page > 0){ ?></a><?php } ?>
|
||||
<?php if($page > 0){ ?><a href="index.php?route=accounting/accounting&page=<?php print $prev_page; ?>&view=<?php echo $view; ?>&sort=<?php print $sort; ?>&order=<?php print $order; ?>" class="navlink"><?php } ?> ‹ <?php if($page > 0){ ?></a><?php } ?>
|
||||
<?php if(count($accounting) > 0) { print $accounting[0]['display']; ?> - <?php print $accounting[count($accounting)-1]['display']; } ?>
|
||||
<?php if($total_records >= $page_len*($page+1) && $total_records > $page_len){ ?><a href="index.php?route=accounting/accounting&page=<?php print $next_page; ?>&view=<?php echo $view; ?>&sort=<?php print $sort; ?>&order=<?php print $order; ?>" class="navlink"><?php } ?> › <?php if($total_records >= $page_len*($page+1) && $total_records > $page_len){ ?></a><?php } ?>
|
||||
<?php if($page < $total_pages){ ?><a href="index.php?route=accounting/accounting&page=<?php print $total_pages; ?>&view=<?php echo $view; ?>&sort=<?php print $sort; ?>&order=<?php print $order; ?>" class="navlink"><?php } ?> » <?php if($page < $total_pages){ ?></a><?php } ?>
|
||||
</div>
|
||||
|
||||
<div id="ss1" style="margin-top: 10px;">
|
||||
<div class="domainrow">
|
||||
<div class="domaincell"> </div>
|
||||
<div class="domaincell"> </div>
|
||||
<div class="domaincell"> </div>
|
||||
<div class="domaincell"><?php print $text_sent; ?></div>
|
||||
<div class="domaincell"> </div>
|
||||
<div class="domaincell"> </div>
|
||||
<div class="domaincell"><?php print $text_received; ?></div>
|
||||
<div class="domaincell"> </div>
|
||||
<div class="domaincell"> </div>
|
||||
</div>
|
||||
<div class="domainrow">
|
||||
<div class="domaincell"><?php echo $viewname; ?> <a href="index.php?route=accounting/accounting&view=<?php echo $view; ?>&sort=item&order=0"><i class="icon-chevron-up"></i></a> <a href="index.php?route=accounting/accounting&view=<?php echo $view; ?>&sort=item&order=1"><i class="icon-chevron-down"></i></a></div>
|
||||
<div class="domaincell"><?php print $text_oldest_record; ?> <a href="index.php?route=accounting/accounting&view=<?php echo $view; ?>&sort=oldest&order=0"><i class="icon-chevron-up"></i></a> <a href="index.php?route=accounting/accounting&view=<?php echo $view; ?>&sort=oldest&order=1"><i class="icon-chevron-down"></i></a></div>
|
||||
<div class="domaincell"><?php print $text_newest_record; ?> <a href="index.php?route=accounting/accounting&view=<?php echo $view; ?>&sort=newest&order=0"><i class="icon-chevron-up"></i></a> <a href="index.php?route=accounting/accounting&view=<?php echo $view; ?>&sort=newest&order=1"><i class="icon-chevron-down"></i></a></div>
|
||||
<div class="domaincell"><?php print $text_items; ?> <a href="index.php?route=accounting/accounting&view=<?php echo $view; ?>&sort=sent&order=0"><i class="icon-chevron-up"></i></a> <a href="index.php?route=accounting/accounting&view=<?php echo $view; ?>&sort=sent&order=1"><i class="icon-chevron-down"></i></a></div>
|
||||
<div class="domaincell"><?php print $text_size; ?> <a href="index.php?route=accounting/accounting&view=<?php echo $view; ?>&sort=sentsize&order=0"><i class="icon-chevron-up"></i></a> <a href="index.php?route=accounting/accounting&view=<?php echo $view; ?>&sort=sentsize&order=1"><i class="icon-chevron-down"></i></a></div>
|
||||
<div class="domaincell"><?php print $text_average_size; ?> <a href="index.php?route=accounting/accounting&view=<?php echo $view; ?>&sort=sentavg&order=0"><i class="icon-chevron-up"></i></a> <a href="index.php?route=accounting/accounting&view=<?php echo $view; ?>&sort=sentavg&order=1"><i class="icon-chevron-down"></i></a></div>
|
||||
<div class="domaincell"><?php print $text_items; ?> <a href="index.php?route=accounting/accounting&view=<?php echo $view; ?>&sort=recd&order=0"><i class="icon-chevron-up"></i></a> <a href="index.php?route=accounting/accounting&view=<?php echo $view; ?>&sort=recd&order=1"><i class="icon-chevron-down"></i></a></div>
|
||||
<div class="domaincell"><?php print $text_size; ?> <a href="index.php?route=accounting/accounting&view=<?php echo $view; ?>&sort=recdsize&order=0"><i class="icon-chevron-up"></i></a> <a href="index.php?route=accounting/accounting&view=<?php echo $view; ?>&sort=recdsize&order=1"><i class="icon-chevron-down"></i></a></div>
|
||||
<div class="domaincell"><?php print $text_average_size; ?> <a href="index.php?route=accounting/accounting&view=<?php echo $view; ?>&sort=recdavg&order=0"><i class="icon-chevron-up"></i></a> <a href="index.php?route=accounting/accounting&view=<?php echo $view; ?>&sort=recdavg&order=1"><i class="icon-chevron-down"></i></a></div>
|
||||
</div>
|
||||
|
||||
<?php foreach($accounting as $details) {?>
|
||||
<div class="domainrow">
|
||||
<div class="domaincell"><?php echo $details['item']; ?></div>
|
||||
<div class="domaincell"><?php echo date("d M Y",$details['oldest']); ?></div>
|
||||
<div class="domaincell"><?php echo date("d M Y",$details['newest']); ?></div>
|
||||
<div class="domaincell">
|
||||
<?php echo $details['sent']; ?>
|
||||
</div>
|
||||
<div class="domaincell">
|
||||
<?php echo nice_size($details['sentsize']); ?>
|
||||
</div>
|
||||
<div class="domaincell">
|
||||
<?php echo nice_size($details['sentavg']); ?>
|
||||
</div>
|
||||
<div class="domaincell">
|
||||
<?php echo $details['recd']; ?>
|
||||
</div>
|
||||
<div class="domaincell">
|
||||
<?php echo nice_size($details['recdsize']); ?>
|
||||
</div>
|
||||
<div class="domaincell">
|
||||
<?php echo nice_size($details['recdavg']); ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
<div id="pagenav">
|
||||
<?php if($page > 0){ ?><a href="index.php?route=accounting/accounting&page=0&view=<?php echo $view; ?>&sort=<?php print $sort; ?>&order=<?php print $order; ?>" class="navlink"><?php } ?> « <?php if($page > 0){ ?></a><?php } ?>
|
||||
<?php if($page > 0){ ?><a href="index.php?route=accounting/accounting&page=<?php print $prev_page; ?>&view=<?php echo $view; ?>&sort=<?php print $sort; ?>&order=<?php print $order; ?>" class="navlink"><?php } ?> ‹ <?php if($page > 0){ ?></a><?php } ?>
|
||||
<?php if(count($accounting) > 0) { print $accounting[0]['display']; ?> - <?php print $accounting[count($accounting)-1]['display']; } ?>
|
||||
<?php if($total_records >= $page_len*($page+1) && $total_records > $page_len){ ?><a href="index.php?route=accounting/accounting&page=<?php print $next_page; ?>&view=<?php echo $view; ?>&sort=<?php print $sort; ?>&order=<?php print $order; ?>" class="navlink"><?php } ?> › <?php if($total_records >= $page_len*($page+1) && $total_records > $page_len){ ?></a><?php } ?>
|
||||
<?php if($page < $total_pages){ ?><a href="index.php?route=accounting/accounting&page=<?php print $total_pages; ?>&view=<?php echo $view; ?>&sort=<?php print $sort; ?>&order=<?php print $order; ?>" class="navlink"><?php } ?> » <?php if($page < $total_pages){ ?></a><?php } ?>
|
||||
</div>
|
||||
<?php } else { ?>
|
||||
<p><?php $s = 'text_no_' . $view . '_found'; print $$s; ?></p>
|
||||
<?php } ?>
|
0
webui/view/theme/orig/templates/audit/audit.tpl
Normal file
51
webui/view/theme/orig/templates/audit/helper.tpl
Normal file
@ -0,0 +1,51 @@
|
||||
|
||||
<div id="auditresultscontainer"<?php if($n <= 0) { ?> class="empty"<?php } ?>>
|
||||
|
||||
<div id="results">
|
||||
|
||||
<?php if($n > 0) { $i=0; foreach ($messages as $message) { $i++; ?>
|
||||
|
||||
<div class="resultrow<?php if($i % 2) { ?> odd<?php } ?>">
|
||||
<div class="auditcell date"><?php print $message['date']; ?></div>
|
||||
<div class="auditcell user"><?php print $message['email']; ?></div>
|
||||
<div class="auditcell ip"><?php print $message['ipaddr']; ?></div>
|
||||
<div class="auditcell action"><?php print $actions[$message['action']]; ?></div>
|
||||
<div class="auditcell description"><?php if($message['description'] != $message['shortdescription']) { ?><span title="<?php print $message['description']; ?>"><?php print $message['shortdescription']; ?></span><?php } else { print $message['description']; } ?></div>
|
||||
<div class="auditcell ref"><?php print $message['id']; ?></div>
|
||||
</div>
|
||||
|
||||
<?php } } else { ?>
|
||||
<div class="alert">
|
||||
<strong><?php print $text_empty_search_result; ?></strong>
|
||||
</div>
|
||||
|
||||
<?php } ?>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div id="pagenav">
|
||||
<div class="navrow">
|
||||
<?php if($n >= $page_len){ ?>
|
||||
<div id="pagingleft">
|
||||
<?php if($page > 0) { ?><a href="#" class="navlink" onclick="Piler.navigation(0);"><<</a> <?php } else { ?><span class="navlink"><< </span><?php } ?>
|
||||
<?php if($page > 0) { ?><a href="#" class="navlink" onclick="Piler.navigation(<?php print $prev_page; ?>);"> < </a> <?php } else { ?><span class="navlink"> < </span><?php } ?>
|
||||
</div>
|
||||
|
||||
<div id="pagingcenter">
|
||||
<?php print $hits_from; ?>-<?php print $hits_to; ?>, <?php print $text_total; ?>: <?php print $n; ?>
|
||||
</div>
|
||||
|
||||
<div id="pagingright">
|
||||
<?php if($next_page <= $total_pages){ ?><a href="#" class="navlink" onclick="Piler.navigation(<?php print $next_page; ?>);">> </a> <?php } else { ?><span class="navlink">> </span><?php } ?>
|
||||
<?php if($page < $total_pages) { ?> <a href="#" class="navlink" onclick="Piler.navigation(<?php print $total_pages; ?>);"> >> </a><?php } else { ?> <span class="navlink"> >></span><?php } ?>
|
||||
</div>
|
||||
|
||||
<?php } else { ?> <?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
3
webui/view/theme/orig/templates/common/error.tpl
Normal file
@ -0,0 +1,3 @@
|
||||
|
||||
<p class="text-error bold"><?php print $errorstring; ?></p>
|
||||
|
1
webui/view/theme/orig/templates/common/footer.tpl
Normal file
@ -0,0 +1 @@
|
||||
|
118
webui/view/theme/orig/templates/common/layout-audit.tpl
Normal file
@ -0,0 +1,118 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="hu" lang="hu">
|
||||
|
||||
<head>
|
||||
<title><?php print $title; ?></title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
||||
<meta http-equiv="Content-Language" content="en" />
|
||||
<meta name="keywords" content="piler email archiver" />
|
||||
<meta name="description" content="piler email archiver" />
|
||||
<meta name="rating" content="general" />
|
||||
<meta name="robots" content="all" />
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<link href="/bootstrap/css/bootstrap.min.css" rel="stylesheet" media="screen">
|
||||
<link href="/bootstrap/css/bootstrap-responsive.min.css" rel="stylesheet" media="screen">
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="/view/theme/<?php print THEME; ?>/stylesheet/jquery-ui-custom.min.css" />
|
||||
<link rel="stylesheet" type="text/css" href="/view/theme/<?php print THEME; ?>/stylesheet/style-<?php print THEME; ?>.css" />
|
||||
|
||||
<script type="text/javascript" src="/view/javascript/jquery.min.js"></script>
|
||||
<script type="text/javascript" src="/view/javascript/jquery-ui-custom.min.js"></script>
|
||||
<script type="text/javascript" src="/view/javascript/bootstrap.min.js"></script>
|
||||
<script type="text/javascript" src="/view/javascript/rc-splitter.js"></script>
|
||||
<script type="text/javascript" src="/view/javascript/piler.js"></script>
|
||||
</head>
|
||||
|
||||
<body class="mybody" onload="Piler.add_shortcuts();">
|
||||
|
||||
<div id="messagebox1"></div>
|
||||
|
||||
<div id="piler1" class="container">
|
||||
|
||||
|
||||
<div id="menu">
|
||||
<?php print $menu; ?>
|
||||
</div>
|
||||
|
||||
<div id="expertsearch">
|
||||
|
||||
<input type="hidden" name="searchtype" id="searchtype" value="expert" />
|
||||
<input type="hidden" name="sort" id="sort" value="date" />
|
||||
<input type="hidden" name="order" id="order" value="0" />
|
||||
|
||||
<input type="text" id="_search" name="_search" class="input-medium search-query span6" value="" placeholder="<?php print $text_enter_search_terms; ?>" onclick="Piler.toggle_search_class();" />
|
||||
|
||||
<button id="button_search" class="btn btn-primary" onclick="Piler.auditexpert(this);"><?php print $text_search; ?></button>
|
||||
<input type="button" class="btn" onclick="Piler.cancel();" value="<?php print $text_cancel; ?>" />
|
||||
|
||||
<div id="sspinner">
|
||||
<img src="/view/theme/<?php print THEME; ?>/images/spinner.gif" id="spinner" alt="spinner" />
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div id="resultsheader">
|
||||
<div id="resultstop">
|
||||
<div class="resultrow">
|
||||
<div class="auditcell date header">
|
||||
<?php print $text_date; ?>
|
||||
<a xid="date" xorder="1" onclick="Piler.changeOrder(this);"><img src="<?php print ICON_ARROW_UP; ?>" alt="" border="0"></a>
|
||||
<a xid="date" xorder="0" onclick="Piler.changeOrder(this);"><img src="<?php print ICON_ARROW_DOWN; ?>" alt="" border="0"></a>
|
||||
</div>
|
||||
<div class="auditcell user header">
|
||||
<?php print $text_user; ?>
|
||||
<a xid="user" xorder="1" onclick="Piler.changeOrder(this);"><img src="<?php print ICON_ARROW_UP; ?>" alt="" border="0"></a>
|
||||
<a xid="user" xorder="0" onclick="Piler.changeOrder(this);"><img src="<?php print ICON_ARROW_DOWN; ?>" alt="" border="0"></a>
|
||||
</div>
|
||||
<div class="auditcell ip header">
|
||||
<?php print $text_ipaddr; ?>
|
||||
<a xid="ipaddr" xorder="1" onclick="Piler.changeOrder(this);"><img src="<?php print ICON_ARROW_UP; ?>" alt="" border="0"></a>
|
||||
<a xid="ipaddr" xorder="0" onclick="Piler.changeOrder(this);"><img src="<?php print ICON_ARROW_DOWN; ?>" alt="" border="0"></a>
|
||||
</div>
|
||||
<div class="auditcell action header">
|
||||
<?php print $text_action; ?>
|
||||
<a xid="action" xorder="1" onclick="Piler.changeOrder(this);"><img src="<?php print ICON_ARROW_UP; ?>" alt="" border="0"></a>
|
||||
<a xid="action" xorder="0" onclick="Piler.changeOrder(this);"><img src="<?php print ICON_ARROW_DOWN; ?>" alt="" border="0"></a>
|
||||
</div>
|
||||
<div class="auditcell description header">
|
||||
<?php print $text_description; ?>
|
||||
</div>
|
||||
<div class="auditcell ref header">
|
||||
<?php print $text_ref; ?>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="mainscreen">
|
||||
|
||||
<div id="mailleftcontainer">
|
||||
</div>
|
||||
|
||||
<div id="mailrightcontainer<?php if(ENABLE_FOLDER_RESTRICTIONS == 0) { ?>nofolder<?php } ?>">
|
||||
|
||||
<div id="mailrightcontent">
|
||||
|
||||
<div id="mailcontframe">
|
||||
|
||||
<div id="messagelistcontainer" class="boxlistcontent">
|
||||
|
||||
<?php print $content; ?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
43
webui/view/theme/orig/templates/common/layout-email.tpl
Normal file
@ -0,0 +1,43 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="hu" lang="hu">
|
||||
|
||||
<head>
|
||||
<title>piler<?php if(isset($title) && $title) { ?> | <?php print $title; } ?></title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
||||
<meta http-equiv="Content-Language" content="en" />
|
||||
<meta name="keywords" content="piler email archiver" />
|
||||
<meta name="description" content="piler email archiver" />
|
||||
<meta name="rating" content="general" />
|
||||
<meta name="robots" content="all" />
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="/view/theme/default/stylesheet/style-<?php print THEME; ?>.css" />
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
function append_value_from_slider(id, value)
|
||||
{
|
||||
var prefix = '\n';
|
||||
|
||||
a = opener.document.getElementById(id);
|
||||
if(a && a.value == '') prefix = '';
|
||||
|
||||
a.value += prefix + value;
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="email">
|
||||
|
||||
<div id="wrapemail">
|
||||
|
||||
<?php if(isset($title) && $title) { ?><h3><?php print $title; ?></h3><?php } ?>
|
||||
|
||||
<?php print $content; ?>
|
||||
|
||||
|
||||
</div> <!-- wrap -->
|
||||
|
||||
</body>
|
||||
</html>
|
1
webui/view/theme/orig/templates/common/layout-empty.tpl
Normal file
@ -0,0 +1 @@
|
||||
<?php print $content; ?>
|
131
webui/view/theme/orig/templates/common/layout-search.tpl
Normal file
@ -0,0 +1,131 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="hu" lang="hu">
|
||||
|
||||
<head>
|
||||
<title><?php print $title; ?></title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
||||
<meta http-equiv="Content-Language" content="en" />
|
||||
<meta name="keywords" content="piler email archiver" />
|
||||
<meta name="description" content="piler email archiver" />
|
||||
<meta name="rating" content="general" />
|
||||
<meta name="robots" content="all" />
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<link href="/bootstrap/css/bootstrap.min.css" rel="stylesheet" media="screen">
|
||||
<link href="/bootstrap/css/bootstrap-responsive.min.css" rel="stylesheet" media="screen">
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="/view/theme/<?php print THEME; ?>/stylesheet/jquery-ui-custom.min.css" />
|
||||
<link rel="stylesheet" type="text/css" href="/view/theme/<?php print THEME; ?>/stylesheet/style-<?php print THEME; ?>.css" />
|
||||
|
||||
<script type="text/javascript" src="/view/javascript/jquery.min.js"></script>
|
||||
<script type="text/javascript" src="/view/javascript/jquery-ui-custom.min.js"></script>
|
||||
<script type="text/javascript" src="/view/javascript/bootstrap.min.js"></script>
|
||||
<script type="text/javascript" src="/view/javascript/rc-splitter.js"></script>
|
||||
<script type="text/javascript" src="/view/javascript/piler.js"></script>
|
||||
</head>
|
||||
|
||||
<body class="mybody" onload="Piler.add_shortcuts();">
|
||||
|
||||
<div id="messagebox1"></div>
|
||||
|
||||
<div id="piler1" class="container">
|
||||
|
||||
<div id="menu">
|
||||
<?php print $menu; ?>
|
||||
</div>
|
||||
|
||||
<div id="expertsearch">
|
||||
|
||||
<input type="hidden" name="searchtype" id="searchtype" value="expert" />
|
||||
<input type="hidden" name="sort" id="sort" value="date" />
|
||||
<input type="hidden" name="order" id="order" value="0" />
|
||||
<input type="hidden" name="ref" id="ref" value="" />
|
||||
<input type="hidden" name="prefix" id="prefix" value="" />
|
||||
|
||||
<input type="text" id="_search" name="_search" class="input-medium search-query span6" value="" placeholder="<?php print $text_enter_search_terms; ?>" onclick="Piler.toggle_search_class();" />
|
||||
|
||||
<div class="aoo" onclick="$('#searchpopup1').show();">
|
||||
<div class="aoq"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<button id="button_search" class="btn btn-danger" onclick="Piler.expert(this); return false;"><?php print $text_search; ?></button>
|
||||
|
||||
<button class="btn" onclick="Piler.cancel(); return false;"><?php print $text_cancel; ?></button>
|
||||
<button class="btn " onclick="Piler.saved_search_terms('<?php print $text_saved; ?>'); return false;"><?php print $text_save; ?></button>
|
||||
<button class="btn btn-inverse" onclick="Piler.load_saved_search_terms(); return false;"><?php print $text_load; ?></button>
|
||||
|
||||
|
||||
<?php print $popup; ?>
|
||||
|
||||
<div id="sspinner">
|
||||
<div class="progress progress-striped active">
|
||||
<div class="bar" style="width: 100%;"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div id="mainscreen">
|
||||
<div id="mailleftcontainer">
|
||||
|
||||
<?php if(ENABLE_FOLDER_RESTRICTIONS == 1) { ?>
|
||||
<div id="mailboxlist-container">
|
||||
<?php print $folder; ?>
|
||||
</div>
|
||||
|
||||
|
||||
<script type="text/javascript">
|
||||
var mailviewsplitv = new rcube_splitter({id:'splitter1', p1: 'mailleftcontainer', p2: 'mailrightcontainer', orientation: 'v', relative: true, start: 165});
|
||||
split.add_onload('mailviewsplitv.init()');
|
||||
</script>
|
||||
|
||||
<?php } ?>
|
||||
|
||||
</div>
|
||||
|
||||
<div id="mailrightcontainer<?php if(ENABLE_FOLDER_RESTRICTIONS == 0) { ?>nofolder<?php } ?>">
|
||||
|
||||
<div id="mailrightcontent">
|
||||
|
||||
<div id="mailcontframe">
|
||||
|
||||
<div id="messagelistcontainer" class="boxlistcontent">
|
||||
|
||||
<?php print $content; ?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script type="text/javascript">
|
||||
var mailviewsplit = new rcube_splitter({id:'splitter2', p1: 'mailcontframe', p2: 'mailpreviewframe', orientation: 'h', relative: true, start: 205});
|
||||
split.add_onload('mailviewsplit.init()');
|
||||
</script>
|
||||
|
||||
<div id="mailpreviewframe">
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function(){
|
||||
split.init();
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
51
webui/view/theme/orig/templates/common/layout.tpl
Normal file
@ -0,0 +1,51 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="hu" lang="hu">
|
||||
|
||||
<head>
|
||||
<title>piler | <?php print $title; ?></title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
||||
<meta http-equiv="Content-Language" content="en" />
|
||||
<meta name="keywords" content="piler email archiver" />
|
||||
<meta name="description" content="piler email archiver" />
|
||||
<meta name="rating" content="general" />
|
||||
<meta name="robots" content="all" />
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<link href="/bootstrap/css/bootstrap.min.css" rel="stylesheet" media="screen">
|
||||
<link href="/bootstrap/css/bootstrap-responsive.min.css" rel="stylesheet" media="screen">
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="/view/theme/<?php print THEME; ?>/stylesheet/jquery-ui-custom.min.css" />
|
||||
<link rel="stylesheet" type="text/css" href="/view/theme/<?php print THEME; ?>/stylesheet/style-<?php print THEME; ?>.css" />
|
||||
|
||||
<script type="text/javascript" src="/view/javascript/jquery.min.js"></script>
|
||||
<script type="text/javascript" src="/view/javascript/jquery-ui-custom.min.js"></script>
|
||||
<script type="text/javascript" src="/view/javascript/bootstrap.min.js"></script>
|
||||
<script type="text/javascript" src="/view/javascript/rc-splitter.js"></script>
|
||||
<script type="text/javascript" src="/view/javascript/piler.js"></script>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="mybody"<?php if(isset($this->request->get['route']) && $this->request->get['route'] == 'health/health') { ?> onload="Piler.load_health(); setInterval('Piler.load_health()', Piler.health_refresh * 1000);"<?php } ?>>
|
||||
|
||||
<div id="piler1" class="container">
|
||||
|
||||
<div id="menu">
|
||||
<?php print $menu; ?>
|
||||
</div>
|
||||
|
||||
<div id="main" align="center">
|
||||
|
||||
<?php if($title) { ?><h3 class="title"><?php print $title; ?></h3><?php } ?>
|
||||
|
||||
<?php print $content; ?>
|
||||
|
||||
</div> <!-- main -->
|
||||
|
||||
<div id="footer"><?php print $footer; ?></div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
66
webui/view/theme/orig/templates/common/menu.tpl
Normal file
@ -0,0 +1,66 @@
|
||||
<?php if(Registry::get('username')) { ?>
|
||||
|
||||
<div class="navbar">
|
||||
<div class="navbar-inner">
|
||||
|
||||
<?php if(BRANDING_TEXT) { ?>
|
||||
<a class="brand" href="<?php if(BRANDING_URL) { print BRANDING_URL; } else { ?>#<?php } ?>"><?php print BRANDING_TEXT; ?></a>
|
||||
<?php } ?>
|
||||
|
||||
<ul class="nav pull-left">
|
||||
|
||||
<?php if($admin_user == 1) { ?>
|
||||
|
||||
<li class="dropdown<?php if(strstr($_SERVER['QUERY_STRING'], "stat/") || strstr($_SERVER['QUERY_STRING'], "health/") || strstr($_SERVER['QUERY_STRING'], "audit/") ) { ?> active<?php } ?>">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><?php print $text_monitor; ?> <b class="caret"></b></a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="index.php?route=stat/stat×pan=daily"><?php print $text_statistics; ?></a></li>
|
||||
<li><a href="index.php?route=health/health"><?php print $text_health; ?></a></li>
|
||||
<li><a href="index.php?route=accounting/accounting&view=email"><?php print $text_accounting; ?></a></li>
|
||||
<?php if(ENABLE_AUDIT == 1) { ?>
|
||||
<li><a href="index.php?route=audit/audit"><?php print $text_audit; ?></a></li>
|
||||
<?php } ?>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li class="divider-vertical"></li>
|
||||
|
||||
<li class="dropdown<?php if(strstr($_SERVER['QUERY_STRING'], "domain/") || $_SERVER['QUERY_STRING'] == "route=user/list" || strstr($_SERVER['QUERY_STRING'], "group/") || strstr($_SERVER['QUERY_STRING'], "policy/") ) { ?> active<?php } ?>">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><?php print $text_administration; ?> <b class="caret"></b></a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="index.php?route=user/list"><?php print $text_users; ?></a></li>
|
||||
<li><a href="index.php?route=group/list"><?php print $text_groups; ?></a></li>
|
||||
<li><a href="index.php?route=domain/domain"><?php print $text_domain; ?></a></li>
|
||||
<li><a href="index.php?route=policy/archiving"><?php print $text_archiving_rules; ?></a></li>
|
||||
<li><a href="index.php?route=policy/retention"><?php print $text_retention_rules; ?></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<?php } else { ?>
|
||||
|
||||
<li<?php if($_SERVER['REQUEST_URI'] == '/' || strstr($_SERVER['REQUEST_URI'], "search.php")){ ?> class="active"<?php } ?>><a href="search.php"><?php print $text_search; ?></a></li>
|
||||
<?php if(ENABLE_FOLDER_RESTRICTIONS == 1) { ?>
|
||||
<li<?php if($_SERVER['REQUEST_URI'] == '/' || strstr($_SERVER['REQUEST_URI'], "folders.php")){ ?> class="active"<?php } ?>><a href="folders.php"><?php print $text_folder; ?></a></li>
|
||||
<?php } ?>
|
||||
|
||||
<?php } ?>
|
||||
|
||||
</ul>
|
||||
|
||||
<ul class="nav pull-right">
|
||||
<li class="divider-vertical"></li>
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><?php print $_SESSION['realname']; ?> <i class="icon-user"></i> <b class="caret"></b></a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="settings.php"><?php print $text_settings; ?></a></li>
|
||||
<li class="divider"></li>
|
||||
<li><a href="logout.php"><?php print $text_logout; ?></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php } ?>
|
||||
|
2
webui/view/theme/orig/templates/common/not_found.tpl
Normal file
@ -0,0 +1,2 @@
|
||||
|
||||
|
16
webui/view/theme/orig/templates/domain/domains.tpl
Normal file
@ -0,0 +1,16 @@
|
||||
|
||||
<?php foreach($domains as $domain) { ?>
|
||||
<a href="#" onclick="append_value_from_slider('domains', '<?php print $domain['domain']; ?>');"><?php print $domain['domain']; ?></a><br />
|
||||
<?php } ?>
|
||||
|
||||
|
||||
<div id="pagenav">
|
||||
<?php if($page > 0){ ?><a href="index.php?route=domain/domains&page=0&term=<?php print $search; ?>&sort=<?php print $sort; ?>&order=<?php print $order; ?>" class="navlink"><?php } ?> « <?php if($page > 0){ ?></a><?php } ?>
|
||||
<?php if($page > 0){ ?><a href="index.php?route=domain/domains&page=<?php print $prev_page; ?>&term=<?php print $search; ?>&sort=<?php print $sort; ?>&order=<?php print $order; ?>" class="navlink"><?php } ?> ‹ <?php if($page > 0){ ?></a><?php } ?>
|
||||
<?php if(count($domains) > 0) { print $domains[0][$sort]; ?> - <?php print $domains[count($domains)-1][$sort]; } ?>
|
||||
<?php if($total >= $page_len*($page+1) && $total > $page_len){ ?><a href="index.php?route=domain/domains&page=<?php print $next_page; ?>&term=<?php print $search; ?>&sort=<?php print $sort; ?>&order=<?php print $order; ?>" class="navlink"><?php } ?> › <?php if($total >= $page_len*($page+1) && $total > $page_len){ ?></a><?php } ?>
|
||||
<?php if($page < $total_pages){ ?><a href="index.php?route=domain/domains&page=<?php print $total_pages; ?>&term=<?php print $search; ?>&sort=<?php print $sort; ?>&order=<?php print $order; ?>" class="navlink"><?php } ?> » <?php if($page < $total_pages){ ?></a><?php } ?>
|
||||
</div>
|
||||
|
||||
<div class="top20px"><a href="#" onclick="window.close();">close</a></div>
|
||||
|
52
webui/view/theme/orig/templates/domain/list.tpl
Normal file
@ -0,0 +1,52 @@
|
||||
|
||||
<h4><?php print $text_add_new_domain; ?></h4>
|
||||
|
||||
<form method="post" name="add1" action="index.php?route=domain/domain" class="formbottom">
|
||||
|
||||
<div id="ss1">
|
||||
<div class="row">
|
||||
<div class="domaincell"><?php print $text_domain; ?>:</div>
|
||||
<div class="domaincell"><input type="text" class="text" name="domain" /></div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="domaincell"><?php print $text_mapped_domain; ?>:</div>
|
||||
<div class="domaincell"><input type="text" class="text" name="mapped" /></div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="domaincell"> </div>
|
||||
<div class="domaincell"><input type="submit" class="btn btn-primary" value="<?php print $text_add; ?>" /> <input type="reset" class="btn" value="<?php print $text_cancel; ?>" /></div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</form>
|
||||
|
||||
<h4><?php print $text_existing_domains; ?></h4>
|
||||
|
||||
<div class="listarea">
|
||||
|
||||
<?php if(isset($domains)){ ?>
|
||||
|
||||
<div id="ss1">
|
||||
<div class="domainrow">
|
||||
<div class="domaincell"><?php print $text_domain; ?></div>
|
||||
<div class="domaincell"><?php print $text_mapped_domain; ?></div>
|
||||
<div class="domaincell"> </div>
|
||||
</div>
|
||||
|
||||
<?php foreach($domains as $domain) { ?>
|
||||
<div class="domainrow">
|
||||
<div class="domaincell"><a href="index.php?route=user/list&search=@<?php print $domain['domain']; ?>"><?php print $domain['domain']; ?></a></div>
|
||||
<div class="domaincell"><?php print $domain['mapped']; ?></div>
|
||||
<div class="domaincell"><a href="index.php?route=domain/remove&confirmed=1&domain=<?php print urlencode($domain['domain']); ?>" onclick="if(confirm('<?php print $text_remove_domain; ?>: ' + '\'<?php print $domain['domain']; ?>\'')) return true; return false;"><?php print $text_remove; ?></a></div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
</div>
|
||||
|
||||
<?php } else { ?>
|
||||
<?php print $text_not_found; ?>
|
||||
<?php } ?>
|
||||
|
||||
</div>
|
||||
|
13
webui/view/theme/orig/templates/domain/remove.tpl
Normal file
@ -0,0 +1,13 @@
|
||||
|
||||
<p>
|
||||
|
||||
<?php if($confirmed){ ?>
|
||||
|
||||
<?php print $x; ?>. <a href="index.php?route=domain/domain"><?php print $text_back; ?></a>
|
||||
|
||||
<?php } else { ?>
|
||||
<a href="index.php?route=domain/remove&domain=<?php print $domain; ?>&confirmed=1"><?php print $text_remove_domain; ?>: <?php print $domain; ?></a>
|
||||
<?php } ?>
|
||||
|
||||
</p>
|
||||
|
54
webui/view/theme/orig/templates/folder/list.tpl
Normal file
@ -0,0 +1,54 @@
|
||||
|
||||
<?php if(!isset($x)){ ?>
|
||||
|
||||
<?php if(ENABLE_FOLDER_RESTRICTIONS == 1) { ?>
|
||||
|
||||
<form action="folders.php" method="post" name="extra_folders">
|
||||
|
||||
<div id="search">
|
||||
|
||||
<div id="search1">
|
||||
|
||||
<div class="row">
|
||||
<div class="cell1"><?php print $text_folder; ?></div>
|
||||
<div class="cell2"><input type="text" id="name" name="name" value="" /></div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="cell1"> </div>
|
||||
<div class="cell2"><input type="submit" class="btn btn-primary" value="<?php print $text_add; ?>" /> <input type="reset" class="btn" value="<?php print $text_cancel; ?>" /></div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</form>
|
||||
|
||||
|
||||
<div id="search">
|
||||
|
||||
<h4><?php print $text_existing_folders; ?></h4>
|
||||
|
||||
<div id="search1">
|
||||
|
||||
<?php foreach($extra_folders as $folder) { ?>
|
||||
<div class="row">
|
||||
<div class="cell1"><?php print $folder['name']; ?></div>
|
||||
<div class="cell2"><a href="/folders.php?id=<?php print $folder['id']; ?>&remove=1"><?php print $text_remove; ?></a></div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<?php } ?>
|
||||
|
||||
|
||||
<?php } else { ?>
|
||||
<?php print $x; ?>. <a href="index.php?route=common/home"><?php print $text_back; ?></a>
|
||||
<?php } ?>
|
||||
|
||||
|
49
webui/view/theme/orig/templates/group/add.tpl
Normal file
@ -0,0 +1,49 @@
|
||||
|
||||
<?php if(isset($errorstring)){ ?><p class="text-error bold"><?php print $text_error; ?>: <?php print $errorstring; ?></p><?php } ?>
|
||||
|
||||
|
||||
<form action="index.php?route=group/add" name="adduser" method="post" autocomplete="off">
|
||||
|
||||
<div id="ss1">
|
||||
|
||||
<div class="domainrow">
|
||||
<div class="domaincell"><?php print $text_groupname; ?>:</div>
|
||||
<div class="domaincell"><input type="text" name="groupname" value="<?php if(isset($post['groupname'])){ print $post['groupname']; } ?>" class="span5" /></div>
|
||||
</div>
|
||||
|
||||
<div class="domainrow">
|
||||
<div class="domaincell"><?php print $text_search_emails; ?>*:</div>
|
||||
<div class="domaincell"><input type="text" id="s_piler_email" name="s_piler_email" placeholder="<?php print $text_search_email_to_add; ?>" class="span5" /></div>
|
||||
</div>
|
||||
|
||||
<div class="domainrow">
|
||||
<div class="domaincell"><?php print $text_email_addresses; ?>**:</div>
|
||||
<div class="domaincell"><textarea style="height:280px;" name="email" id="email" class="span5"><?php if(isset($post['email'])){ print $post['email']; } ?></textarea></div>
|
||||
<div class="domaincell">
|
||||
<?php foreach(Registry::get('letters') as $letter) { ?>
|
||||
<a href="#" onclick="window.open('<?php print SITE_URL; ?>index.php?route=group/email&term=<?php print $letter; ?>', 'aaa', 'width=300,height=400');" ><?php print $letter; ?></a>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="domainrow">
|
||||
<div class="domaincell"> </div>
|
||||
<div class="domaincell">*: <?php print $text_min_2_chars; ?><br />**: <?php print $text_enter_one_email_address_per_line; ?></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="domainrow">
|
||||
<div class="domaincell"> </div>
|
||||
<div class="domaincell"><input type="submit" class="btn btn-primary" value="<?php print $text_add; ?>" /><input type="reset" class="btn" value="<?php print $text_cancel; ?>" /></div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</form>
|
||||
|
||||
|
||||
<?php if(isset($x)){ print $x; ?>. <a href="index.php?route=group/list"><?php print $text_back; ?></a>
|
||||
<?php } ?>
|
||||
|
54
webui/view/theme/orig/templates/group/edit.tpl
Normal file
@ -0,0 +1,54 @@
|
||||
|
||||
<?php if(isset($errorstring)){ ?><p class="text-error bold"><?php print $text_error; ?>: <?php print $errorstring; ?></p><?php } ?>
|
||||
|
||||
<?php if(isset($group)) { ?>
|
||||
|
||||
<form action="index.php?route=group/edit" name="addgroup" method="post" autocomplete="off">
|
||||
<input type="hidden" name="id" value="<?php print $id; ?>" />
|
||||
|
||||
<div id="ss1">
|
||||
|
||||
<div class="domainrow">
|
||||
<div class="domaincell"><?php print $text_groupname; ?>:</div>
|
||||
<div class="domaincell"><input type="text" name="groupname" id="groupname" value="<?php print $group['groupname']; ?>" class="span5" /></div>
|
||||
</div>
|
||||
|
||||
<div class="domainrow">
|
||||
<div class="domaincell"><?php print $text_search_emails; ?>*:</div>
|
||||
<div class="domaincell"><input type="text" id="s_piler_email" name="s_piler_email" placeholder="<?php print $text_search_email_to_add; ?>" class="span5" /></div>
|
||||
</div>
|
||||
|
||||
<div class="domainrow">
|
||||
<div class="domaincell"><?php print $text_email_addresses; ?>**:</div>
|
||||
<div class="domaincell"><textarea style="height:280px;" name="email" id="email" class="span5"><?php if(isset($email)){ print $email; } ?></textarea></div>
|
||||
<div class="domaincell">
|
||||
<?php foreach(Registry::get('letters') as $letter) { ?>
|
||||
<a href="#" onclick="window.open('<?php print SITE_URL; ?>index.php?route=group/email&term=<?php print $letter; ?>', 'aaa', 'width=300,height=400');" ><?php print $letter; ?></a>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="domainrow">
|
||||
<div class="domaincell"> </div>
|
||||
<div class="domaincell">*: <?php print $text_min_2_chars; ?><br />**: <?php print $text_enter_one_email_address_per_line; ?></div>
|
||||
</div>
|
||||
|
||||
<div class="domainrow">
|
||||
<div class="domaincell"> </div>
|
||||
<div class="domaincell"><input type="submit" class="btn btn-primary" value="<?php print $text_modify; ?>" /><input type="reset" class="btn" value="<?php print $text_cancel; ?>" /></div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</form>
|
||||
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p>
|
||||
<?php } else if(isset($x)){ print $x; ?>.
|
||||
<?php } ?>
|
||||
|
||||
<a href="index.php?route=group/list"><?php print $text_back; ?></a>
|
||||
</p>
|
16
webui/view/theme/orig/templates/group/email.tpl
Normal file
@ -0,0 +1,16 @@
|
||||
|
||||
<?php foreach($emails as $email) { ?>
|
||||
<a href="#" onclick="append_value_from_slider('email', '<?php print $email['email']; ?>');"><?php print $email['email']; ?></a><br />
|
||||
<?php } ?>
|
||||
|
||||
|
||||
<div id="pagenav">
|
||||
<?php if($page > 0){ ?><a href="index.php?route=group/email&page=0&term=<?php print $search; ?>&sort=<?php print $sort; ?>&order=<?php print $order; ?>" class="navlink"><?php } ?> « <?php if($page > 0){ ?></a><?php } ?>
|
||||
<?php if($page > 0){ ?><a href="index.php?route=group/email&page=<?php print $prev_page; ?>&term=<?php print $search; ?>&sort=<?php print $sort; ?>&order=<?php print $order; ?>" class="navlink"><?php } ?> ‹ <?php if($page > 0){ ?></a><?php } ?>
|
||||
<?php if(count($emails) > 0) { print $emails[0][$sort]; ?> - <?php print $emails[count($emails)-1][$sort]; } ?>
|
||||
<?php if($total >= $page_len*($page+1) && $total > $page_len){ ?><a href="index.php?route=group/email&page=<?php print $next_page; ?>&term=<?php print $search; ?>&sort=<?php print $sort; ?>&order=<?php print $order; ?>" class="navlink"><?php } ?> › <?php if($total >= $page_len*($page+1) && $total > $page_len){ ?></a><?php } ?>
|
||||
<?php if($page < $total_pages){ ?><a href="index.php?route=group/email&page=<?php print $total_pages; ?>&term=<?php print $search; ?>&sort=<?php print $sort; ?>&order=<?php print $order; ?>" class="navlink"><?php } ?> » <?php if($page < $total_pages){ ?></a><?php } ?>
|
||||
</div>
|
||||
|
||||
<div style="margin-top: 20px;"><a href="#" onclick="window.close();">close</a></div>
|
||||
|
59
webui/view/theme/orig/templates/group/list.tpl
Normal file
@ -0,0 +1,59 @@
|
||||
|
||||
<p/>
|
||||
|
||||
<p><a href="index.php?route=group/add"><?php print $text_add_new_group; ?></a></p>
|
||||
|
||||
<h4><?php print $text_existing_groups; ?></h4>
|
||||
|
||||
<form method="post" name="search1" class="form-search" action="index.php?route=group/list">
|
||||
<input type="text" name="search" value="<?php print $search; ?>" />
|
||||
<input type="submit" class="btn btn-primary" value="<?php print $text_search; ?>" />
|
||||
</form>
|
||||
|
||||
|
||||
<p> </p>
|
||||
|
||||
<?php if(isset($groups) && count($groups) > 0){ ?>
|
||||
|
||||
<div id="pagenav">
|
||||
<?php if($page > 0){ ?><a href="index.php?route=group/list&page=0&search=<?php print $search; ?>&sort=<?php print $sort; ?>&order=<?php print $order; ?>" class="navlink"><?php } ?> « <?php if($page > 0){ ?></a><?php } ?>
|
||||
<?php if($page > 0){ ?><a href="index.php?route=group/list&page=<?php print $prev_page; ?>&search=<?php print $search; ?>&sort=<?php print $sort; ?>&order=<?php print $order; ?>" class="navlink"><?php } ?> ‹ <?php if($page > 0){ ?></a><?php } ?>
|
||||
<?php print $groups[0][$sort]; ?> - <?php print $groups[count($groups)-1][$sort]; ?>
|
||||
<?php if($total_groups >= $page_len*($page+1) && $total_groups > $page_len){ ?><a href="index.php?route=group/list&page=<?php print $next_page; ?>&search=<?php print $search; ?>&sort=<?php print $sort; ?>&order=<?php print $order; ?>" class="navlink"><?php } ?> › <?php if($total_groups >= $page_len*($page+1) && $total_groups > $page_len){ ?></a><?php } ?>
|
||||
<?php if($page < $total_pages){ ?><a href="index.php?route=group/list&page=<?php print $total_pages; ?>&search=<?php print $search; ?>&sort=<?php print $sort; ?>&order=<?php print $order; ?>" class="navlink"><?php } ?> » <?php if($page < $total_pages){ ?></a><?php } ?>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="ss1">
|
||||
<div class="domainrow">
|
||||
<div class="domaincell"><?php print $text_groupname; ?> <a href="index.php?route=group/list&sort=groupname&order=0"><img src="<?php print ICON_ARROW_UP; ?>" border="0"></a> <a href="index.php?route=group/list&sort=groupname&order=1"><img src="<?php print ICON_ARROW_DOWN; ?>" border="0"></a></div>
|
||||
<div class="domaincell"> </div>
|
||||
<div class="domaincell"> </div>
|
||||
</div>
|
||||
|
||||
<?php foreach($groups as $group) { ?>
|
||||
<div class="domainrow">
|
||||
<div class="domaincell"><?php print $group['groupname']; ?></div>
|
||||
<div class="domaincell"><a href="index.php?route=group/edit&id=<?php print $group['id']; ?>"><?php print $text_edit_or_view; ?></a></div>
|
||||
<div class="domaincell"><a href="index.php?route=group/remove&confirmed=1&id=<?php print $group['id']; ?>" onclick="if(confirm('<?php print $text_remove_this_group; ?>: ' + '\'<?php print $group['groupname']; ?>\'')) return true; return false;"><?php print $text_remove; ?></a></div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div id="pagenav">
|
||||
<?php if($page > 0){ ?><a href="index.php?route=group/list&page=0&search=<?php print $search; ?>&sort=<?php print $sort; ?>&order=<?php print $order; ?>" class="navlink"><?php } ?> « <?php if($page > 0){ ?></a><?php } ?>
|
||||
<?php if($page > 0){ ?><a href="index.php?route=group/list&page=<?php print $prev_page; ?>&search=<?php print $search; ?>&sort=<?php print $sort; ?>&order=<?php print $order; ?>" class="navlink"><?php } ?> ‹ <?php if($page > 0){ ?></a><?php } ?>
|
||||
<?php print $groups[0][$sort]; ?> - <?php print $groups[count($groups)-1][$sort]; ?>
|
||||
<?php if($total_groups >= $page_len*($page+1) && $total_groups > $page_len){ ?><a href="index.php?route=group/list&page=<?php print $next_page; ?>&search=<?php print $search; ?>&sort=<?php print $sort; ?>&order=<?php print $order; ?>" class="navlink"><?php } ?> › <?php if($total_groups >= $page_len*($page+1) && $total_groups > $page_len){ ?></a><?php } ?>
|
||||
<?php if($page < $total_pages){ ?><a href="index.php?route=group/list&page=<?php print $total_pages; ?>&search=<?php print $search; ?>&sort=<?php print $sort; ?>&order=<?php print $order; ?>" class="navlink"><?php } ?> » <?php if($page < $total_pages){ ?></a><?php } ?>
|
||||
</div>
|
||||
|
||||
|
||||
<?php } else { ?>
|
||||
<?php print $text_not_found; ?>
|
||||
<?php } ?>
|
||||
|
||||
|
13
webui/view/theme/orig/templates/group/remove.tpl
Normal file
@ -0,0 +1,13 @@
|
||||
|
||||
<p>
|
||||
|
||||
<?php if($confirmed){ ?>
|
||||
|
||||
<?php print $x; ?>. <a href="index.php?route=group/list"><?php print $text_back; ?></a>
|
||||
|
||||
<?php } else { ?>
|
||||
<a href="index.php?route=group/remove&id=<?php print $id; ?>&group=<?php print $group; ?>&confirmed=1"><?php print $text_remove_this_group; ?>: <?php print $group; ?></a>
|
||||
<?php } ?>
|
||||
|
||||
</p>
|
||||
|
108
webui/view/theme/orig/templates/health/daily-report.tpl
Normal file
@ -0,0 +1,108 @@
|
||||
<html>
|
||||
<head>
|
||||
<title><?php print $text_daily_piler_report; ?>, <?php print $date; ?></title>
|
||||
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
||||
<meta http-equiv="Content-Language" content="<?php print getenv("LANG"); ?>" />
|
||||
|
||||
<style type="text/css">
|
||||
.row { display: table-row; }
|
||||
|
||||
#health1 { display: table-cell; margin-top: 10px; margin-bottom: 0; }
|
||||
#health2 { display: table-cell; text-align: right; }
|
||||
|
||||
.cellhealthleft { display: table-cell; height: 25px; text-align: left; padding: 3px; font: bold 12px Arial, sans-serif; }
|
||||
.cellhealthright { display: table-cell; height: 25px; text-align: left; padding: 3px; font: normal 12px Arial, sans-serif; }
|
||||
|
||||
#health1 .ok { color: green; font-weight: bold; }
|
||||
#health1 .error { color: red; font-weight: bold; }
|
||||
|
||||
</style>
|
||||
|
||||
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<h1><?php print $text_daily_piler_report; ?>, <?php print $date; ?></h1>
|
||||
|
||||
<div id="search">
|
||||
|
||||
<div id="health1">
|
||||
|
||||
|
||||
<div class="row">
|
||||
<div class="cellhealthleft"><?php print $text_server_name; ?>:</div>
|
||||
<div class="cellhealthright"><?php print $sysinfo[0]; ?></div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="cellhealthleft"><?php print $text_server_operating_system; ?>:</div>
|
||||
<div class="cellhealthright"><?php print $sysinfo[1]; ?></div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="cellhealthleft"><?php print $text_uptime; ?>:</div>
|
||||
<div class="cellhealthright"><?php print $uptime; ?></div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="cellhealthleft"><?php print $text_archive_size; ?>:</div>
|
||||
<div class="cellhealthright"><?php print $archive_size; ?>B</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="cellhealthleft"><?php print $text_smtp_status; ?>:</div>
|
||||
<div class="cellhealthright">
|
||||
<?php foreach($_health as $h) {
|
||||
if(preg_match("/^220/", $h[1])) {
|
||||
$status = 'OK'; $class = 'ok';
|
||||
} else {
|
||||
$status = 'ERROR'; $class = 'error';
|
||||
}
|
||||
?>
|
||||
<div class="<?php print $class; ?>"><?php print $h[3]; ?>: <?php print $status; ?> (<?php print $h[1]; ?>, <?php print $h[2]; ?>)</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="row">
|
||||
<div class="cellhealthleft"><?php print $text_processed_emails; ?>:</div>
|
||||
<div class="cellhealthright"><?php print $processed_emails[0]; ?> (<?php print $text_24_hours; ?>)<br /><?php print $processed_emails[1]; ?> (<?php print $text_1_week; ?>)<br /><?php print $processed_emails[2]; ?> (<?php print $text_30_days; ?>)</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="cellhealthleft"><?php print $text_cpu_usage; ?>:</div>
|
||||
<div class="cellhealthright"><span class="<?php if($cpuinfo < HEALTH_RATIO) { ?>ok<?php } else { ?>error<?php } ?>"><?php print $cpuinfo; ?>% <?php print $cpuload; ?></span></div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="cellhealthleft"><?php print $text_memory_usage; ?>:</div>
|
||||
<div class="cellhealthright"><span class="<?php if($meminfo < HEALTH_RATIO) { ?>ok<?php } else { ?>error<?php } ?>"><?php print $meminfo; ?>% / <?php print $totalmem; ?> MB</span></div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="cellhealthleft"><?php print $text_swap_usage; ?></div>
|
||||
<div class="cellhealthright"><span class="<?php if($swapinfo < HEALTH_RATIO) { ?>ok<?php } else { ?>error<?php } ?>"><?php print $swapinfo; ?>% / <?php print $totalswap; ?> MB</span></div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="cellhealthleft"><?php print $text_disk_usage; ?></div>
|
||||
<div class="cellhealthright"><?php foreach($shortdiskinfo as $partition) { ?><span class="<?php if($partition['utilization'] < HEALTH_RATIO) { ?>ok<?php } else { ?>error<?php } ?>"><?php print $partition['partition']; ?> <?php print $partition['utilization']; ?>%</span> <?php } ?></div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="cellhealthleft"><?php print $text_space_projection; ?></div>
|
||||
<div class="cellhealthright">
|
||||
<?php print $averagemessages; ?> (<?php print $text_average_messages_day; ?>)<br/>
|
||||
<?php print $averagemessagesize; ?> + <?php print $averagesqlsize; ?> + <?php print $averagesphinxsize; ?> (<?php print $text_average_message_size; ?>)<br/>
|
||||
<?php print $averagesizeday; ?> (<?php print $text_average_size_day; ?>)<br/>
|
||||
<?php print $daysleftatcurrentrate[0]; ?> years, <?php print $daysleftatcurrentrate[1]; ?> months, <?php print $daysleftatcurrentrate[2]; ?> days ("<?php print DATA_PARTITION; ?>" <?php print $text_partition_full; ?>)<br/>
|
||||
<?php if ( $usagetrend > 0 ) { print $text_usage_increasing; } elseif( $usagetrend < 0 ) { print $text_usage_decreasing; } else { print $text_usage_neutral; } ?> (<?php print $text_usage_trend; ?>)<br/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div></div>
|
||||
|
||||
</body>
|
||||
</html>
|
1
webui/view/theme/orig/templates/health/health.tpl
Normal file
@ -0,0 +1 @@
|
||||
<span id="A1"><?php print $text_loading; ?> . . .</span>
|
145
webui/view/theme/orig/templates/health/worker.tpl
Normal file
@ -0,0 +1,145 @@
|
||||
<div id="search">
|
||||
|
||||
<div id="health1">
|
||||
|
||||
<div class="row">
|
||||
<div class="cellhealthleft"><?php print $text_refresh_period; ?>:</div>
|
||||
<div class="cellhealthright"><?php print HEALTH_REFRESH; ?> sec</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="cellhealthleft"><?php print $text_server_name; ?>:</div>
|
||||
<div class="cellhealthright"><?php print $sysinfo[0]; ?></div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="cellhealthleft"><?php print $text_server_operating_system; ?>:</div>
|
||||
<div class="cellhealthright"><?php print $sysinfo[1]; ?></div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="cellhealthleft"><?php print $text_uptime; ?>:</div>
|
||||
<div class="cellhealthright"><?php print $uptime; ?></div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="cellhealthleft"><?php print $text_archive_size; ?>:</div>
|
||||
<div class="cellhealthright"><?php print $archive_size; ?>B</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="cellhealthleft"><?php print $text_smtp_status; ?>:</div>
|
||||
<div class="cellhealthright">
|
||||
<?php foreach($health as $h) {
|
||||
if(preg_match("/^220/", $h[1])) {
|
||||
$status = 'OK'; $class = 'text-success';
|
||||
} else {
|
||||
$status = 'ERROR'; $class = 'text-error';
|
||||
}
|
||||
?>
|
||||
<div class="bold <?php print $class; ?>"><span><?php print $h[3]; ?>: <?php print $status; ?></span></div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="row">
|
||||
<div class="cellhealthleft"><?php print $text_processed_emails; ?>:</div>
|
||||
<div class="cellhealthright"><?php print $processed_emails[0]; ?> (<?php print $text_24_hours; ?>)<br /><?php print $processed_emails[1]; ?> (<?php print $text_1_week; ?>)<br /><?php print $processed_emails[2]; ?> (<?php print $text_30_days; ?>)</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="cellhealthleft"><?php print $text_cpu_usage; ?>:</div>
|
||||
<div class="cellhealthright"><span class="bold <?php if($cpuinfo < HEALTH_RATIO) { ?>text-success<?php } else { ?>text-error<?php } ?>"><?php print $cpuinfo; ?>% <?php print $cpuload; ?></span></div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="cellhealthleft"><?php print $text_memory_usage; ?>:</div>
|
||||
<div class="cellhealthright"><span class="bold <?php if($meminfo < HEALTH_RATIO) { ?>text-success<?php } else { ?>text-error<?php } ?>"><?php print $meminfo; ?>% / <?php print $totalmem; ?> MB</span></div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="cellhealthleft"><?php print $text_swap_usage; ?></div>
|
||||
<div class="cellhealthright"><span class="bold <?php if($swapinfo < HEALTH_RATIO) { ?>text-success<?php } else { ?>text-error<?php } ?>"><?php print $swapinfo; ?>% / <?php print $totalswap; ?> MB</span></div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="cellhealthleft"><?php print $text_disk_usage; ?></div>
|
||||
<div class="cellhealthright"><?php foreach($shortdiskinfo as $partition) { ?><span class="bold <?php if($partition['utilization'] < HEALTH_RATIO) { ?>text-success<?php } else { ?>text-error<?php } ?>"><?php print $partition['partition']; ?> <?php print $partition['utilization']; ?>%</span> <?php } ?></div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="cellhealthleft"><?php print $text_periodic_purge; ?></div>
|
||||
<div class="cellhealthright"><span class="bold <?php if($options['enable_purge'] == 1) { ?>text-success<?php } else { ?>text-error<?php } ?>"><?php if($options['enable_purge'] == 1) { print $text_enabled; ?>. <a href="<?php print HEALTH_URL; ?>&toggle_enable_purge"><?php print $text_disable; ?></a><?php } else { print $text_disabled; ?>. <a href="<?php print HEALTH_URL; ?>&toggle_enable_purge"><?php print $text_enable; ?></a><?php } ?> </span></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="row">
|
||||
<div class="cellhealthleft"><?php print $text_counters; ?></div>
|
||||
<div class="cellhealthright">
|
||||
<?php while(list($k, $v) = each($counters)) {
|
||||
if(!is_numeric($k)) { ?>
|
||||
<div class="row">
|
||||
<div class="cellhealthright"><?php $a = preg_replace("/^_piler\:/", "", $k); if(isset($$a)) { print $$a; } else { print $k; } ?></div>
|
||||
<div class="cellhealthright"><?php print $v; ?></div>
|
||||
</div>
|
||||
<?php } } ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="cellhealthleft"><?php print $text_space_projection; ?></div>
|
||||
<div class="cellhealthright">
|
||||
<div class="row">
|
||||
<div class="cellhealthright"><?php print $text_average_messages_day; ?></div>
|
||||
<div class="cellhealthright"><?php print $averagemessages; ?></div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="cellhealthright"><?php print $text_average_message_size; ?></div>
|
||||
<div class="cellhealthright"><?php print $averagemessagesize; ?> + <?php print $averagesqlsize; ?> + <?php print $averagesphinxsize; ?></div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="cellhealthright"><?php print $text_average_size_day; ?></div>
|
||||
<div class="cellhealthright"><?php print $averagesizeday; ?></div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="cellhealthright">"<?php print DATA_PARTITION; ?>" <?php print $text_partition_full; ?></div>
|
||||
<div class="cellhealthright"><?php print $daysleftatcurrentrate[0]; ?> <?php print $text_years; ?>, <?php print $daysleftatcurrentrate[1]; ?> <?php print $text_months; ?>, <?php print $daysleftatcurrentrate[2]; ?> <?php print $text_days2; ?></div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="cellhealthright"><?php print $text_usage_trend; ?></div>
|
||||
<div class="cellhealthright"><?php if ( $usagetrend > 0 ) { print $text_usage_increasing; } elseif( $usagetrend < 0 ) { print $text_usage_decreasing; } else { print $text_usage_neutral; } ?></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div id="health2">
|
||||
<?php if(isset($queues)) { ?>
|
||||
<div class="row">
|
||||
<div class="cellhealthleft"><?php print $text_queue_status; ?></div>
|
||||
</div>
|
||||
|
||||
<?php foreach ($queues as $queue) {
|
||||
|
||||
if(isset($queue['desc'])) { ?>
|
||||
|
||||
<div class="row">
|
||||
<div class="cellhealthleft"><?php print $queue['desc']; ?></div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="cellhealthright"><pre><?php print $queue['lines']; ?></pre></div>
|
||||
</div>
|
||||
|
||||
<?php }
|
||||
} ?>
|
||||
|
||||
<?php } ?>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|