changed the gui to use twitter's bootstrap

This commit is contained in:
SJ
2013-03-29 18:05:58 +01:00
parent 8e4dda968a
commit 324ee0c4ce
38 changed files with 9970 additions and 445 deletions

View File

@ -142,7 +142,7 @@ var Piler =
.fail(function( a, b )// jqXHR, textStatus, errorThrown
{
alert("Problem retrieving XML data:" + b)
});
});
},
@ -219,6 +219,8 @@ var Piler =
{
Piler.log("[view_message]", pos, Piler.Messages[pos]);
if(pos == -1) return false;
id = Piler.Messages[pos];
Piler.pos = pos;
@ -318,7 +320,9 @@ var Piler =
var idlist = Piler.get_selected_messages_list();
if(!idlist) return;
Piler.log("[tag_search_results, idlist]", idlist);
if(!idlist) return false;
jQuery.ajax('index.php?route=search/tag', {
data: { tag: encodeURI($('#tag_value').val()), idlist: idlist },
@ -377,7 +381,7 @@ var Piler =
{
Piler.log("[fill_current_messages_array]" );
var z = $('#results').children(), y = z.length, x;
var z = $('#results tbody').children(), y = z.length, x;
var u = [];
Piler.log("[fill_current_messages_array] y", y );
@ -386,7 +390,7 @@ var Piler =
{
x = z[i];
if ( x.nodeName == "DIV" && x.id.charAt( 0 ) == 'e' && x.id.charAt( 1 ) == '_' )
if ( x.nodeName == "TR" && x.id.charAt( 0 ) == 'e' && x.id.charAt( 1 ) == '_' )
{
Piler.log("[fill_current_messages_array], pos/id", i, x.id.substring(2, 1000));

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

View File

@ -1,56 +0,0 @@
#taskbar { position: absolute; top: 0px; right: 0px; height: 24px; width: 100%; padding: 10px 4px 5px 0px; text-align: right; white-space: nowrap; z-index: 2; }
#header { position: absolute; top: 8px; left: 19px; width: 170px; height: 40px; z-index: 100; }
#mainscreen { position: absolute; top: 110px; 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: hidden; }
.boxtitle { height: 12px !important; padding: 2px 10px 5px 5px; border-bottom: 1px solid #999; color: #333; font-size: 11px; font-weight: bold; overflow: hidden; }
.boxlistcontent { position: absolute; top: 5px; bottom: 22px; 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; height: 15px; border-top: 1px solid #999; background: url(/view/theme/default/images/listheader.gif) top left repeat-x #CCC; border: 1px solid black; }
#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; }
#messagecontframe { position: relative; top: 0px; left: 0px; right: 0px; bottom: 0px; width: 100%; height: 100%; }
.boxfooter a.button,
.boxfooter a.buttonPas
{
display: block;
float: left;
width: 34px;
height: 22px;
padding: 0px;
margin: 0;
overflow: hidden;
background: url(/view/theme/default/images/groupactions.png) 0 0 no-repeat transparent;
opacity: 0.99; /* this is needed to make buttons appear correctly in Chrome */
}
.boxfooter a.groupactions
{
background-position: 0 -26px;
}
.boxfooter a.buttonPas
{
opacity: 0.35;
}
.splitter { user-select: none; -moz-user-select: none; -khtml-user-select: none; position: absolute; background: url(/view/theme/default/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; }

View File

@ -5,76 +5,60 @@
p { margin: 0 0 10px 0; }
.loginfailed { color: red; font: normal 19px Arial, sans-serif; }
.mybody { background-color: #6D6D6D; color: #3d3d3d; }
body { background-color: #6D6D6D; margin: 0 auto; padding: 15px 0; text-align: center; font: normal 12px Arial, sans-serif; color: #3d3d3d; }
#piler1 { width: 1200px; min-height: 830px; background: #ffffff; border: 3px solid black; position: relative; margin-left: auto; margin-right: auto; height: auto; }
/*#piler1 { width: 1200px; min-height: 830px; background: #ffffff; border: 3px solid black; position: relative; margin-left: auto; margin-right: auto; height: auto; padding-top: 0px; }*/
#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: 25px; 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; }
#wrap { position: relative; margin: 0 auto; padding: 0; width: 1270px; background-color: white; border: 3px solid black; text-align: left; }
/*#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 { display: table; margin: 0px 10px 15px 20px; padding: 10px 0 0px 0px; width: 1160px; border-bottom: 1px solid gray; }
#menu .leftcell { display: table-cell; width: 490px; text-align: justify; }
#menu .rightcell { display: table-cell; width: 490px; text-align: right; font: normal 12px Arial, sans-serif; margin: 0; padding: 0; }
#menu .logout22 { float: right; text-align: right; }
#menu a:link.logout, a:visited.logout { color: #222; }
#menu a:hover.logout { background: #F3D673; }
#menu { height: 40px; border: 0px solid red; }
#menu a:hover, #menu a:active { color: #850505; }
#menu ul { list-style: none; margin: 0; padding: 0; }
#menu li { background-image: none; font: normal 12px Arial, sans-serif; }
#menu a:hover, #menu a:active { color: #850505; }
#menu #active { color: #850505; font-weight: bold; }
#main { margin: 0px 40px 20px 40px; width: 100%; text-align: left; float: left; clear: both; }
.slick { margin:0; padding:0; }
.center { text-align: center; }
/*#main { margin: 0px 40px 20px 40px; width: 990px; float: left; clear: both; }*/
#main { margin: 0px 40px 20px 40px; width: 1160px; text-align: left; float: left; clear: both; }
.aoo { cursor: pointer; position: absolute; left: 520px; top: 0px; width: 10px; margin-left: -5px; }
.aoq { height: 4px; padding: 11px 5px; width: 7px; background: url("/view/theme/default/images/dark-grey-disclosure-arrow-down.png") no-repeat scroll center center transparent; }
#expertsearchOBSOLETED { position: absolute; border: 1px solid black; right: 20px; left: 20px; text-align: right; }
#expertsearch2 { position: absolute; border: 1px solid black; right: 20px; left: 20px; text-align: left; }
#expertsearch { position: absolute; border: 0px solid black; right: 20px; left: 20px; text-align: left; font: normal 19px Arial, sans-serif; }
#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: 1160px; border: 1px solid #999; top: 80px; right: 20px; left: 20px; text-align: right; display: table; }
#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 { margin: 0; padding: 10px 0 10px 0; font: bold 19px Arial, sans-serif; color: #850505; }
h4 { margin: 0; padding: 0px 0 0px 0; font: bold 12px Arial, sans-serif; color: #000000; }
h3.title { color: #850505; }
form { padding-top: 0px; margin: 0px; }
.formbottom { margin-bottom: 30px; }
input#date1,input#date2{background-image:url(../images/calendar.png);background-position:right center;background-repeat:no-repeat;color:#000;font: bold 12px Arial, sans-serif;text-align:left;text-indent:6px;width:198px;cursor:pointer;height:15px;}
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; }
#search2 { float: right; width: 490px; margin: 0; text-align: right; border: 0px solid green; }
/*#search2 { float: right; width: 490px; margin: 0; text-align: right; 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; }
/*#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: 1160px; margin-top: 0px; margin-bottom: 0px; border-collapse: collapse; display: table; clear: both; }
#mailrightcontainernofolder { left: 0px; }
#results { float: left; width: 1140px; margin-top: 0px; margin-bottom: 0px; border-collapse: collapse; display: table; clear: both; }
#mailpreviewframe { text-align: left; overflow:auto; }
@ -83,21 +67,10 @@
#download_icon { margin: 0px 0 -2px 0; border: 0px solid black; }
#sspinner { position: absolute; top: 62px; right: 503px; border: 0px solid #999999; color: #000000; font-weight: bold; padding: 15px; z-index: 1; display: none; margin: auto; margin-top: 100px; }
#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; }
#spinner_restore { border: 0px solid red; margin-top: 60px; }
.restore_spinner { text-align: center; border: 0px solid black; }
.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; }
.ruletext { font: normal 12px Arial, sans-serif; font-weight: bold; text-align:left; width: 365px; }
.advtextOBSLETED { font: bold 12px Arial, sans-serif; font-weight: bold; text-align:left; width: 280px; }
.advtext { font: bold 12px Arial, sans-serif; font-weight: bold; text-align:left; width: 528px; margin: 0px; }
.tagtext { font: normal 10px Arial, sans-serif; font-weight: bold; text-align:left; width: 265px; }
.advtextgreyOBSOLETED { font: bold 12px Arial, sans-serif; color: #999; font-weight: bold; text-align:left; width: 280px; }
.advtextgrey2 { font: bold 12px Arial, sans-serif; color: #999; font-weight: bold; text-align:left; width: 528px;margin: 0px; }
.advtextgrey { font: bold 19px Arial, sans-serif; color: #999; font-weight: bold; text-align:left; width: 528px; margin: 0px; }
.textregular { font: normal 12px Arial, sans-serif; font-weight: bold; text-align:left; }
//.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; }
@ -109,27 +82,13 @@
.resultrow.selected { border: 2px solid black; }
.resultrow.spam { color: #aaa; }
.resultcell { display: table-cell; text-align: left; vertical-align:middle; }
.resultcell.restore { width: 15px; }
.resultcell.id { width: 55px; text-align: center; }
.resultcell.date { width: 85px; }
.resultcell.from { width: 235px; }
.resultcell.to { width: 240px; }
.resultcell.subject { width: 360px; }
.resultcell.size { width: 100px; }
.resultcell.end { width: 20px; }
.resultcell.verification { text-align: right; padding-right: 0px; width: 18px; }
.resultcell.header { height: 30px; font: bold 12px Arial, sans-serif; color: black; }
.tcell { display: table-cell; }
.cell1 { display: table-cell; height: 25px; text-align: left; padding: 3px; font: bold 12px Arial, sans-serif; width: 80px; }
.cell1s { display: table-cell; height: 25px; text-align: left; padding: 3px; font: bold 12px Arial, sans-serif; width: 85px; border: 1px solid red; }
/*.cell1q { display: table-cell; height: 25px; text-align: center; padding: 3px; font: bold 12px Arial, sans-serif; width: 50px; border: 1px solid red; }
.cell1r { display: table-cell; height: 25px; text-align: left; padding: 0px; font: bold 12px Arial, sans-serif; width: 15px; vertical-align:middle; border: 1px solid red; }*/
.cell3 { display: table-cell; height: 25px; text-align: left; padding: 0px; padding-top: 3px; font: bold 19px Arial, sans-serif; }
.cell2 { display: table-cell; width: 410px; height: 15px; }
.left { text-align: left; }
.100px { width: 100px; }
//.left { text-align: left; }
//.100px { width: 100px; }
.top20px { margin-top: 20px; }
.listarea { overflow:auto; height: 500px; }
@ -142,9 +101,9 @@
.auditcell.ref { width: 90px; }
.auditcell.header { height: 30px; font: bold 12px Arial, sans-serif; color: black; }
.cellaudit { display: table-cell; height: 14px; text-align: left; font: normal 12px Arial, sans-serif; padding: 0; margin: 0; vertical-align: middle;}
/*.cellaudit { display: table-cell; height: 14px; text-align: left; font: normal 12px Arial, sans-serif; padding: 0; margin: 0; vertical-align: middle;}
.cellaudit.date { width: 120px; }
.cellaudit.title { font: bold 12px Arial, sans-serif;}
.cellaudit.title { font: bold 12px Arial, sans-serif;}*/
#health1 { display: table-cell; margin-top: 10px; margin-bottom: 0; }
#health2 { display: table-cell; text-align: right; }
@ -152,9 +111,6 @@
.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; }
#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; }
@ -163,96 +119,64 @@
#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; }
#tagbox { display: table-cell; float: left; text-align: right; vertical-align: top; width: 725px; border: 0px solid red; }
//#tagbox { display: table-cell; float: left; text-align: right; vertical-align: top; width: 725px; border: 0px solid red; }
.messagelink { border-bottom: 1px solid gray; color: #850505; }
.messagelink.spam { border-bottom: 1px solid gray; color: #aaa; }
#results a:hover { border-bottom: 1px solid gray; color: black; }
.advselect { width: 80px; font: bold 12px Arial, sans-serif; padding: 0; margin:0;}
.advselect2 { width: 205px; font: bold 12px Arial, sans-serif; padding: 0; margin:0;}
.ruleselect { width: 40px; font: bold 12px Arial, sans-serif; padding: 0; margin:0;}
//.restore_to_mailbox { font: normal 12px Arial, sans-serif; color: #850505; padding: 0; margin:0; height: 18px; border: 0px; background: #eee; vertical-align: middle; }
.restore_to_mailbox { font: normal 12px Arial, sans-serif; color: #850505; padding: 0; margin:0; height: 18px; border: 0px; background: #eee; vertical-align: middle; }
button { margin: 0; background-color:gray; font: bold 12px Arial, sans-serif; width:40%; height: 40px; margin-left: 5%; margin-right: 5%; }
button.active { background-color: #850505; color:white; }
#button_search { margin-left: 10px; margin-right: 0px; height: 20px; width: 70px; }
#button_search.popup { height: 40px; width: 100px; margin: 0px; }
.advbutton { margin: 0; background-color: #850505; color: white; font: bold 12px Arial, sans-serif; height: 40px; }
input[type=button].secondary { margin: 0; background-color:#eee; color: gray; font: bold 12px Arial, sans-serif; width: 24%;}
input[type=button].advsecondary { margin: 0; background-color:#eee; color: gray; font: bold 12px Arial, sans-serif; height: 20px; width: 70px; }
input[type=button].advsecondary_complex { margin: 0; background-color:#eee; color: gray; font: bold 12px Arial, sans-serif; width: 70px; }
input[type=button].load { margin: 0; background-color:#eee; color: black; font: bold 12px Arial, sans-serif; width: 17%;}
input[type=button].short { margin: 0; background-color:#eee; color: gray; font: bold 12px Arial, sans-serif; width: 50px;}
input[type=button].tag { margin: 0; background-color:#eee; color: gray; font: normal 10px Arial, sans-serif; }
input[type=button].restore { margin: 0; background-color:yellow; color: black; font: normal 10px Arial, sans-serif; }
input[type=button].restore_to_mailbox_button { margin: 0; background-color:#eee; color: black; font: bold 12px Arial, sans-serif; }
input[type=textarea] { height:80px; }
input[type=checkbox].attachmenttype { margin: 0; vertical-align: middle; }
//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; }
.message_button { vertical-align: middle; font: bold 11px Arial, sans-serif; height:16px; padding:0; margin:0; }:
#note { width: 500px; padding: 0; margin: 0px; color: #000000; }
.mynote { height: 10px; font: 9px Arial, sans-serif; }
//#note { width: 500px; padding: 0; margin: 0px; color: #000000; }
//.mynote { height: 10px; font: 9px Arial, sans-serif; }
.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;}
p.error { margin-bottom: 20px; color: red; font-weight: bold; }
#dhtmltooltip { position: absolute; width: 150px; border: 2px solid black; padding: 2px; background-color: yellow; color: #ffffff; visibility: hidden; z-index: 100; }
//p.error { margin-bottom: 20px; color: red; font-weight: bold; }
.extra_folder { color: #850505; font-weight: bold; border: none; width: 70%; background: transparent; }
.bold { font-weight: bold; }
.left { text-align: left; }
/*
* dropdown menu
*/
.mcell { display: table-cell; vertical-align: top; width: 350px; border: 0px solid red; z-index: 3; }
ul.dropdown { position: relative; }
ul.dropdown li { font-weight: bold; float: left; background: #ffffff; text-align: center; padding-right: 40px; padding-left: 40px; border: 0px solid red; }
/*ul.dropdown li.first_li { font-weight: bold; float: left; background: #ffffff; text-align: left; padding-left:80px; padding-right: 5px; }*/
ul.dropdown li.search_li { font-weight: bold; float: left; background: #ffffff; text-align: center; padding: 0; padding-right: 0px; font: 11px normal Arial, sans-serif; z-index: 5;}
/*ul.dropdown li.no_search_li { font-weight: bold; float: left; background: #ffffff; text-align: center; padding: 0; padding-right: 0px; }*/
/*ul.dropdown li.center_li { font-weight: bold; float: left; background: #ffffff; text-align: center; padding: 0; width: 190px; }*/
ul.dropdown li.last_li { font-weight: bold; float: left; background: #ffffff; text-align: right; padding: 0; text-align: left; font: 11px normal Arial, sans-serif; }
/* rc splitter stuff */
/*ul.dropdown li.admin { font-weight: bold; float: left; background: #ffffff; padding-right: 5px; padding-left: 2px; }
ul.dropdown li.first_li_admin { background: #ffffff; text-align: left; margin-left: 90px; padding-left: 0px; padding-right: 5px; }
ul.dropdown li.last_li_admin { background: #ffffff; text-align: right; padding: 0; }*/
ul.dropdown li.logout { font-weight: bold; float: right; background: #ffffff; width: 100px; text-align: right; }
#mainscreen { position: absolute; top: 90px; right: 20px; bottom: 20px; left: 20px; }
ul.dropdown a:hover { color: #000; }
ul.dropdown a:active { color: #ffa500; }
ul.dropdown li a { padding: 0; color: #222; border-bottom: none; }
ul.dropdown li.hover,
ul.dropdown li:hover { background: #F3D673; color: black; position: relative; }
/*ul.dropdown li.no_search_li:hover { background: #ffffff; color: black; position: relative; }*/
ul.dropdown li.hover a { color: black; }
#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: 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; }
ul.dropdown ul { width: 150px; text-align: left; visibility: hidden; position: absolute; top: 100%; left: 0; }
ul.dropdown ul li { text-align: left; font-weight: normal; background: #f6f6f6; color: #000; border-bottom: 1px solid #ccc; float: none; paddin-left: 3px; }
.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/default/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; }
ul.sub_menu li { padding-left: 10px; padding-right: 10px; width: 140px; }
ul.dropdown ul li a { border-right: none; font: 11px normal Arial, sans-serif; width: 100%; display: inline-block; text-align: left; }
}

View File

@ -30,15 +30,15 @@
<div class="domaincell">&nbsp;</div>
</div>
<div class="domainrow">
<div class="domaincell"><?php echo $viewname; ?> <a href="index.php?route=accounting/accounting&amp;view=<?php echo $view; ?>&amp;sort=item&amp;order=0"><img src="<?php print ICON_ARROW_UP; ?>" border="0"></a> <a href="index.php?route=accounting/accounting&amp;view=<?php echo $view; ?>&amp;sort=item&amp;order=1"><img src="<?php print ICON_ARROW_DOWN; ?>" border="0"></a></div>
<div class="domaincell"><?php print $text_oldest_record; ?> <a href="index.php?route=accounting/accounting&amp;view=<?php echo $view; ?>&amp;sort=oldest&amp;order=0"><img src="<?php print ICON_ARROW_UP; ?>" border="0"></a> <a href="index.php?route=accounting/accounting&amp;view=<?php echo $view; ?>&amp;sort=oldest&amp;order=1"><img src="<?php print ICON_ARROW_DOWN; ?>" border="0"></a></div>
<div class="domaincell"><?php print $text_newest_record; ?> <a href="index.php?route=accounting/accounting&amp;view=<?php echo $view; ?>&amp;sort=newest&amp;order=0"><img src="<?php print ICON_ARROW_UP; ?>" border="0"></a> <a href="index.php?route=accounting/accounting&amp;view=<?php echo $view; ?>&amp;sort=newest&amp;order=1"><img src="<?php print ICON_ARROW_DOWN; ?>" border="0"></a></div>
<div class="domaincell"><?php print $text_items; ?> <a href="index.php?route=accounting/accounting&amp;view=<?php echo $view; ?>&amp;sort=sent&amp;order=0"><img src="<?php print ICON_ARROW_UP; ?>" border="0"></a> <a href="index.php?route=accounting/accounting&amp;view=<?php echo $view; ?>&amp;sort=sent&amp;order=1"><img src="<?php print ICON_ARROW_DOWN; ?>" border="0"></a></div>
<div class="domaincell"><?php print $text_size; ?> <a href="index.php?route=accounting/accounting&amp;view=<?php echo $view; ?>&amp;sort=sentsize&amp;order=0"><img src="<?php print ICON_ARROW_UP; ?>" border="0"></a> <a href="index.php?route=accounting/accounting&amp;view=<?php echo $view; ?>&amp;sort=sentsize&amp;order=1"><img src="<?php print ICON_ARROW_DOWN; ?>" border="0"></a></div>
<div class="domaincell"><?php print $text_average_size; ?> <a href="index.php?route=accounting/accounting&amp;view=<?php echo $view; ?>&amp;sort=sentavg&amp;order=0"><img src="<?php print ICON_ARROW_UP; ?>" border="0"></a> <a href="index.php?route=accounting/accounting&amp;view=<?php echo $view; ?>&amp;sort=sentavg&amp;order=1"><img src="<?php print ICON_ARROW_DOWN; ?>" border="0"></a></div>
<div class="domaincell"><?php print $text_items; ?> <a href="index.php?route=accounting/accounting&amp;view=<?php echo $view; ?>&amp;sort=recd&amp;order=0"><img src="<?php print ICON_ARROW_UP; ?>" border="0"></a> <a href="index.php?route=accounting/accounting&amp;view=<?php echo $view; ?>&amp;sort=recd&amp;order=1"><img src="<?php print ICON_ARROW_DOWN; ?>" border="0"></a></div>
<div class="domaincell"><?php print $text_size; ?> <a href="index.php?route=accounting/accounting&amp;view=<?php echo $view; ?>&amp;sort=recdsize&amp;order=0"><img src="<?php print ICON_ARROW_UP; ?>" border="0"></a> <a href="index.php?route=accounting/accounting&amp;view=<?php echo $view; ?>&amp;sort=recdsize&amp;order=1"><img src="<?php print ICON_ARROW_DOWN; ?>" border="0"></a></div>
<div class="domaincell"><?php print $text_average_size; ?> <a href="index.php?route=accounting/accounting&amp;view=<?php echo $view; ?>&amp;sort=recdavg&amp;order=0"><img src="<?php print ICON_ARROW_UP; ?>" border="0"></a> <a href="index.php?route=accounting/accounting&amp;view=<?php echo $view; ?>&amp;sort=recdavg&amp;order=1"><img src="<?php print ICON_ARROW_DOWN; ?>" border="0"></a></div>
<div class="domaincell"><?php echo $viewname; ?> <a href="index.php?route=accounting/accounting&amp;view=<?php echo $view; ?>&amp;sort=item&amp;order=0"><i class="icon-chevron-up"></i></a> <a href="index.php?route=accounting/accounting&amp;view=<?php echo $view; ?>&amp;sort=item&amp;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&amp;view=<?php echo $view; ?>&amp;sort=oldest&amp;order=0"><i class="icon-chevron-up"></i></a> <a href="index.php?route=accounting/accounting&amp;view=<?php echo $view; ?>&amp;sort=oldest&amp;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&amp;view=<?php echo $view; ?>&amp;sort=newest&amp;order=0"><i class="icon-chevron-up"></i></a> <a href="index.php?route=accounting/accounting&amp;view=<?php echo $view; ?>&amp;sort=newest&amp;order=1"><i class="icon-chevron-down"></i></a></div>
<div class="domaincell"><?php print $text_items; ?> <a href="index.php?route=accounting/accounting&amp;view=<?php echo $view; ?>&amp;sort=sent&amp;order=0"><i class="icon-chevron-up"></i></a> <a href="index.php?route=accounting/accounting&amp;view=<?php echo $view; ?>&amp;sort=sent&amp;order=1"><i class="icon-chevron-down"></i></a></div>
<div class="domaincell"><?php print $text_size; ?> <a href="index.php?route=accounting/accounting&amp;view=<?php echo $view; ?>&amp;sort=sentsize&amp;order=0"><i class="icon-chevron-up"></i></a> <a href="index.php?route=accounting/accounting&amp;view=<?php echo $view; ?>&amp;sort=sentsize&amp;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&amp;view=<?php echo $view; ?>&amp;sort=sentavg&amp;order=0"><i class="icon-chevron-up"></i></a> <a href="index.php?route=accounting/accounting&amp;view=<?php echo $view; ?>&amp;sort=sentavg&amp;order=1"><i class="icon-chevron-down"></i></a></div>
<div class="domaincell"><?php print $text_items; ?> <a href="index.php?route=accounting/accounting&amp;view=<?php echo $view; ?>&amp;sort=recd&amp;order=0"><i class="icon-chevron-up"></i></a> <a href="index.php?route=accounting/accounting&amp;view=<?php echo $view; ?>&amp;sort=recd&amp;order=1"><i class="icon-chevron-down"></i></a></div>
<div class="domaincell"><?php print $text_size; ?> <a href="index.php?route=accounting/accounting&amp;view=<?php echo $view; ?>&amp;sort=recdsize&amp;order=0"><i class="icon-chevron-up"></i></a> <a href="index.php?route=accounting/accounting&amp;view=<?php echo $view; ?>&amp;sort=recdsize&amp;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&amp;view=<?php echo $view; ?>&amp;sort=recdavg&amp;order=0"><i class="icon-chevron-up"></i></a> <a href="index.php?route=accounting/accounting&amp;view=<?php echo $view; ?>&amp;sort=recdavg&amp;order=1"><i class="icon-chevron-down"></i></a></div>
</div>
<?php foreach($accounting as $details) {?>

View File

@ -15,7 +15,10 @@
</div>
<?php } } else { ?>
<div class="cell3 error"><?php print $text_empty_search_result; ?></div>
<div class="alert">
<strong><?php print $text_empty_search_result; ?></strong>
</div>
<?php } ?>
</div>

View File

@ -1,3 +1,3 @@
<p><?php print $errorstring; ?></p>
<p class="text-error bold"><?php print $errorstring; ?></p>

View File

@ -10,21 +10,26 @@
<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/default/stylesheet/jquery-ui-custom.min.css" />
<link rel="stylesheet" type="text/css" href="/view/theme/default/stylesheet/rc-splitter.css" />
<link rel="stylesheet" type="text/css" href="/view/theme/default/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="/bootstrap/js/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 onload="Piler.add_shortcuts();">
<body class="mybody" onload="Piler.add_shortcuts();">
<div id="messagebox1"></div>
<div id="piler1">
<div id="piler1" class="container">
<div id="menu">
@ -37,10 +42,10 @@
<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="advtextgrey" value="" placeholder="<?php print $text_enter_search_terms; ?>" onclick="Piler.toggle_search_class();" />
<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="active" onclick="Piler.auditexpert(this);"><?php print $text_search; ?></button>
<input type="button" class="advsecondary" onclick="Piler.cancel();" value="<?php print $text_cancel; ?>" />
<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/default/images/spinner.gif" id="spinner" alt="spinner" />

View File

@ -10,25 +10,29 @@
<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/default/stylesheet/jquery-ui-custom.min.css" />
<link rel="stylesheet" type="text/css" href="/view/theme/default/stylesheet/rc-splitter.css" />
<link rel="stylesheet" type="text/css" href="/view/theme/default/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="/bootstrap/js/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 onload="Piler.add_shortcuts();">
<body class="mybody" onload="Piler.add_shortcuts();">
<div id="messagebox1"></div>
<div id="piler1">
<div id="piler1" class="container">
<div id="menu">
<?php print $menu; ?>
<?php print $menu; ?>
</div>
<div id="expertsearch">
@ -39,64 +43,26 @@
<input type="hidden" name="ref" id="ref" value="" />
<input type="hidden" name="prefix" id="prefix" value="" />
<input type="text" id="_search" name="_search" class="advtextgrey" value="" placeholder="<?php print $text_enter_search_terms; ?>" onclick="Piler.toggle_search_class();" />
<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 id="button_search" class="active" onclick="Piler.expert(this);"><?php print $text_search; ?></button>
<input type="button" class="advsecondary" onclick="Piler.cancel();" value="<?php print $text_cancel; ?>" />
<input type="button" class="advsecondary" onclick="Piler.saved_search_terms('<?php print $text_saved; ?>');" value="<?php print $text_save; ?>" />
<input type="button" class="advsecondary" onclick="Piler.load_saved_search_terms();" value="<?php print $text_load; ?>" />
<button class="btn" onclick="$('#searchpopup1').show(); return false;"><?php print $text_advanced_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">
<img src="/view/theme/default/images/spinner.gif" id="spinner" alt="spinner" />
<div class="progress progress-striped active">
<div class="bar" style="width: 100%;"></div>
</div>
</div>
</div>
<div id="resultsheader">
<div id="resultstop">
<div class="resultrow">
<div class="resultcell restore"><input type="checkbox" id="bulkcheck" name="bulkcheck" value="1" <?php if(SEARCH_RESULT_CHECKBOX_CHECKED == 1) { ?>checked="checked"<?php } ?> class="restorebox" onclick="Piler.toggle_bulk_check();" /></div>
<div class="resultcell id"><a href="#"><img class="download_icon" src="<?php print ICON_DOWNLOAD; ?>" width="18" height="18" alt="aaa" border="0" onclick="Piler.download_messages();" /></a></div>
<div class="resultcell 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="resultcell from header">
<?php print $text_from; ?>
<a xid="from" xorder="1" onclick="Piler.changeOrder(this);"><img src="<?php print ICON_ARROW_UP; ?>" alt="" border="0"></a>
<a xid="from" xorder="0" onclick="Piler.changeOrder(this);"><img src="<?php print ICON_ARROW_DOWN; ?>" alt="" border="0"></a>
</div>
<div class="resultcell to header">
<?php print $text_to; ?>
</div>
<div class="resultcell subject header">
<?php print $text_subject; ?>
<a xid="subj" xorder="1" onclick="Piler.changeOrder(this);"><img src="<?php print ICON_ARROW_UP; ?>" alt="" border="0"></a>
<a xid="subj" xorder="0" onclick="Piler.changeOrder(this);"><img src="<?php print ICON_ARROW_DOWN; ?>" alt="" border="0"></a>
</div>
<div class="resultcell size header">
<?php print $text_size; ?>
<a xid="size" xorder="1" onclick="Piler.changeOrder(this);"><img src="<?php print ICON_ARROW_UP; ?>" alt="" border="0"></a>
<a xid="size" xorder="0" onclick="Piler.changeOrder(this);"><img src="<?php print ICON_ARROW_DOWN; ?>" alt="" border="0"></a>
</div>
<div class="resultcell end">&nbsp;</div>
<div class="resultcell end">&nbsp;</div>
<div class="resultcell end">&nbsp;</div>
<?php if(ENABLE_ON_THE_FLY_VERIFICATION == 1) { ?>
<div class="resultcell verification">&nbsp;</div>
<?php } ?>
</div>
</div>
</div>
<div id="mainscreen">

View File

@ -10,25 +10,33 @@
<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/default/stylesheet/jquery-ui-custom.min.css" />
<link rel="stylesheet" type="text/css" href="/view/theme/default/stylesheet/rc-splitter.css" />
<link rel="stylesheet" type="text/css" href="/view/theme/default/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="/bootstrap/js/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<?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 } ?>>
<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">
<div id="piler1" class="container">
<div id="menu"><?php print $menu; ?></div>
<div id="menu">
<?php print $menu; ?>
</div>
<div id="main" align="center">
<?php if($title) { ?><h3><?php print $title; ?></h3><?php } ?>
<?php if($title) { ?><h3 class="title"><?php print $title; ?></h3><?php } ?>
<?php print $content; ?>

View File

@ -1,18 +1,63 @@
<?php if(Registry::get('username')) { ?>
<div class="logout22">
<a href="search.php"<?php if($_SERVER['REQUEST_URI'] == '/' || strstr($_SERVER['REQUEST_URI'], "search.php")){ ?> id="active"<?php } ?>><?php print $text_search; ?></a> |
<?php if(ENABLE_FOLDER_RESTRICTIONS == 1) { ?>
<a href="folders.php"<?php if(strstr($_SERVER['REQUEST_URI'], "folders.php")){ ?> id="active"<?php } ?>><?php print $text_folders; ?></a> |
<?php } ?>
<a href="settings.php"<?php if(strstr($_SERVER['REQUEST_URI'], "settings.php")){ ?> id="active"<?php } ?>><?php print $text_settings; ?></a> |
<?php if(HELPER_URL) { ?>
<a href="<?php print HELPER_URL; ?>"><?php print $text_help; ?></a> |
<?php } ?>
<?php if(isset($_SESSION['realname'])) { print $text_realname; ?>: <?php print $_SESSION['realname']; ?> | <?php } ?>
<a href="logout.php"<?php if(strstr($_SERVER['QUERY_STRING'], "login/logout")){ ?> id="active"<?php } ?>><?php print $text_logout; ?></a>
</div>
<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&timespan=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 } ?>
</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 } ?>

View File

@ -14,7 +14,7 @@
</div>
<div class="row">
<div class="domaincell">&nbsp;</div>
<div class="domaincell"><input type="submit" value="<?php print $text_add; ?>" /> <input type="reset" value="<?php print $text_cancel; ?>" /></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>
@ -38,7 +38,7 @@
<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&amp;domain=<?php print urlencode($domain['domain']); ?>"><?php print $text_remove; ?></a></div>
<div class="domaincell"><a href="index.php?route=domain/remove&amp;confirmed=1&amp;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 } ?>

View File

@ -1,5 +1,5 @@
<?php if(isset($errorstring)){ ?><p class="loginfailed"><?php print $text_error; ?>: <?php print $errorstring; ?></p><?php } ?>
<?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">
@ -8,17 +8,17 @@
<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="text" /></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" value="<?php print $text_search_email_to_add; ?>" class="autocompletetext" onfocus="Piler.toggle_hint('s_piler_email', '<?php print $text_search_email_to_add; ?>', 1);" onblur="Piler.toggle_hint('s_piler_email', '<?php print $text_search_email_to_add; ?>', 0);" /></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="domain"><?php if(isset($post['email'])){ print $post['email']; } ?></textarea></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>
@ -34,7 +34,7 @@
<div class="domainrow">
<div class="domaincell">&nbsp;</div>
<div class="domaincell"><input type="submit" value="<?php print $text_add; ?>" /><input type="reset" value="<?php print $text_cancel; ?>" /></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>

View File

@ -1,5 +1,5 @@
<?php if(isset($errorstring)){ ?><p class="loginfailed"><?php print $text_error; ?>: <?php print $errorstring; ?></p><?php } ?>
<?php if(isset($errorstring)){ ?><p class="text-error bold"><?php print $text_error; ?>: <?php print $errorstring; ?></p><?php } ?>
<?php if(isset($group)) { ?>
@ -10,17 +10,17 @@
<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="text" /></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" value="<?php print $text_search_email_to_add; ?>" class="autocompletetext" onfocus="Piler.toggle_hint('s_piler_email', '<?php print $text_search_email_to_add; ?>', 1);" onblur="Piler.toggle_hint('s_piler_email', '<?php print $text_search_email_to_add; ?>', 0);" /></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="domain"><?php if(isset($email)){ print $email; } ?></textarea></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>
@ -35,7 +35,7 @@
<div class="domainrow">
<div class="domaincell">&nbsp;</div>
<div class="domaincell"><input type="submit" value="<?php print $text_modify; ?>" /><input type="reset" value="<?php print $text_cancel; ?>" /></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>
@ -44,8 +44,6 @@
</form>
<p>&nbsp;</p>
<p><a href="index.php?route=group/remove&amp;id=<?php print $group['id']; ?>&amp;group=<?php print $group['groupname']; ?>"><?php print $text_remove_this_group; ?>: <?php print $group['groupname']; ?></a></p>
<p>&nbsp;</p>
<p>

View File

@ -5,9 +5,9 @@
<h4><?php print $text_existing_groups; ?></h4>
<form method="post" name="search1" action="index.php?route=group/list">
<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" value="<?php print $text_search; ?>" />
<input type="submit" class="btn btn-primary" value="<?php print $text_search; ?>" />
</form>
@ -28,12 +28,14 @@
<div class="domainrow">
<div class="domaincell"><?php print $text_groupname; ?> <a href="index.php?route=group/list&amp;sort=groupname&amp;order=0"><img src="<?php print ICON_ARROW_UP; ?>" border="0"></a> <a href="index.php?route=group/list&amp;sort=groupname&amp;order=1"><img src="<?php print ICON_ARROW_DOWN; ?>" border="0"></a></div>
<div class="domaincell">&nbsp;</div>
<div class="domaincell">&nbsp;</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&amp;id=<?php print $group['id']; ?>"><?php print $text_edit_or_view; ?></a></div>
<div class="domaincell"><a href="index.php?route=group/remove&amp;confirmed=1&amp;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 } ?>

View File

@ -32,12 +32,12 @@
<div class="cellhealthright">
<?php foreach($health as $h) {
if(preg_match("/^220/", $h[1])) {
$status = 'OK'; $class = 'ok';
$status = 'OK'; $class = 'text-success';
} else {
$status = 'ERROR'; $class = 'error';
$status = 'ERROR'; $class = 'text-error';
}
?>
<div class="<?php print $class; ?>"><span><?php print $h[3]; ?>: <?php print $status; ?></span></div>
<div class="bold <?php print $class; ?>"><span><?php print $h[3]; ?>: <?php print $status; ?></span></div>
<?php } ?>
</div>
</div>
@ -50,27 +50,27 @@
<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 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="<?php if($meminfo < HEALTH_RATIO) { ?>ok<?php } else { ?>error<?php } ?>"><?php print $meminfo; ?>% / <?php print $totalmem; ?> MB</span></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="<?php if($swapinfo < HEALTH_RATIO) { ?>ok<?php } else { ?>error<?php } ?>"><?php print $swapinfo; ?>% / <?php print $totalswap; ?> MB</span></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="<?php if($partition['utilization'] < HEALTH_RATIO) { ?>ok<?php } else { ?>error<?php } ?>"><?php print $partition['partition']; ?> <?php print $partition['utilization']; ?>%</span> <?php } ?></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="<?php if($options['enable_purge'] == 1) { ?>ok<?php } else { ?>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 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>

View File

@ -14,28 +14,37 @@
</div>
<?php } else { ?>
<div class="row">
<div class="logincell"><?php print $text_email; ?>:</div>
<div class="logincell"><input type="text" class="textregular" name="username" /></div>
<div class="logincell"><input type="text" class="input-medium" name="username" placeholder="<?php print $text_email; ?>" /></div>
</div>
<div class="row">
<div class="logincell"><?php print $text_password; ?>:</div>
<div class="logincell"><input type="password" class="textregular" name="password" /></div>
<div class="logincell"><input type="password" class="input-medium" name="password" placeholder="<?php print $text_password; ?>" /></div>
</div>
<div class="row">
<div class="logincell">&nbsp;</div>
<div class="logincell"><input type="submit" value="<?php print $text_submit; ?>" /> <input type="reset" value="<?php print $text_cancel; ?>" /></div>
<div class="logincell"><input type="submit" class="btn btn-primary" value="<?php print $text_submit; ?>" /> <input type="reset" class="btn" value="<?php print $text_cancel; ?>" /></div>
</div>
<?php } ?>
<?php if(isset($x)){ ?>
<div class="row">
<div class="logincell"><p class="text-error bold"><?php print $x; ?></p></div>
</div>
<?php } ?>
</div>
</div>
</form>
<?php if(isset($x)){ ?><p class="loginfailed"><?php print $x; ?></p><?php } ?>
<?php } ?>

View File

@ -23,7 +23,13 @@
<strong><?php if($message['subject'] == "" || $message['subject'] == "Subject:") { print "&lt;" . $text_no_subject . "&gt;"; } else { print $message['subject']; } ?></strong><br />
<strong><?php print $message['from']; ?></strong><br />
<strong><?php print $message['to']; ?></strong><br />
<strong><?php print $message['date']; ?></strong> <?php print $text_notes; ?>: <input type="text" size="60" id="note" name="note" class="mynote" value="<?php print preg_replace("/\"/", "&quot;", $message['note']); ?>" /> <input type="button" value="<?php print $text_save; ?>" class="message_button" onclick="Piler.add_note_to_message(<?php print $id; ?>, '<?php print $text_saved; ?>'); " /><br />
<strong><?php print $message['date']; ?></strong><br />
<form class="form-inline" name="view">
<strong><?php print $text_notes; ?></strong>: <input type="text" size="60" id="note" name="note" class="input-medium" value="<?php print preg_replace("/\"/", "&quot;", $message['note']); ?>" /> <input type="button" value="<?php print $text_save; ?>" class="btn btn-warning" onclick="Piler.add_note_to_message(<?php print $id; ?>, '<?php print $text_saved; ?>'); " />
</form>
<?php foreach($attachments as $a) { ?>
<span><img src="<?php print ICON_ATTACHMENT; ?>" /><a href="index.php?route=message/attachment&id=<?php print $a['id']; ?>"><?php print $a['name']; ?></a></span>

View File

@ -1,73 +1,71 @@
<h4><?php print $text_add_new_rule; ?></h4>
<form method="post" name="add1" action="index.php?route=policy/archiving" class="formbottom">
<form method="post" name="add1" action="index.php?route=policy/archiving" class="formbottom form-search">
<div id="ss1">
<div class="row">
<div class="domaincell"><?php print $text_from; ?>:</div>
<div class="domaincell"><input type="text" class="text" name="from" /></div>
<div class="domaincell"><input type="text" name="from" class="input-medium span5" /></div>
</div>
<div class="row">
<div class="domaincell"><?php print $text_to; ?>:</div>
<div class="domaincell"><input type="text" class="text" name="to" /></div>
<div class="domaincell"><input type="text" name="to" class="input-medium span5" /></div>
</div>
<div class="row">
<div class="domaincell"><?php print $text_subject; ?>:</div>
<div class="domaincell"><input type="text" class="text" name="subject" /></div>
<div class="domaincell"><input type="text" name="subject" class="input-medium span5" /></div>
</div>
<div class="row">
<div class="domaincell"><?php print $text_size; ?>:</div>
<div class="domaincell">
<select class="ruleselect" name="_size">
<select name="_size" class="span1">
<option value=">">&gt;</option>
<option value="=">=</option>
<option value="<">&lt;</option>
</select>
<input type="text" class="ruletext" name="size" />
<input type="text" name="size" class="input-medium span4" />
</div>
</div>
<div class="row">
<div class="domaincell"><?php print $text_attachment_type; ?>:</div>
<div class="domaincell"><input type="text" class="text" name="attachment_type" /></div>
<div class="domaincell"><input type="text" name="attachment_type" class="input-medium span5" /></div>
</div>
<div class="row">
<div class="domaincell"><?php print $text_attachment_size; ?>:</div>
<div class="domaincell">
<select class="ruleselect" name="_attachment_size">
<select name="_attachment_size" class="span1">
<option value=">">&gt;</option>
<option value="=">=</option>
<option value="<">&lt;</option>
</select>
<input type="text" class="ruletext" name="attachment_size" />
<input type="text" name="attachment_size" class="input-medium span4" />
</div>
</div>
<div class="row">
<div class="domaincell"><?php print $text_spam; ?>:</div>
<div class="domaincell">
<select class="ruleselect" name="spam">
<select name="spam" class="span1">
<option value="-1">-</option>
<option value="0"><?php print $text_not_spam; ?></option>
<option value="1"><?php print $text_spam2; ?></option>
</select>
<input type="text" class="ruletext" name="attachment_size" />
<input type="text" name="attachment_size" class="input-medium span4" />
</div>
</div>
<div class="row">
<div class="domaincell">&nbsp;</div>
<div class="domaincell"><input type="submit" value="<?php print $text_add; ?>" /> <input type="reset" value="<?php print $text_cancel; ?>" /></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($error) { ?>
<p class="error"><?php print $text_error; ?>: <?php print $error; ?></p>
<?php } ?>
<?php if($error) { ?><p class="text-error bold"><?php print $text_error; ?>: <?php print $error; ?></p><?php } ?>
<h4><?php print $text_existing_rules; ?></h4>
@ -95,7 +93,7 @@
<div class="domaincell"><?php if($rule['size'] > 0) { print $rule['_size']; ?> <?php print $rule['size']; } ?></div>
<div class="domaincell"><?php print $rule['attachment_type']; ?></div>
<div class="domaincell"><?php if($rule['attachment_size'] > 0) { print $rule['_attachment_size']; ?> <?php print $rule['attachment_size']; } ?></div>
<div class="domaincell"><a href="index.php?route=policy/removearchiving&amp;id=<?php print $rule['id']; ?>"><?php print $text_remove; ?></a></div>
<div class="domaincell"><a href="index.php?route=policy/removearchiving&amp;confirmed=1&amp;id=<?php print $rule['id']; ?>" onclick="if(confirm('<?php print $text_remove_rule; ?>: ' + '#<?php print $rule['id']; ?>')) return true; return false;"><?php print $text_remove; ?></a></div>
</div>
<?php } ?>

View File

@ -7,68 +7,70 @@
<div class="row">
<div class="domaincell"><?php print $text_from; ?>:</div>
<div class="domaincell"><input type="text" class="text" name="from" /></div>
<div class="domaincell"><input type="text" name="from" class="input-medium span5" /></div>
</div>
<div class="row">
<div class="domaincell"><?php print $text_to; ?>:</div>
<div class="domaincell"><input type="text" class="text" name="to" /></div>
<div class="domaincell"><input type="text" name="to" class="input-medium span5" /></div>
</div>
<div class="row">
<div class="domaincell"><?php print $text_subject; ?>:</div>
<div class="domaincell"><input type="text" class="text" name="subject" /></div>
<div class="domaincell"><input type="text" name="subject" class="input-medium span5" /></div>
</div>
<div class="row">
<div class="domaincell"><?php print $text_size; ?>:</div>
<div class="domaincell">
<select class="ruleselect" name="_size">
<select name="_size" class="span1">
<option value=">">&gt;</option>
<option value="=">=</option>
<option value="<">&lt;</option>
</select>
<input type="text" class="ruletext" name="size" />
<input type="text" name="size" class="input-medium span4" />
</div>
</div>
<div class="row">
<div class="domaincell"><?php print $text_attachment_type; ?>:</div>
<div class="domaincell"><input type="text" class="text" name="attachment_type" /></div>
<div class="domaincell"><input type="text" name="attachment_type" class="input-medium span5" /></div>
</div>
<div class="row">
<div class="domaincell"><?php print $text_attachment_size; ?>:</div>
<div class="domaincell">
<select class="ruleselect" name="_attachment_size">
<select name="_attachment_size" class="span1">
<option value=">">&gt;</option>
<option value="=">=</option>
<option value="<">&lt;</option>
</select>
<input type="text" class="ruletext" name="attachment_size" />
<input type="text" name="attachment_size" class="input-medium span4" />
</div>
</div>
<div class="row">
<div class="domaincell"><?php print $text_spam; ?>:</div>
<div class="domaincell">
<select class="ruleselect" name="spam">
<select name="spam" class="span1">
<option value="-1">-</option>
<option value="0"><?php print $text_not_spam; ?></option>
<option value="1"><?php print $text_spam2; ?></option>
</select>
<input type="text" class="ruletext" name="attachment_size" />
<input type="text" name="attachment_size" class="input-medium span4" />
</div>
</div>
<div class="row">
<div class="domaincell"><?php print $text_days_to_retain; ?>:</div>
<div class="domaincell"><input type="text" class="text" name="days" /></div>
<div class="domaincell"><input type="text" name="days" class="input-medium span5" /></div>
</div>
<div class="row">
<div class="domaincell">&nbsp;</div>
<div class="domaincell"><input type="submit" value="<?php print $text_add; ?>" /> <input type="reset" value="<?php print $text_cancel; ?>" /></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($error) { ?><p class="text-error bold"><?php print $text_error; ?>: <?php print $error; ?></p><?php } ?>
<h4><?php print $text_existing_rules; ?></h4>
@ -97,7 +99,7 @@
<div class="domaincell"><?php print $rule['attachment_type']; ?></div>
<div class="domaincell"><?php if($rule['attachment_size'] > 0) { print $rule['_attachment_size']; ?> <?php print $rule['attachment_size']; } ?></div>
<div class="domaincell"><?php print $rule['days']; ?></div>
<div class="domaincell"><a href="index.php?route=policy/removeretention&amp;id=<?php print $rule['id']; ?>"><?php print $text_remove; ?></a></div>
<div class="domaincell"><a href="index.php?route=policy/removeretention&amp;confirmed=1&amp;id=<?php print $rule['id']; ?>" onclick="if(confirm('<?php print $text_remove_rule; ?>: ' + '#<?php print $rule['id']; ?>')) return true; return false;"><?php print $text_remove; ?></a></div>
</div>
<?php } ?>

View File

@ -4,67 +4,103 @@
<div id="results">
<?php if($n > 0) { ?>
<table class="table table-striped table-condensed" style="border: 0px solid blue; width: 98%;">
<thead>
<tr>
<td><input type="checkbox" id="bulkcheck" name="bulkcheck" value="1" <?php if(SEARCH_RESULT_CHECKBOX_CHECKED == 1) { ?>checked="checked"<?php } ?> onclick="Piler.toggle_bulk_check();" /></td>
<td><a href="#"><img class="download_icon" src="<?php print ICON_DOWNLOAD; ?>" width="18" height="18" alt="aaa" border="0" onclick="Piler.download_messages();" /></a></td>
<td>
<strong><?php print $text_date; ?></strong>
<a xid="date" xorder="1" onclick="Piler.changeOrder(this);"><i class="icon-chevron-up"></i></a>
<a xid="date" xorder="0" onclick="Piler.changeOrder(this);"><i class="icon-chevron-down"></i></a>
</td>
<td>
<strong><?php print $text_from; ?></strong>
<a xid="from" xorder="1" onclick="Piler.changeOrder(this);"><i class="icon-chevron-up"></i></a>
<a xid="from" xorder="0" onclick="Piler.changeOrder(this);"><i class="icon-chevron-down"></i></a>
</td>
<td>
<strong><?php print $text_to; ?></strong>
</td>
<td>
<strong><?php print $text_subject; ?><strong>
<a xid="subj" xorder="1" onclick="Piler.changeOrder(this);"><i class="icon-chevron-up"></i></a>
<a xid="subj" xorder="0" onclick="Piler.changeOrder(this);"><i class="icon-chevron-down"></i></a>
</td>
<td>
<strong><?php print $text_size; ?></strong>
<a xid="size" xorder="1" onclick="Piler.changeOrder(this);"><i class="icon-chevron-up"></i></a>
<a xid="size" xorder="0" onclick="Piler.changeOrder(this);"><i class="icon-chevron-down"></i></a>
</td>
<td><i class="attachment icon-paper-clip icon-large" title="<?php print $text_attachment_flag; ?>"></i></div>
<td>&nbsp;</div>
<td><i class="icon-tag"></i></div>
<?php if(ENABLE_ON_THE_FLY_VERIFICATION == 1) { ?>
<td>&nbsp;</td>
<?php } ?>
</tr>
</thead>
<tbody>
<?php $i=0; foreach ($messages as $message) { ?>
<tr id="e_<?php print $message['id']; ?>" class="resultrow new<?php if($i % 2) { ?> odd<?php } ?><?php if($message['spam'] == 1) { ?> spam<?php } ?>">
<td><input type="checkbox" id="r_<?php print $message['id']; ?>" name="r_<?php print $message['id']; ?>" value="iiii" <?php if(SEARCH_RESULT_CHECKBOX_CHECKED == 1) { ?>checked="checked"<?php } ?> /></td>
<td><a href="#" onclick="Piler.view_message_by_pos(<?php print $i; ?>);"><?php print ($page*$page_len) + $i + 1; ?>.</a></td>
<td><?php print $message['date']; ?></td>
<td><?php if($message['from'] != $message['shortfrom']) { ?><span title="<?php print $message['from']; ?>"><?php print $message['shortfrom']; ?></span><?php } else { print $message['from']; } ?></td>
<td><?php if($message['to'] != $message['shortto']) { ?><span title="<?php print $message['to']; ?>"><?php print $message['shortto']; ?>*</span><?php } else { print $message['to']; } ?></td>
<td><a href="#" <?php if($message['subject'] != $message['shortsubject']) { ?>title="<?php print $message['subject']; ?>"<?php } ?> onclick="Piler.view_message_by_pos(<?php print $i; ?>);"><?php if($message['subject'] != $message['shortsubject']) { print $message['shortsubject']; } else { print $message['subject']; } ?></a><?php if($message['reference']) { ?> <a href="#" title="<?php print $text_conversation_available; ?>" onclick="$('#ref').val('<?php print $message['reference']; ?>'); Piler.expert(this);">[+]</span></a><?php } ?></td>
<div id="e_<?php print $message['id']; ?>" class="resultrow new<?php if($i % 2) { ?> odd<?php } ?><?php if($message['spam'] == 1) { ?> spam<?php } ?>">
<div class="resultcell restore"><input type="checkbox" id="r_<?php print $message['id']; ?>" name="r_<?php print $message['id']; ?>" value="iiii" <?php if(SEARCH_RESULT_CHECKBOX_CHECKED == 1) { ?>checked="checked"<?php } ?> class="restorebox" /></div>
<div class="resultcell id"><a href="#" onclick="Piler.view_message_by_pos(<?php print $i; ?>);"><?php print ($page*$page_len) + $i + 1; ?>.</a></div>
<div class="resultcell date"><?php print $message['date']; ?></div>
<div class="resultcell from"><?php if($message['from'] != $message['shortfrom']) { ?><span title="<?php print $message['from']; ?>"><?php print $message['shortfrom']; ?></span><?php } else { print $message['from']; } ?></div>
<div class="resultcell to"><?php if($message['to'] != $message['shortto']) { ?><span title="<?php print $message['to']; ?>"><?php print $message['shortto']; ?>*</span><?php } else { print $message['to']; } ?></div>
<div class="resultcell subject"><a href="#" <?php if($message['subject'] != $message['shortsubject']) { ?>title="<?php print $message['subject']; ?>"<?php } ?> onclick="Piler.view_message_by_pos(<?php print $i; ?>);"><?php if($message['subject'] != $message['shortsubject']) { print $message['shortsubject']; } else { print $message['subject']; } ?></a><?php if($message['reference']) { ?> <a href="#" title="<?php print $text_conversation_available; ?>" onclick="$('#ref').val('<?php print $message['reference']; ?>'); Piler.expert(this);">[+]</span></a><?php } ?></div>
<div class="resultcell size"><?php print $message['size']; ?></div>
<div class="resultcell end"><?php if($message['attachments'] > 0) { ?><img src="<?php print ICON_ATTACHMENT; ?>" alt="" width="16" height="18" /><?php } else { ?>&nbsp;<?php } ?></div>
<div class="resultcell end"><?php if($message['note']) { ?><a href="#" title="<?php print $message['note']; ?>"><img src="<?php print ICON_NOTES; ?>" alt="akakaka" width="16" height="16" /></a><?php } else { ?>&nbsp;<?php } ?></div>
<div class="resultcell end"><?php if($message['tag']) { ?><a href="#" title="<?php print $message['tag']; ?>"><img src="<?php print ICON_TAG; ?>" alt="" /></a><?php } else { ?>&nbsp;<?php } ?></div>
<td><?php print $message['size']; ?></td>
<td><?php if($message['attachments'] > 0) { ?><img src="<?php print ICON_ATTACHMENT; ?>" alt="" width="16" height="18" /><?php } else { ?>&nbsp;<?php } ?></td>
<td><?php if($message['note']) { ?><a href="#" title="<?php print $message['note']; ?>"><img src="<?php print ICON_NOTES; ?>" alt="akakaka" width="16" height="16" /></a><?php } else { ?>&nbsp;<?php } ?></td>
<td><?php if($message['tag']) { ?><a href="#" title="<?php print $message['tag']; ?>"><img src="<?php print ICON_TAG; ?>" alt="" /></a><?php } else { ?>&nbsp;<?php } ?></td>
<?php if(ENABLE_ON_THE_FLY_VERIFICATION == 1) { ?>
<div class="resultcell verification"><img src="<?php if($message['verification'] == 1){ print ICON_GREEN_OK; } else { print ICON_RED_X; } ?>" alt="verification status" /></div>
<td><img src="<?php if($message['verification'] == 1){ print ICON_GREEN_OK; } else { print ICON_RED_X; } ?>" alt="verification status" /></td>
<?php } ?>
</div>
</tr>
<?php $i++; } ?>
</tbody>
</table>
<?php } else if($n == 0) { ?>
<div class="cell3 error"><?php print $text_empty_search_result; ?></div>
<div class="alert">
<strong><?php print $text_empty_search_result; ?></strong>
</div>
<?php } ?>
</div>
</div>
<div class="boxfooter">
<form class="form-inline slick" name="tagging">
<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);">&lt;&lt;</a> &nbsp; <?php } else { ?><span class="navlink">&lt;&lt; &nbsp; </span><?php } ?>
<?php if($page > 0) { ?><a href="#" class="navlink" onclick="Piler.navigation(<?php print $prev_page; ?>);"> &lt; </a> <?php } else { ?><span class="navlink"> &lt; </span><?php } ?>
</div>
<span class="piler-right-margin">
<?php if($page > 0) { ?><a href="#" onclick="Piler.navigation(0);">&lt;&lt;</a> &nbsp; <?php } else { ?><span class="navlink">&lt;&lt; &nbsp; </span><?php } ?>
<?php if($page > 0) { ?><a href="#" onclick="Piler.navigation(<?php print $prev_page; ?>);"> &lt; </a> <?php } else { ?><span class="navlink"> &lt; </span><?php } ?>
<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; ?>);">&gt; </a> <?php } else { ?><span class="navlink">&gt; </span><?php } ?>
<?php if($page < $total_pages) { ?> &nbsp; <a href="#" class="navlink" onclick="Piler.navigation(<?php print $total_pages; ?>);"> &gt;&gt; </a><?php } else { ?> <span class="navlink"> &nbsp; &gt;&gt;</span><?php } ?>
</div>
<?php if($next_page <= $total_pages){ ?><a href="#" onclick="Piler.navigation(<?php print $next_page; ?>);">&gt; </a> <?php } else { ?><span class="navlink">&gt; </span><?php } ?>
<?php if($page < $total_pages) { ?> &nbsp; <a href="#" onclick="Piler.navigation(<?php print $total_pages; ?>);"> &gt;&gt; </a><?php } else { ?> <span class="navlink"> &nbsp; &gt;&gt;</span><?php } ?>
</span>
<?php } else { ?>&nbsp;<?php } ?>
<input type="hidden" id="tag_keys" name="tag_keys" value="<?php print $all_ids; ?>" />
<input type="hidden" id="_ref" name="_ref" value="<?php if(isset($_ref)) { print $_ref; } ?>" />
<button class="btn piler-right-margin" onclick="Piler.bulk_restore_messages('<?php print $text_restored; ?>'); return false;"><?php print $text_bulk_restore_selected_emails; ?></button>
<input type="button" class="restore" value="<?php print $text_bulk_restore_selected_emails; ?>" onclick="Piler.bulk_restore_messages('<?php print $text_restored; ?>'); " />
<input type="text" id="tag_value" name="tag_value" class="input-xlarge" placeholder="<?php print $text_tag_selected_messages; ?>" />
<button class="btn" onclick="Piler.tag_search_results('<?php print $text_tagged; ?>'); return false;" >OK</button>
</form>
<?php print $text_tag_selected_messages; ?>: <input type="text" id="tag_value" name="tag_value" class="tagtext" /> <input type="button" class="tag" onclick="Piler.tag_search_results('<?php print $text_tagged; ?>');" value="OK" />
</div>
</div>
</div>

View File

@ -7,7 +7,9 @@
<?php if(count($terms) > 0){ ?>
<?php } else if(count($terms) == 0) { ?>
<div class="cell3 error"><?php print $text_empty_search_result; ?></div>
<div class="alert">
<strong><?php print $text_empty_search_result; ?></strong>
</div>
<?php } ?>
</div>
@ -15,7 +17,7 @@
parse_str($term['term'], $s);
if(isset($s['search']) && $s['search']) {
?>
<div class="resultrow">
<div class="resultrow center">
<a href="#" onclick="Piler.load_search_results_for_saved_query('<?php print urldecode($term['term']); ?>');"><?php print $s['search']; ?></a></br />
</div>
<?php } } ?>
@ -24,6 +26,3 @@
</div>
<?php
?>

View File

@ -6,7 +6,7 @@
<input type="hidden" name="xorder" id="xorder" value="0" />
<input type="hidden" name="xref" id="xref" value="" />
<div id="popupx" onclick="$('#searchpopup1').hide();"> X </div>
<div id="popupx" onclick="$('#searchpopup1').hide();"> <i class="icon-remove"></i> </div>
<div id="ss1">
@ -52,13 +52,18 @@
<div class="row">
<div class="cell1"><?php print $text_date; ?>: </div>
<div class="cell2"><input type="text" name="date1" id="date1" size="11" value="<?php if(isset($date1)) { print $date1; } ?>" /> <input type="text" name="date2" id="date2" size="11" value="<?php if(isset($date2)) { print $date2; } ?>" /></div>
<div class="cell2"><input type="text" name="date1" id="date1" size="11" value="<?php if(isset($date1)) { print $date1; } ?>" placeholder="YYYY-MM-DD" /></div>
</div>
<div class="row">
<div class="cell1">&nbsp;</div>
<div class="cell2"><input type="text" name="date2" id="date2" size="11" value="<?php if(isset($date2)) { print $date2; } ?>" placeholder="YYYY-MM-DD" /></div>
</div>
<div class="row">
<div class="cell1"></div>
<div class="cell2 left">
<button id="button_search" class="active popup" onclick="Piler.complex();"><?php print $text_search; ?></button> <input type="button" class="advsecondary_complex" onclick="Piler.cancel();" value="<?php print $text_cancel; ?>" />
<button id="button_search" class="btn btn-danger" onclick="Piler.complex();"><?php print $text_search; ?></button> <input type="button" class="btn" onclick="Piler.cancel();" value="<?php print $text_cancel; ?>" />
</div>
</div>

View File

@ -1,5 +1,5 @@
<?php if(isset($errorstring)){ ?><p class="loginfailed"><?php print $text_error; ?>: <?php print $errorstring; ?></p><?php } ?>
<?php if(isset($errorstring)){ ?><p class="text-error bold"><?php print $text_error; ?>: <?php print $errorstring; ?></p><?php } ?>
<form action="index.php?route=user/add" name="adduser" method="post" autocomplete="off">
@ -8,23 +8,23 @@
<div id="ss1">
<div class="domainrow">
<div class="domaincell"><?php print $text_email_addresses; ?>:</div>
<div class="domaincell"><textarea name="email" class="domain"><?php if(isset($post['email'])){ print $post['email']; } ?></textarea></div>
<div class="domaincell"><textarea name="email" class="span5"><?php if(isset($post['email'])){ print $post['email']; } ?></textarea></div>
</div>
<div class="domainrow">
<div class="domaincell"><?php print $text_username; ?>:</div>
<div class="domaincell"><input type="text" name="username" value="<?php if(isset($post['username'])){ print $post['username']; } ?>" class="text" /></div>
<div class="domaincell"><input type="text" name="username" value="<?php if(isset($post['username'])){ print $post['username']; } ?>" class="span5" /></div>
</div>
<div class="domainrow">
<div class="domaincell"><?php print $text_realname; ?>:</div>
<div class="domaincell"><input type="text" name="realname" value="<?php if(isset($post['realname'])){ print $post['realname']; } ?>" class="text" /></div>
<div class="domaincell"><input type="text" name="realname" value="<?php if(isset($post['realname'])){ print $post['realname']; } ?>" class="span5" /></div>
</div>
<div class="domainrow">
<div class="domaincell"><?php print $text_primary_domain; ?>:</div>
<div class="domaincell">
<select name="domain">
<select name="domain" class="span5">
<?php asort($domains); foreach ($domains as $domain) { ?>
<option value="<?php if(is_array($domain)){ print $domain['mapped']; } else { print $domain; } ?>"<?php if( (isset($post) && $domain == $post['domain']) || (!isset($post) && isset($_SESSION['last_domain']) && $domain == $_SESSION['last_domain']) ){ ?> selected="selected"<?php } ?>><?php if(is_array($domain)){ print $domain['mapped']; } else { print $domain; } ?></option>
<?php } ?>
@ -34,58 +34,58 @@
<div class="domainrow">
<div class="domaincell"><?php print $text_search_domains; ?>*:</div>
<div class="domaincell"><input type="text" id="s_piler_domain" name="s_piler_domain" value="<?php print $text_search_domain_to_add; ?>" class="autocompletetext" onfocus="Piler.toggle_hint('s_piler_domain', '<?php print $text_search_domain_to_add; ?>', 1);" onblur="Piler.toggle_hint('s_piler_domain', '<?php print $text_search_domain_to_add; ?>', 0);" /></div>
<div class="domaincell"><input type="text" id="s_piler_domain" name="s_piler_domain" class="span5" placeholder="<?php print $text_search_domain_to_add; ?>" /></div>
</div>
<div class="domainrow">
<div class="domaincell"><?php print $text_domains; ?>**:</div>
<div class="domaincell"><textarea name="domains" id="domains" class="domain"><?php if(isset($post['domains'])){ print $post['domains']; } ?></textarea></div>
<div class="domaincell"><textarea name="domains" id="domains" class="span5"><?php if(isset($post['domains'])){ print $post['domains']; } ?></textarea></div>
</div>
<div class="domainrow">
<div class="domaincell"><?php print $text_search_groups; ?>*:</div>
<div class="domaincell"><input type="text" id="s_piler_group" name="s_piler_group" value="<?php print $text_search_group_to_add; ?>" class="autocompletetext" onfocus="Piler.toggle_hint('s_piler_group', '<?php print $text_search_group_to_add; ?>', 1);" onblur="Piler.toggle_hint('s_piler_group', '<?php print $text_search_group_to_add; ?>', 0);" /></div>
<div class="domaincell"><input type="text" id="s_piler_group" name="s_piler_group" class="span5" placeholder="<?php print $text_search_group_to_add; ?>" /></div>
</div>
<div class="domainrow">
<div class="domaincell"><?php print $text_groups; ?>**:</div>
<div class="domaincell"><textarea name="group" id="group" class="domain"><?php if(isset($post['group'])){ print $post['group']; } ?></textarea></div>
<div class="domaincell"><textarea name="group" id="group" class="span5"><?php if(isset($post['group'])){ print $post['group']; } ?></textarea></div>
</div>
<div class="domainrow">
<div class="domaincell"><?php print $text_search_folders; ?>*:</div>
<div class="domaincell"><input type="text" id="s_piler_folder" name="s_piler_folder" value="<?php print $text_search_folder_to_add; ?>" class="autocompletetext" onfocus="Piler.toggle_hint('s_piler_folder', '<?php print $text_search_folder_to_add; ?>', 1);" onblur="Piler.toggle_hint('s_piler_folder', '<?php print $text_search_folder_to_add; ?>', 0);" /></div>
<div class="domaincell"><input type="text" id="s_piler_folder" name="s_piler_folder" class="span5" placeholder="<?php print $text_search_folder_to_add; ?>" /></div>
</div>
<div class="domainrow">
<div class="domaincell"><?php print $text_folders; ?>**:</div>
<div class="domaincell"><textarea name="folder" id="folder" class="domain"><?php if(isset($user['folder'])){ print $user['folder']; } ?></textarea></div>
<div class="domaincell"><textarea name="folder" id="folder" class="span5"><?php if(isset($user['folder'])){ print $user['folder']; } ?></textarea></div>
</div>
<?php if(ENABLE_LDAP_IMPORT_FEATURE == 1) { ?>
<div class="domainrow">
<div class="domaincell">LDAP DN:</div>
<div class="domaincell"><input type="text" name="dn" value="<?php print $user['dn']; ?>" class="text" /><br /> (<?php print $text_dn_asterisk_means_skip_sync; ?>)</div>
<div class="domaincell"><input type="text" name="dn" value="<?php print $user['dn']; ?>" class="span5" /><br /> (<?php print $text_dn_asterisk_means_skip_sync; ?>)</div>
</div>
<?php } ?>
<div class="domainrow">
<div class="domaincell"><?php print $text_password; ?>:</div>
<div class="domaincell"><input type="password" name="password" value="" class="text" /></div>
<div class="domaincell"><input type="password" name="password" value="" class="span5" /></div>
</div>
<div class="domainrow">
<div class="domaincell"><?php print $text_password_again; ?>:</div>
<div class="domaincell"><input type="password" name="password2" value="" class="text" /></div>
<div class="domaincell"><input type="password" name="password2" value="" class="span5" /></div>
</div>
<div class="domainrow">
<div class="domaincell"><?php print $text_admin_user; ?>:</div>
<div class="domaincell">
<select name="isadmin">
<select name="isadmin" class="span5">
<option value="0"<?php if(isset($user['isadmin']) && $user['isadmin'] == 0){ ?> selected="selected"<?php } ?>><?php print $text_user_regular; ?></option>
<?php if(Registry::get('admin_user') == 1) { ?><option value="1"<?php if(isset($user['isadmin']) && $user['isadmin'] == 1){ ?> selected="selected"<?php } ?>><?php print $text_user_masteradmin; ?></option><?php } ?>
<option value="2"<?php if(isset($user['isadmin']) && $user['isadmin'] == 2){ ?> selected="selected"<?php } ?>><?php print $text_user_auditor; ?></option>
@ -101,7 +101,7 @@
<div class="domainrow">
<div class="domaincell">&nbsp;</div>
<div class="domaincell"><input type="submit" value="<?php print $text_add; ?>" /><input type="reset" value="<?php print $text_cancel; ?>" /></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>

View File

@ -8,23 +8,23 @@
<div id="ss1">
<div class="domainrow">
<div class="domaincell"><?php print $text_email_addresses; ?>:</div>
<div class="domaincell"><textarea name="email" class="domain"><?php print $emails; ?></textarea></div>
<div class="domaincell"><textarea name="email" class="span5"><?php print $emails; ?></textarea></div>
</div>
<div class="domainrow">
<div class="domaincell"><?php print $text_username; ?>:</div>
<div class="domaincell"><input type="text" name="username" value="<?php print $user['username']; ?>" class="text" /></div>
<div class="domaincell"><input type="text" name="username" value="<?php print $user['username']; ?>" class="span5" /></div>
</div>
<div class="domainrow">
<div class="domaincell"><?php print $text_realname; ?>:</div>
<div class="domaincell"><input type="text" name="realname" value="<?php print $user['realname']; ?>" class="text" /></div>
<div class="domaincell"><input type="text" name="realname" value="<?php print $user['realname']; ?>" class="span5" /></div>
</div>
<div class="domainrow">
<div class="domaincell"><?php print $text_primary_domain; ?>:</div>
<div class="domaincell">
<select name="domain">
<select name="domain" class="span5">
<?php asort($domains); foreach ($domains as $domain) { ?>
<option value="<?php print $domain; ?>"<?php if($domain == $user['domain']){ ?> selected="selected"<?php } ?>><?php print $domain; ?></option>
<?php } ?>
@ -34,34 +34,34 @@
<div class="domainrow">
<div class="domaincell"><?php print $text_search_domains; ?>*:</div>
<div class="domaincell"><input type="text" id="s_piler_domain" name="s_piler_domain" value="<?php print $text_search_domain_to_add; ?>" class="autocompletetext" onfocus="Piler.toggle_hint('s_piler_domain', '<?php print $text_search_domain_to_add; ?>', 1);" onblur="Piler.toggle_hint('s_piler_domain', '<?php print $text_search_domain_to_add; ?>', 0);" /></div>
<div class="domaincell"><input type="text" id="s_piler_domain" name="s_piler_domain" placeholder="<?php print $text_search_domain_to_add; ?>" class="span5" /></div>
</div>
<div class="domainrow">
<div class="domaincell"><?php print $text_domains; ?>**:</div>
<div class="domaincell"><textarea name="domains" id="domains" class="domain"><?php if(isset($post['domains'])){ print $post['domains']; } ?></textarea></div>
<div class="domaincell"><textarea name="domains" id="domains" class="span5"><?php if(isset($post['domains'])){ print $post['domains']; } ?></textarea></div>
</div>
<div class="domainrow">
<div class="domaincell"><?php print $text_search_groups; ?>*:</div>
<div class="domaincell"><input type="text" id="s_piler_group" name="s_piler_group" value="<?php print $text_search_group_to_add; ?>" class="autocompletetext" onfocus="Piler.toggle_hint('s_piler_group', '<?php print $text_search_group_to_add; ?>', 1);" onblur="Piler.toggle_hint('s_piler_group', '<?php print $text_search_group_to_add; ?>', 0);" /></div>
<div class="domaincell"><input type="text" id="s_piler_group" name="s_piler_group" placeholder="<?php print $text_search_group_to_add; ?>" class="span5" /></div>
</div>
<div class="domainrow">
<div class="domaincell"><?php print $text_groups; ?>**:</div>
<div class="domaincell"><textarea name="group" id="group" class="domain"><?php if(isset($user['group'])){ print $user['group']; } ?></textarea></div>
<div class="domaincell"><textarea name="group" id="group" class="span5"><?php if(isset($user['group'])){ print $user['group']; } ?></textarea></div>
</div>
<div class="domainrow">
<div class="domaincell"><?php print $text_search_folders; ?>*:</div>
<div class="domaincell"><input type="text" id="s_piler_folder" name="s_piler_folder" value="<?php print $text_search_folder_to_add; ?>" class="autocompletetext" onfocus="Piler.toggle_hint('s_piler_folder', '<?php print $text_search_folder_to_add; ?>', 1);" onblur="Piler.toggle_hint('s_piler_folder', '<?php print $text_search_folder_to_add; ?>', 0);" /></div>
<div class="domaincell"><input type="text" id="s_piler_folder" name="s_piler_folder" placeholder="<?php print $text_search_folder_to_add; ?>" class="span5" /></div>
</div>
<div class="domainrow">
<div class="domaincell"><?php print $text_folders; ?>**:</div>
<div class="domaincell"><textarea name="folder" id="folder" class="domain"><?php if(isset($user['folder'])){ print $user['folder']; } ?></textarea></div>
<div class="domaincell"><textarea name="folder" id="folder" class="span5"><?php if(isset($user['folder'])){ print $user['folder']; } ?></textarea></div>
</div>
@ -69,18 +69,18 @@
<?php if(ENABLE_LDAP_IMPORT_FEATURE == 1) { ?>
<div class="domainrow">
<div class="domaincell">LDAP DN:</div>
<div class="domaincell"><input type="text" name="dn" value="<?php print $user['dn']; ?>" class="text" /><br /> (<?php print $text_dn_asterisk_means_skip_sync; ?>)</div>
<div class="domaincell"><input type="text" name="dn" value="<?php print $user['dn']; ?>" class="span5" /><br /> (<?php print $text_dn_asterisk_means_skip_sync; ?>)</div>
</div>
<?php } ?>
<div class="domainrow">
<div class="domaincell"><?php print $text_password; ?>:</div>
<div class="domaincell"><input type="password" name="password" value="" class="text" /></div>
<div class="domaincell"><input type="password" name="password" value="" class="span5" /></div>
</div>
<div class="domainrow">
<div class="domaincell"><?php print $text_password_again; ?>:</div>
<div class="domaincell"><input type="password" name="password2" value="" class="text" /></div>
<div class="domaincell"><input type="password" name="password2" value="" class="span5" /></div>
</div>
<div class="domainrow">
@ -91,7 +91,7 @@
<div class="domainrow">
<div class="domaincell"><?php print $text_admin_user; ?>:</div>
<div class="domaincell">
<select name="isadmin">
<select name="isadmin" class="span5">
<option value="0"<?php if($user['isadmin'] == 0){ ?> selected="selected"<?php } ?>><?php print $text_user_regular; ?></option>
<?php if(Registry::get('admin_user') == 1) { ?><option value="1"<?php if($user['isadmin'] == 1){ ?> selected="selected"<?php } ?>><?php print $text_user_masteradmin; ?></option><?php } ?>
<option value="2"<?php if($user['isadmin'] == 2){ ?> selected="selected"<?php } ?>><?php print $text_user_auditor; ?></option>
@ -116,7 +116,7 @@
<div class="domainrow">
<div class="domaincell">&nbsp;</div>
<div class="domaincell"><input type="submit" value="<?php print $text_modify; ?>" /><input type="reset" value="<?php print $text_cancel; ?>" /></div>
<div class="domaincell"><input type="submit" value="<?php print $text_modify; ?>" class="btn btn-primary" /><input type="reset" class="btn" value="<?php print $text_cancel; ?>" /></div>
</div>
</div>
@ -124,8 +124,6 @@
</form>
<p>&nbsp;</p>
<p><a href="index.php?route=user/remove&amp;uid=<?php print $user['uid']; ?>&amp;user=<?php print $user['username']; ?>"><?php print $text_remove_this_user; ?>: <?php print $user['username']; ?></a></p>
<p>&nbsp;</p>
<p>

View File

@ -5,9 +5,9 @@
<h4><?php print $text_existing_users; ?></h4>
<form method="post" name="search1" action="index.php?route=user/list">
<form method="post" name="search1" class="form-search" action="index.php?route=user/list">
<input type="text" name="search" value="<?php print $search; ?>" />
<input type="submit" value="<?php print $text_search; ?>" />
<input type="submit" class="btn btn-primary" value="<?php print $text_search; ?>" />
</form>
@ -30,6 +30,7 @@
<div class="domaincell"><?php print $text_email; ?> <a href="index.php?route=user/list&amp;sort=email&amp;order=0"><img src="<?php print ICON_ARROW_UP; ?>" border="0"></a> <a href="index.php?route=user/list&amp;sort=email&amp;order=1"><img src="<?php print ICON_ARROW_DOWN; ?>" border="0"></a></div>
<div class="domaincell"><?php print $text_role; ?> <a href="index.php?route=user/list&amp;sort=domain&amp;order=0"><img src="<?php print ICON_ARROW_UP; ?>" border="0"></a> <a href="index.php?route=user/list&amp;sort=domain&amp;order=1"><img src="<?php print ICON_ARROW_DOWN; ?>" border="0"></a></div>
<div class="domaincell">&nbsp;</div>
<div class="domaincell">&nbsp;</div>
</div>
<?php foreach($users as $user) { ?>
@ -45,6 +46,7 @@
?>
</div>
<div class="domaincell"><a href="index.php?route=user/edit&amp;uid=<?php print $user['uid']; ?>"><?php print $text_edit_or_view; ?></a></div>
<div class="domaincell"><a href="index.php?route=user/remove&amp;confirmed=1&amp;uid=<?php print $user['uid']; ?>" onclick="if(confirm('<?php print $text_remove_this_user; ?>: ' + '\'<?php print $user['realname']; ?> / <?php print $user['email']; ?>\'')) return true; return false;"><?php print $text_remove; ?></a></div>
</div>
<?php } ?>

View File

@ -8,7 +8,7 @@
<div id="search">
<div class="row">
<div class="cell1 100px"><?php print $text_email_addresses; ?>:</div>
<div class="logincell"><?php print $text_email_addresses; ?>:</div>
<div class="cell2">
<?php print $emails; ?>
</div>
@ -17,7 +17,7 @@
<?php if(Registry::get('auditor_user') == 1 && RESTRICTED_AUDITOR == 1) { ?>
<div class="row">
<div class="cell1 100px"><?php print $text_domains; ?>:</div>
<div class="logincell"><?php print $text_domains; ?>:</div>
<div class="cell2">
<?php print $domains; ?>
</div>
@ -28,7 +28,7 @@
<?php if(Registry::get('auditor_user') == 0 || RESTRICTED_AUDITOR == 0) { ?>
<div class="row">
<div class="cell1 100px"><?php print $text_groups; ?>:</div>
<div class="logincell"><?php print $text_groups; ?>:</div>
<div class="cell2">
<?php print $groups; ?>
</div>
@ -39,7 +39,7 @@
<?php if(ENABLE_FOLDER_RESTRICTIONS == 1) { ?>
<div class="row">
<div class="cell1 100px"><?php print $text_folders; ?>:</div>
<div class="logincell"><?php print $text_folders; ?>:</div>
<div class="cell2">
<?php print $folders; ?>
</div>
@ -54,10 +54,11 @@
<div id="search">
<h4><?php print $text_display_settings; ?></h4>
<div id="search1">
<div class="row">
<div class="cell1 100px"><?php print $text_page_length; ?>:</div>
<div class="logincell"><?php print $text_page_length; ?>:</div>
<div class="cell2">
<select name="pagelen">
<option value="10"<?php if($page_len == 10) { ?> selected="selected"<?php } ?>>10
@ -69,7 +70,7 @@
</div>
<div class="row">
<div class="cell1"><?php print $text_theme; ?>:</div>
<div class="logincell"><?php print $text_theme; ?>:</div>
<div class="cell2">
<select name="theme">
<?php foreach(Registry::get('themes') as $t) { ?>
@ -80,7 +81,7 @@
</div>
<div class="row">
<div class="cell1"><?php print $text_language; ?>:</div>
<div class="logincell"><?php print $text_language; ?>:</div>
<div class="cell2">
<select name="lang">
<option value=""><?php print $text_use_browser_settings; ?></option>
@ -93,8 +94,8 @@
<div class="row">
<div class="cell1">&nbsp;</div>
<div class="cell2"><input type="submit" value="<?php print $text_set; ?>" /> <input type="reset" value="<?php print $text_cancel; ?>" /></div>
<div class="logincell">&nbsp;</div>
<div class="cell2"><input type="submit" value="<?php print $text_set; ?>" class="btn btn-primary" /> <input type="reset" class="btn" value="<?php print $text_cancel; ?>" /></div>
</div>
@ -121,7 +122,7 @@
</div>
<div class="row">
<div class="domaincell">&nbsp;</div>
<div class="domaincell"><input type="submit" value="<?php print $text_submit; ?>" /> <input type="reset" value="<?php print $text_cancel; ?>" /></div>
<div class="domaincell"><input type="submit" class="btn btn-primary" value="<?php print $text_submit; ?>" /> <input type="reset" class="btn" value="<?php print $text_cancel; ?>" /></div>
</div>
</div>
</form>