mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-13 13:07:02 +02:00
heavy code cleanup in the webui
This commit is contained in:
@ -1,100 +0,0 @@
|
||||
|
||||
<div id="search">
|
||||
<div id="search1">
|
||||
|
||||
<div id="ss1" style="border: 0px solid red;">
|
||||
|
||||
<input type="hidden" name="sort" id="sort" value="date" />
|
||||
<input type="hidden" name="order" id="order" value="0" />
|
||||
|
||||
<div id="myid">
|
||||
|
||||
<div id="myid0" class="row" style="margin:0; padding:0; border: 0px solid blue; float: left;">
|
||||
|
||||
<div class="cell1s">
|
||||
<select name="f[]" id="key0" class="advselect">
|
||||
<option value="user"<?php if(isset($key0) && $key0 == 0) { ?> selected="selected"<?php } ?>><?php print $text_user; ?></option>
|
||||
<option value="ipaddr"<?php if(isset($key0) && $key0 == 1) { ?> selected="selected"<?php } ?>><?php print $text_ipaddr; ?></option>
|
||||
<option value="ref"<?php if(isset($key0) && $key0 == 2) { ?> selected="selected"<?php } ?>><?php print $text_ref; ?></option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="cell2">
|
||||
<input type="text" class="advtext" name="v[]" id="val0" value="<?php if(isset($val0)) { print $val0; } ?>" />
|
||||
<input type="button" class="short" value="+" onclick="javascript:addauditblock('', '', '<?php print $text_user; ?>', '<?php print $text_ipaddr; ?>', '<?php print $text_ref; ?>'); return false;" />
|
||||
<input type="button" class="short" value="-" onclick="javascript:removeme('myid0'); return false;" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div id="ss1" style="border: 0px solid blue;">
|
||||
<div class="row">
|
||||
<div class="cell1" style="border: 0px solid blue; width: 87px;"><?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; } ?>" style="width: 170px;"/></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="ss1" style="border: 0px solid blue;">
|
||||
<div class="row">
|
||||
<div class="cell1s"><?php print $text_action; ?>: </div>
|
||||
<div class="cell2">
|
||||
<select name="action" id="action" class="advselect2">
|
||||
<option value="<?php print ACTION_ALL; ?>"><?php print $text_all; ?></option>
|
||||
<option value="<?php print ACTION_UNKNOWN; ?>"<?php if(isset($action) && $action == ACTION_UNKNOWN) { ?> selected="selected"<?php } ?>><?php print $text_unknown; ?></option>
|
||||
<option value="<?php print ACTION_LOGIN; ?>"<?php if(isset($action) && $action == ACTION_LOGIN) { ?> selected="selected"<?php } ?>><?php print $text_login2; ?></option>
|
||||
<option value="<?php print ACTION_LOGIN_FAILED; ?>"<?php if(isset($action) && $action == ACTION_LOGIN_FAILED) { ?> selected="selected"<?php } ?>><?php print $text_login_failed; ?></option>
|
||||
<option value="<?php print ACTION_LOGOUT; ?>"<?php if(isset($action) && $action == ACTION_LOGOUT) { ?> selected="selected"<?php } ?>><?php print $text_logout2; ?></option>
|
||||
<option value="<?php print ACTION_VIEW_MESSAGE; ?>"<?php if(isset($action) && $action == ACTION_VIEW_MESSAGE) { ?> selected="selected"<?php } ?>><?php print $text_view_message2; ?></option>
|
||||
<option value="<?php print ACTION_VIEW_HEADER; ?>"<?php if(isset($action) && $action == ACTION_VIEW_HEADER) { ?> selected="selected"<?php } ?>><?php print $text_view_header; ?></option>
|
||||
<option value="<?php print ACTION_UNAUTHORIZED_VIEW_MESSAGE; ?>"<?php if(isset($action) && $action == ACTION_UNAUTHORIZED_VIEW_MESSAGE) { ?> selected="selected"<?php } ?>><?php print $text_unauthorized_view_message; ?></option>
|
||||
<option value="<?php print ACTION_RESTORE_MESSAGE; ?>"<?php if(isset($action) && $action == ACTION_RESTORE_MESSAGE) { ?> selected="selected"<?php } ?>><?php print $text_restore_message; ?></option>
|
||||
<option value="<?php print ACTION_DOWNLOAD_MESSAGE; ?>"<?php if(isset($action) && $action == ACTION_DOWNLOAD_MESSAGE) { ?> selected="selected"<?php } ?>><?php print $text_download_message2; ?></option>
|
||||
<option value="<?php print ACTION_SEARCH; ?>"<?php if(isset($action) && $action == ACTION_SEARCH) { ?> selected="selected"<?php } ?>><?php print $text_search2; ?></option>
|
||||
<option value="<?php print ACTION_SAVE_SEARCH; ?>"<?php if(isset($action) && $action == ACTION_SAVE_SEARCH) { ?> selected="selected"<?php } ?>><?php print $text_save_search; ?></option>
|
||||
<option value="<?php print ACTION_CHANGE_USER_SETTINGS; ?>"<?php if(isset($action) && $action == ACTION_CHANGE_USER_SETTINGS) { ?> selected="selected"<?php } ?>><?php print $text_change_user_settings; ?></option>
|
||||
<option value="<?php print ACTION_REMOVE_MESSAGE; ?>"<?php if(isset($action) && $action == ACTION_REMOVE_MESSAGE) { ?> selected="selected"<?php } ?>><?php print $text_remove_message2; ?></option>
|
||||
<option value="<?php print ACTION_UNAUTHORIZED_REMOVE_MESSAGE; ?>"<?php if(isset($action) && $action == ACTION_UNAUTHORIZED_REMOVE_MESSAGE) { ?> selected="selected"<?php } ?>><?php print $text_unauthorized_remove_message; ?></option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="cell1s"> </div>
|
||||
<div class="cell2">
|
||||
<button id="button_search" class="active" onclick="script:load_audit_results('<?php print AUDIT_HELPER_URL; ?>', assemble_search_term(count), 0);"><?php print $text_search; ?></button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<input type="hidden" name="tag" value="" />
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div id="search2">
|
||||
<div id="A1"></div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div id="AS">
|
||||
<div id="auditresultscontainer" class="empty">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<?php if(isset($searchterm)) { ?>
|
||||
|
||||
<script>
|
||||
<?php foreach($blocks as $block) { ?>
|
||||
addauditblock('<?php print $block['key']; ?>', '<?php print $block['val']; ?>', '<?php print $text_user; ?>', '<?php print $text_ipaddr; ?>', '<?php print $text_ref; ?>');
|
||||
<?php } ?>
|
||||
|
||||
</script>
|
||||
|
||||
<?php } ?>
|
||||
|
||||
|
@ -1,100 +1,35 @@
|
||||
|
||||
<div id="pagenav">
|
||||
<div class="navrow">
|
||||
<?php if($n >= $page_len){ ?>
|
||||
<div id="pagingleft">
|
||||
<?php if($page > 0) { ?><a href="#" class="navlink" onclick="script:load_audit_results('<?php print AUDIT_HELPER_URL; ?>', assemble_search_term(count), 0); return false;"><<</a> <?php } else { ?><span class="navlink"><< </span><?php } ?>
|
||||
<?php if($page > 0) { ?><a href="#" class="navlink" onclick="script:load_audit_results('<?php print AUDIT_HELPER_URL; ?>', assemble_search_term(count), <?php print $prev_page; ?>); return false;"> < </a> <?php } else { ?><span class="navlink"> < </span><?php } ?>
|
||||
</div>
|
||||
|
||||
<div id="pagingcenter">
|
||||
<?php print $hits_from; ?>-<?php print $hits_to; ?>, <?php print $text_total; ?>: <?php print $n; ?>
|
||||
</div>
|
||||
|
||||
<div id="pagingright">
|
||||
<?php if($next_page <= $total_pages){ ?><a href="#" class="navlink" onclick="script:load_audit_results('<?php print AUDIT_HELPER_URL; ?>', assemble_search_term(count), <?php print $next_page; ?>); return false;">> </a> <?php } else { ?><span class="navlink">> </span><?php } ?>
|
||||
<?php if($page < $total_pages) { ?> <a href="#" class="navlink" onclick="script:load_audit_results('<?php print AUDIT_HELPER_URL; ?>', assemble_search_term(count), <?php print $total_pages; ?>); return false;"> >> </a><?php } else { ?> <span class="navlink"> >></span><?php } ?>
|
||||
</div>
|
||||
|
||||
<?php } else { ?> <?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div id="auditresultscontainer"<?php if($n <= 0) { ?> class="empty"<?php } ?> style="border: 0px solid red;">
|
||||
<div id="auditresultscontainer"<?php if($n <= 0) { ?> class="empty"<?php } ?>>
|
||||
|
||||
<div id="results">
|
||||
|
||||
|
||||
<div class="resultrow">
|
||||
<?php if($n > 0){ ?>
|
||||
<div class="cellaudit title">
|
||||
<?php print $text_date; ?>
|
||||
<a href="#" onclick="script:fix_search_order('date', 1); load_audit_results('<?php print AUDIT_HELPER_URL; ?>', assemble_search_term(count), 0); return false;"><img src="<?php print ICON_ARROW_UP; ?>" alt="" border="0"></a>
|
||||
<a href="#" onclick="script:fix_search_order('date', 0); load_audit_results('<?php print AUDIT_HELPER_URL; ?>', assemble_search_term(count), 0); return false;"><img src="<?php print ICON_ARROW_DOWN; ?>" alt="" border="0"></a>
|
||||
</div>
|
||||
<div class="cellaudit title">
|
||||
<?php print $text_user; ?>
|
||||
<a href="#" onclick="script:fix_search_order('user', 1); load_audit_results('<?php print AUDIT_HELPER_URL; ?>', assemble_search_term(count), 0); return false;"><img src="<?php print ICON_ARROW_UP; ?>" alt="" border="0"></a>
|
||||
<a href="#" onclick="script:fix_search_order('user', 0); load_audit_results('<?php print AUDIT_HELPER_URL; ?>', assemble_search_term(count), 0); return false;"><img src="<?php print ICON_ARROW_DOWN; ?>" alt="" border="0"></a>
|
||||
</div>
|
||||
|
||||
<div class="cellaudit title">
|
||||
<?php print $text_ipaddr; ?>
|
||||
<a href="#" onclick="script:fix_search_order('ipaddr', 1); load_audit_results('<?php print AUDIT_HELPER_URL; ?>', assemble_search_term(count), 0); return false;"><img src="<?php print ICON_ARROW_UP; ?>" alt="" border="0"></a>
|
||||
<a href="#" onclick="script:fix_search_order('ipaddr', 0); load_audit_results('<?php print AUDIT_HELPER_URL; ?>', assemble_search_term(count), 0); return false;"><img src="<?php print ICON_ARROW_DOWN; ?>" alt="" border="0"></a>
|
||||
</div>
|
||||
|
||||
<div class="cellaudit title">
|
||||
<?php print $text_action; ?>
|
||||
<a href="#" onclick="script:fix_search_order('action', 1); load_audit_results('<?php print AUDIT_HELPER_URL; ?>', assemble_search_term(count), 0); return false;"><img src="<?php print ICON_ARROW_UP; ?>" alt="" border="0"></a>
|
||||
<a href="#" onclick="script:fix_search_order('action', 0); load_audit_results('<?php print AUDIT_HELPER_URL; ?>', assemble_search_term(count), 0); return false;"><img src="<?php print ICON_ARROW_DOWN; ?>" alt="" border="0"></a>
|
||||
</div>
|
||||
<div class="cellaudit title">
|
||||
<?php print $text_description; ?>
|
||||
<a href="#" onclick="script:fix_search_order('description', 1); load_audit_results('<?php print AUDIT_HELPER_URL; ?>', assemble_search_term(count), 0); return false;"><img src="<?php print ICON_ARROW_UP; ?>" alt="" border="0"></a>
|
||||
<a href="#" onclick="script:fix_search_order('description', 0); load_audit_results('<?php print AUDIT_HELPER_URL; ?>', assemble_search_term(count), 0); return false;"><img src="<?php print ICON_ARROW_DOWN; ?>" alt="" border="0"></a>
|
||||
</div>
|
||||
|
||||
<div class="cellaudit title">
|
||||
<?php print $text_ref; ?>
|
||||
</div>
|
||||
|
||||
<?php } else if($n == 0) { ?>
|
||||
<div class="cell3 error"><?php print $text_empty_search_result; ?></div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<?php $i=0; foreach ($messages as $message) { $i++; ?>
|
||||
<?php if($n > 0) { $i=0; foreach ($messages as $message) { $i++; ?>
|
||||
|
||||
<div class="resultrow<?php if($i % 2) { ?> odd<?php } ?>">
|
||||
<div class="cellaudit date"><?php print $message['date']; ?></div>
|
||||
<div class="cellaudit"><?php print $message['email']; ?></div>
|
||||
<div class="cellaudit"><?php print $message['ipaddr']; ?></div>
|
||||
<div class="cellaudit"><?php print $actions[$message['action']]; ?></div>
|
||||
<div class="cellaudit"><?php if($message['description'] != $message['shortdescription']) { ?><span onmouseover="Tip('<?php print preg_replace("/&/", "&", $message['description']); ?>', BALLOON, true, ABOVE, true)" onmouseout="UnTip()"><?php print $message['shortdescription']; ?></span><?php } else { print $message['description']; } ?></div>
|
||||
<div class="cellaudit"><?php print $message['id']; ?></div>
|
||||
<div class="auditcell date"><?php print $message['date']; ?></div>
|
||||
<div class="auditcell user"><?php print $message['email']; ?></div>
|
||||
<div class="auditcell ip"><?php print $message['ipaddr']; ?></div>
|
||||
<div class="auditcell action"><?php print $actions[$message['action']]; ?></div>
|
||||
<div class="auditcell description"><?php if($message['description'] != $message['shortdescription']) { ?><span title="<?php print $message['description']; ?>"><?php print $message['shortdescription']; ?></span><?php } else { print $message['description']; } ?></div>
|
||||
<div class="auditcell ref"><?php print $message['id']; ?></div>
|
||||
</div>
|
||||
|
||||
<?php } } else { ?>
|
||||
<div class="cell3 error"><?php print $text_empty_search_result; ?></div>
|
||||
<?php } ?>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div id="pagenav">
|
||||
<div class="navrow">
|
||||
<?php if($n >= $page_len){ ?>
|
||||
<div id="pagingleft">
|
||||
<?php if($page > 0) { ?><a href="#" class="navlink" onclick="script:load_audit_results('<?php print AUDIT_HELPER_URL; ?>', assemble_search_term(count), 0); return false;"><<</a> <?php } else { ?><span class="navlink"><< </span><?php } ?>
|
||||
<?php if($page > 0) { ?><a href="#" class="navlink" onclick="script:load_audit_results('<?php print AUDIT_HELPER_URL; ?>', assemble_search_term(count), <?php print $prev_page; ?>); return false;"> < </a> <?php } else { ?><span class="navlink"> < </span><?php } ?>
|
||||
<?php if($page > 0) { ?><a href="#" class="navlink" onclick="Piler.navigation(0);"><<</a> <?php } else { ?><span class="navlink"><< </span><?php } ?>
|
||||
<?php if($page > 0) { ?><a href="#" class="navlink" onclick="Piler.navigation(<?php print $prev_page; ?>);"> < </a> <?php } else { ?><span class="navlink"> < </span><?php } ?>
|
||||
</div>
|
||||
|
||||
<div id="pagingcenter">
|
||||
@ -102,8 +37,8 @@
|
||||
</div>
|
||||
|
||||
<div id="pagingright">
|
||||
<?php if($next_page <= $total_pages){ ?><a href="#" class="navlink" onclick="script:load_audit_results('<?php print AUDIT_HELPER_URL; ?>', assemble_search_term(count), <?php print $next_page; ?>); return false;">> </a> <?php } else { ?><span class="navlink">> </span><?php } ?>
|
||||
<?php if($page < $total_pages) { ?> <a href="#" class="navlink" onclick="script:load_audit_results('<?php print AUDIT_HELPER_URL; ?>', assemble_search_term(count), <?php print $total_pages; ?>); return false;"> >> </a><?php } else { ?> <span class="navlink"> >></span><?php } ?>
|
||||
<?php if($next_page <= $total_pages){ ?><a href="#" class="navlink" onclick="Piler.navigation(<?php print $next_page; ?>);">> </a> <?php } else { ?><span class="navlink">> </span><?php } ?>
|
||||
<?php if($page < $total_pages) { ?> <a href="#" class="navlink" onclick="Piler.navigation(<?php print $total_pages; ?>);"> >> </a><?php } else { ?> <span class="navlink"> >></span><?php } ?>
|
||||
</div>
|
||||
|
||||
<?php } else { ?> <?php } ?>
|
||||
@ -111,4 +46,3 @@
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
113
webui/view/theme/default/templates/common/layout-audit.tpl
Normal file
113
webui/view/theme/default/templates/common/layout-audit.tpl
Normal file
@ -0,0 +1,113 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="hu" lang="hu">
|
||||
|
||||
<head>
|
||||
<title><?php print $title; ?></title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
||||
<meta http-equiv="Content-Language" content="en" />
|
||||
<meta name="keywords" content="piler email archiver" />
|
||||
<meta name="description" content="piler email archiver" />
|
||||
<meta name="rating" content="general" />
|
||||
<meta name="robots" content="all" />
|
||||
|
||||
<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="/view/javascript/rc-splitter.js"></script>
|
||||
<script type="text/javascript" src="/view/javascript/piler.js"></script>
|
||||
</head>
|
||||
|
||||
<body onload="Piler.add_shortcuts();">
|
||||
|
||||
<div id="messagebox1"></div>
|
||||
|
||||
<div id="piler1">
|
||||
|
||||
|
||||
<div id="menu">
|
||||
<?php print $menu; ?>
|
||||
</div>
|
||||
|
||||
<div id="expertsearch">
|
||||
|
||||
<input type="hidden" name="searchtype" id="searchtype" value="expert" />
|
||||
<input type="hidden" name="sort" id="sort" value="date" />
|
||||
<input type="hidden" name="order" id="order" value="0" />
|
||||
|
||||
<input type="text" id="_search" name="_search" class="advtextgrey" value="<?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; ?>" />
|
||||
|
||||
<div id="sspinner">
|
||||
<img src="/view/theme/default/images/spinner.gif" id="spinner" alt="spinner" />
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div id="resultsheader">
|
||||
<div id="resultstop">
|
||||
<div class="resultrow">
|
||||
<div class="auditcell date header">
|
||||
<?php print $text_date; ?>
|
||||
<a xid="date" xorder="1" onclick="Piler.changeOrder(this);"><img src="<?php print ICON_ARROW_UP; ?>" alt="" border="0"></a>
|
||||
<a xid="date" xorder="0" onclick="Piler.changeOrder(this);"><img src="<?php print ICON_ARROW_DOWN; ?>" alt="" border="0"></a>
|
||||
</div>
|
||||
<div class="auditcell user header">
|
||||
<?php print $text_user; ?>
|
||||
<a xid="user" xorder="1" onclick="Piler.changeOrder(this);"><img src="<?php print ICON_ARROW_UP; ?>" alt="" border="0"></a>
|
||||
<a xid="user" xorder="0" onclick="Piler.changeOrder(this);"><img src="<?php print ICON_ARROW_DOWN; ?>" alt="" border="0"></a>
|
||||
</div>
|
||||
<div class="auditcell ip header">
|
||||
<?php print $text_ipaddr; ?>
|
||||
<a xid="ipaddr" xorder="1" onclick="Piler.changeOrder(this);"><img src="<?php print ICON_ARROW_UP; ?>" alt="" border="0"></a>
|
||||
<a xid="ipaddr" xorder="0" onclick="Piler.changeOrder(this);"><img src="<?php print ICON_ARROW_DOWN; ?>" alt="" border="0"></a>
|
||||
</div>
|
||||
<div class="auditcell action header">
|
||||
<?php print $text_action; ?>
|
||||
<a xid="action" xorder="1" onclick="Piler.changeOrder(this);"><img src="<?php print ICON_ARROW_UP; ?>" alt="" border="0"></a>
|
||||
<a xid="action" xorder="0" onclick="Piler.changeOrder(this);"><img src="<?php print ICON_ARROW_DOWN; ?>" alt="" border="0"></a>
|
||||
</div>
|
||||
<div class="auditcell description header">
|
||||
<?php print $text_description; ?>
|
||||
</div>
|
||||
<div class="auditcell ref header">
|
||||
<?php print $text_ref; ?>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="mainscreen">
|
||||
|
||||
<div id="mailleftcontainer">
|
||||
</div>
|
||||
|
||||
<div id="mailrightcontainer<?php if(ENABLE_FOLDER_RESTRICTIONS == 0) { ?>nofolder<?php } ?>">
|
||||
|
||||
<div id="mailrightcontent">
|
||||
|
||||
<div id="mailcontframe">
|
||||
|
||||
<div id="messagelistcontainer" class="boxlistcontent">
|
||||
|
||||
<?php print $content; ?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
@ -11,15 +11,29 @@
|
||||
<meta name="robots" content="all" />
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="/view/theme/default/stylesheet/style-<?php print THEME; ?>.css" />
|
||||
<script type="text/javascript" src="/view/javascript/piler.js"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
function append_value_from_slider(id, value)
|
||||
{
|
||||
var prefix = '\n';
|
||||
|
||||
a = opener.document.getElementById(id);
|
||||
if(a && a.value == '') prefix = '';
|
||||
|
||||
a.value += prefix + value;
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body style="background-color: white;">
|
||||
<body class="email">
|
||||
|
||||
<div id="wrap" style="width:200px; height: 300px; border: 0px;">
|
||||
<div id="wrapemail">
|
||||
|
||||
<?php if(isset($title) && $title) { ?><h3><?php print $title; ?></h3><?php } ?>
|
||||
|
||||
<?php print $content; ?>
|
||||
|
||||
|
||||
|
@ -1,178 +0,0 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="hu" lang="hu">
|
||||
|
||||
<head>
|
||||
<title><?php print $title; ?></title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
||||
<meta http-equiv="Content-Language" content="en" />
|
||||
<meta name="keywords" content="piler email archiver" />
|
||||
<meta name="description" content="piler email archiver" />
|
||||
<meta name="rating" content="general" />
|
||||
<meta name="robots" content="all" />
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="/view/theme/default/stylesheet/mini.css" />
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="/view/theme/default/stylesheet/style-<?php print THEME; ?>.css" />
|
||||
<link rel="stylesheet" type="text/css" href="/view/theme/default/stylesheet/jquery.ui.all.css" />
|
||||
|
||||
|
||||
<script type="text/javascript" src="/view/javascript/jquery-1.7.1.min.js"></script>
|
||||
<script type="text/javascript" src="/view/javascript/jquery-ui-1.8.13.custom.min.js"></script>
|
||||
<script type="text/javascript" src="/view/javascript/jquery.dropdownPlain.js"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
var current_message_id = 0;
|
||||
var piler_ui_lang = '<?php if(LANG == 'en') { ?>en-GB<?php } else { print LANG; } ?>';
|
||||
var domains_search_url = '<?php print SITE_URL; ?>/index.php?route=domain/domains&';
|
||||
var email_search_url = '<?php print SITE_URL; ?>index.php?route=group/email&';
|
||||
var group_search_url = '<?php print SITE_URL; ?>index.php?route=group/group&';
|
||||
var folder_search_url = '<?php print SITE_URL; ?>index.php?route=folder/folder&';
|
||||
var folder_copy_url = '<?php print SITE_URL; ?>index.php?route=folder/copy';
|
||||
var message_loader_url = '<?php print SITE_URL; ?>message.php/';
|
||||
</script>
|
||||
|
||||
<script type="text/javascript" src="/view/javascript/piler.js"></script>
|
||||
<script type="text/javascript" src="/view/javascript/splitter.js"></script>
|
||||
<script type="text/javascript" src="/view/javascript/rc1.js"></script>
|
||||
<script type="text/javascript" src="/view/javascript/rc2.js"></script>
|
||||
|
||||
<script type="text/javascript" src="/view/javascript/shortcut.js"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
var split = new rcube_webmail();
|
||||
|
||||
shortcut.add("Down", function() {
|
||||
move_message_list_scrollbar('down');
|
||||
},{
|
||||
'type':'keydown',
|
||||
'propagate':true,
|
||||
'target':document
|
||||
});
|
||||
|
||||
shortcut.add("Up", function() {
|
||||
move_message_list_scrollbar('up');
|
||||
},{
|
||||
'type':'keydown',
|
||||
'propagate':true,
|
||||
'target':document
|
||||
});
|
||||
|
||||
shortcut.add("Enter", function() {
|
||||
var a;
|
||||
a = document.getElementById('ref');
|
||||
if(a) a.value='';
|
||||
a = document.getElementById('prefix');
|
||||
if(a) a.value='';
|
||||
load_search_results('<?php print SEARCH_HELPER_URL; ?>', assemble_search_term(count), 0);
|
||||
},{
|
||||
'type':'keydown',
|
||||
'propagate':true,
|
||||
'target':document
|
||||
});
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
<script>
|
||||
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body <?php if($open_saved_search_box == 1) { ?> onload="load_ajax_url('<?php print SAVE_SEARCH_URL; ?>&<?php print $search_args; ?>');" style="cursor: wait"<?php } ?>>
|
||||
|
||||
<div id="messagebox1" style="position: absolute; top: 0px; left: 50%; border: 3px solid red; display: none; background: orange; color: #000000; font-weight: bold; padding: 15px; z-index: 1;"></div>
|
||||
|
||||
<div id="fuku1">
|
||||
|
||||
|
||||
<div id="menu">
|
||||
<?php print $menu; ?>
|
||||
</div>
|
||||
|
||||
<div style="position: absolute; border: 1px solid black; right: 20px; left: 20px; text-align: right; ">
|
||||
|
||||
<input type="hidden" name="searchtype" id="searchtype" value="expert" />
|
||||
<input type="hidden" name="sort" id="sort" value="date" />
|
||||
<input type="hidden" name="order" id="order" value="0" />
|
||||
<input type="hidden" name="ref" id="ref" value="" />
|
||||
<input type="hidden" name="prefix" id="prefix" value="" />
|
||||
|
||||
<span style="font-weight: bold;"><?php print $text_search; ?>:</span>
|
||||
|
||||
<input type="text" id="_search" name="_search" class="advtext<?php if(!isset($_search)) { ?>grey<?php } ?>" style="width: 528px;margin: 0px;" value="<?php if(isset($_search)) { print $_search; } else { print $text_enter_search_terms; ?>" onclick="if(expsrc==0){this.value=''; this.className = 'advtext'; expsrc++;}<?php } ?>" />
|
||||
|
||||
<div class="aoo" onclick="javascript: document.getElementById('searchpopup1').style.display = ''; return false;">
|
||||
<div class="aoq"></div>
|
||||
</div>
|
||||
|
||||
<button id="button_search" class="active" style="margin-left: 10px; margin-right: 0px; height: 20px; width: 70px;" onclick="script:var a=document.getElementById('ref'); if(a) a.value=''; a = document.getElementById('prefix'); if(a) a.value=''; load_search_results('<?php print SEARCH_HELPER_URL; ?>', assemble_search_term(count), 0);"><?php print $text_search; ?></button>
|
||||
<input type="button" class="advsecondary" style="height: 20px; width: 70px;" onclick="javascript:var a=document.getElementById('_search'); a.value=''; a = document.getElementById('ref'); a.value=''; return false;" value="<?php print $text_cancel; ?>" />
|
||||
<input type="button" class="advsecondary" style="height: 20px; width: 70px;" value="<?php print $text_save; ?>" onclick="javascript:send_ajax_post_request('<?php print SAVE_SEARCH_URL; ?>', assemble_search_term(0) + '&save=1'); show_message('messagebox1', '<p><?php print $text_saved; ?></p>', 0.85);" />
|
||||
<input type="button" class="advsecondary" style="height: 20px; width: 70px;" value="<?php print $text_load; ?>" onclick="javascript:load_saved_search_terms('<?php print LOAD_SAVED_SEARCH_URL; ?>');" />
|
||||
|
||||
|
||||
<?php print $popup; ?>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div id="mainscreen">
|
||||
<div id="mailleftcontainer">
|
||||
|
||||
<?php if(ENABLE_FOLDER_RESTRICTIONS == 1) { ?>
|
||||
<div id="mailboxlist-container">
|
||||
<?php print $folder; ?>
|
||||
</div>
|
||||
|
||||
|
||||
<script type="text/javascript">
|
||||
var mailviewsplitv = new rcube_splitter({id:'splitter1', p1: 'mailleftcontainer', p2: 'mailrightcontainer', orientation: 'v', relative: true, start: 165});
|
||||
split.add_onload('mailviewsplitv.init()');
|
||||
</script>
|
||||
|
||||
<?php } ?>
|
||||
|
||||
</div>
|
||||
|
||||
<div id="mailrightcontainer"<?php if(ENABLE_FOLDER_RESTRICTIONS == 0) { ?> style="left: 0px;"<?php } ?>>
|
||||
<div id="mailrightcontent">
|
||||
|
||||
<div id="mailcontframe">
|
||||
|
||||
<div id="messagelistcontainer" class="boxlistcontent" style="top:0; height:auto;">
|
||||
<?php print $content; ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script type="text/javascript">
|
||||
var mailviewsplit = new rcube_splitter({id:'splitter2', p1: 'mailcontframe', p2: 'mailpreviewframe', orientation: 'h', relative: true, start: 205});
|
||||
split.add_onload('mailviewsplit.init()');
|
||||
</script>
|
||||
|
||||
<div id="mailpreviewframe" onmouseover="javascript: current_message_id = 0;" style="text-align: left; overflow:auto;">
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function(){
|
||||
split.init();
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
161
webui/view/theme/default/templates/common/layout-search.tpl
Normal file
161
webui/view/theme/default/templates/common/layout-search.tpl
Normal file
@ -0,0 +1,161 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="hu" lang="hu">
|
||||
|
||||
<head>
|
||||
<title><?php print $title; ?></title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
||||
<meta http-equiv="Content-Language" content="en" />
|
||||
<meta name="keywords" content="piler email archiver" />
|
||||
<meta name="description" content="piler email archiver" />
|
||||
<meta name="rating" content="general" />
|
||||
<meta name="robots" content="all" />
|
||||
|
||||
<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="/view/javascript/rc-splitter.js"></script>
|
||||
<script type="text/javascript" src="/view/javascript/piler.js"></script>
|
||||
</head>
|
||||
|
||||
<body onload="Piler.add_shortcuts();">
|
||||
|
||||
<div id="messagebox1"></div>
|
||||
|
||||
<div id="piler1">
|
||||
|
||||
|
||||
<div id="menu">
|
||||
<?php print $menu; ?>
|
||||
</div>
|
||||
|
||||
<div id="expertsearch">
|
||||
|
||||
<input type="hidden" name="searchtype" id="searchtype" value="expert" />
|
||||
<input type="hidden" name="sort" id="sort" value="date" />
|
||||
<input type="hidden" name="order" id="order" value="0" />
|
||||
<input type="hidden" name="ref" id="ref" value="" />
|
||||
<input type="hidden" name="prefix" id="prefix" value="" />
|
||||
|
||||
<input type="text" id="_search" name="_search" class="advtextgrey" value="<?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="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; ?>" />
|
||||
|
||||
|
||||
<?php print $popup; ?>
|
||||
|
||||
<div id="sspinner">
|
||||
<img src="/view/theme/default/images/spinner.gif" id="spinner" alt="spinner" />
|
||||
</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"> </div>
|
||||
<div class="resultcell end"> </div>
|
||||
<div class="resultcell end"> </div>
|
||||
<?php if(ENABLE_ON_THE_FLY_VERIFICATION == 1) { ?>
|
||||
<div class="resultcell verification"> </div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div id="mainscreen">
|
||||
<div id="mailleftcontainer">
|
||||
|
||||
<?php if(ENABLE_FOLDER_RESTRICTIONS == 1) { ?>
|
||||
<div id="mailboxlist-container">
|
||||
<?php print $folder; ?>
|
||||
</div>
|
||||
|
||||
|
||||
<script type="text/javascript">
|
||||
var mailviewsplitv = new rcube_splitter({id:'splitter1', p1: 'mailleftcontainer', p2: 'mailrightcontainer', orientation: 'v', relative: true, start: 165});
|
||||
split.add_onload('mailviewsplitv.init()');
|
||||
</script>
|
||||
|
||||
<?php } ?>
|
||||
|
||||
</div>
|
||||
|
||||
<div id="mailrightcontainer<?php if(ENABLE_FOLDER_RESTRICTIONS == 0) { ?>nofolder<?php } ?>">
|
||||
|
||||
<div id="mailrightcontent">
|
||||
|
||||
<div id="mailcontframe">
|
||||
|
||||
<div id="messagelistcontainer" class="boxlistcontent">
|
||||
|
||||
<?php print $content; ?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script type="text/javascript">
|
||||
var mailviewsplit = new rcube_splitter({id:'splitter2', p1: 'mailcontframe', p2: 'mailpreviewframe', orientation: 'h', relative: true, start: 205});
|
||||
split.add_onload('mailviewsplit.init()');
|
||||
</script>
|
||||
|
||||
<div id="mailpreviewframe">
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function(){
|
||||
split.init();
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
@ -10,39 +10,29 @@
|
||||
<meta name="rating" content="general" />
|
||||
<meta name="robots" content="all" />
|
||||
|
||||
<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" />
|
||||
<link rel="stylesheet" type="text/css" href="/view/theme/default/stylesheet/jquery.ui.all.css" />
|
||||
|
||||
<script type="text/javascript" src="/view/javascript/jquery-1.7.1.min.js"></script>
|
||||
<script type="text/javascript" src="/view/javascript/jquery-ui-1.8.13.custom.min.js"></script>
|
||||
<script type="text/javascript" src="/view/javascript/jquery.dropdownPlain.js"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
var piler_ui_lang = '<?php if(LANG == 'en') { ?>en-GB<?php } else { print LANG; } ?>';
|
||||
var domains_search_url = '<?php print SITE_URL; ?>/index.php?route=domain/domains&';
|
||||
var email_search_url = '<?php print SITE_URL; ?>index.php?route=group/email&';
|
||||
var group_search_url = '<?php print SITE_URL; ?>index.php?route=group/group&';
|
||||
var folder_search_url = '<?php print SITE_URL; ?>index.php?route=folder/folder&';
|
||||
var health_worker_url = "<?php print HEALTH_WORKER_URL; ?>";
|
||||
</script>
|
||||
|
||||
<script type="text/javascript" src="/view/javascript/jquery.min.js"></script>
|
||||
<script type="text/javascript" src="/view/javascript/jquery-ui-custom.min.js"></script>
|
||||
<script type="text/javascript" src="/view/javascript/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="loadHealth(); setInterval('loadHealth()', <?php print HEALTH_REFRESH; ?> * 1000)" style="cursor: wait"<?php } ?>>
|
||||
<body<?php if(isset($this->request->get['route']) && $this->request->get['route'] == 'health/health') { ?> onload="Piler.load_health();"<?php } ?>>
|
||||
|
||||
<div id="fuku1">
|
||||
<div id="piler1">
|
||||
|
||||
<div id="menu"><?php print $menu; ?></div>
|
||||
|
||||
<div id="main" align="center" style="border: 0px solid red; text-align: left; margin-left: 20px; margin-right: 20px; width: 1160px;">
|
||||
<div id="main" align="center">
|
||||
|
||||
<?php if($title) { ?><h3><?php print $title; ?></h3><?php } ?>
|
||||
|
||||
<?php print $content; ?>
|
||||
|
||||
</div>
|
||||
</div> <!-- main -->
|
||||
|
||||
<div id="footer"><?php print $footer; ?></div>
|
||||
|
||||
|
@ -1,16 +1,16 @@
|
||||
<?php if(Registry::get('username')) { ?>
|
||||
|
||||
<div class="row" style="z-index: 2;">
|
||||
<div class="row">
|
||||
|
||||
<div class="leftcell">
|
||||
|
||||
<div id="ss1">
|
||||
<div class="row">
|
||||
<div class="mcell" style="width: 350px; border: 0px solid red; z-index: 3;">
|
||||
<div class="mcell">
|
||||
|
||||
<ul class="dropdown">
|
||||
|
||||
<li class="search_li" style="font: 11px normal Arial, sans-serif;"><a class="hide" href="#"<?php if(strstr($_SERVER['QUERY_STRING'], "stat/") || strstr($_SERVER['QUERY_STRING'], "health/") || strstr($_SERVER['QUERY_STRING'], "audit/") ) { ?> id="active"<?php } ?>><?php print $text_monitor; ?></a> |
|
||||
<li class="search_li"><a class="hide" href="#"<?php if(strstr($_SERVER['QUERY_STRING'], "stat/") || strstr($_SERVER['QUERY_STRING'], "health/") || strstr($_SERVER['QUERY_STRING'], "audit/") ) { ?> id="active"<?php } ?>><?php print $text_monitor; ?></a> |
|
||||
<ul class="sub_menu">
|
||||
<li><a href="index.php?route=stat/stat×pan=daily"><?php print $text_statistics; ?></a></li>
|
||||
<li><a href="index.php?route=health/health"><?php print $text_health; ?></a></li>
|
||||
@ -20,7 +20,7 @@
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li class="search_li" style="font: 11px normal Arial, sans-serif;"><a class="hide" href="#"<?php if(strstr($_SERVER['QUERY_STRING'], "domain/") || ($_SERVER['QUERY_STRING'] != "route=user/settings" && strstr($_SERVER['QUERY_STRING'], "user/")) || strstr($_SERVER['QUERY_STRING'], "policy/") || strstr($_SERVER['QUERY_STRING'], "import/")) { ?> id="active"<?php } ?>><?php print $text_administration; ?></a> |
|
||||
<li class="search_li"><a class="hide" href="#"<?php if(strstr($_SERVER['QUERY_STRING'], "domain/") || ($_SERVER['QUERY_STRING'] != "route=user/settings" && strstr($_SERVER['QUERY_STRING'], "user/")) || strstr($_SERVER['QUERY_STRING'], "policy/") || strstr($_SERVER['QUERY_STRING'], "import/")) { ?> id="active"<?php } ?>><?php print $text_administration; ?></a> |
|
||||
<ul class="sub_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>
|
||||
@ -30,7 +30,7 @@
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li class="last_li" style="text-align: left; font: 11px normal Arial, sans-serif;"><a href="settings.php"<?php if(strstr($_SERVER['REQUEST_URI'], "settings.php")){ ?> id="active"<?php } ?>><?php print $text_settings; ?></a></li>
|
||||
<li class="last_li"><a href="settings.php"<?php if(strstr($_SERVER['REQUEST_URI'], "settings.php")){ ?> id="active"<?php } ?>><?php print $text_settings; ?></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1,6 +1,6 @@
|
||||
|
||||
<?php foreach($domains as $domain) { ?>
|
||||
<a href="#" onclick="javascript:append_domain_from_slider('domains', '<?php print $domain['domain']; ?>');"><?php print $domain['domain']; ?></a><br />
|
||||
<a href="#" onclick="append_value_from_slider('domains', '<?php print $domain['domain']; ?>');"><?php print $domain['domain']; ?></a><br />
|
||||
<?php } ?>
|
||||
|
||||
|
||||
@ -12,5 +12,5 @@
|
||||
<?php if($page < $total_pages){ ?><a href="index.php?route=domain/domains&page=<?php print $total_pages; ?>&term=<?php print $search; ?>&sort=<?php print $sort; ?>&order=<?php print $order; ?>" class="navlink"><?php } ?> » <?php if($page < $total_pages){ ?></a><?php } ?>
|
||||
</div>
|
||||
|
||||
<div style="margin-top: 20px;"><a href="#" onclick="javascript: window.close();">close</a></div>
|
||||
<div class="top20px"><a href="#" onclick="window.close();">close</a></div>
|
||||
|
||||
|
@ -1,9 +1,9 @@
|
||||
|
||||
<h4><?php print $text_add_new_domain; ?></h4>
|
||||
|
||||
<form method="post" name="add1" action="index.php?route=domain/domain" style="margin-bottom: 30px;">
|
||||
<form method="post" name="add1" action="index.php?route=domain/domain" class="formbottom">
|
||||
|
||||
<div id="ss1" style="margin-top: 10px;">
|
||||
<div id="ss1">
|
||||
<div class="row">
|
||||
<div class="domaincell"><?php print $text_domain; ?>:</div>
|
||||
<div class="domaincell"><input type="text" class="text" name="domain" /></div>
|
||||
@ -21,14 +21,13 @@
|
||||
|
||||
</form>
|
||||
|
||||
|
||||
<h4><?php print $text_existing_domains; ?></h4>
|
||||
|
||||
<div style="overflow:auto; height: 500px;">
|
||||
<div class="listarea">
|
||||
|
||||
<?php if(isset($domains)){ ?>
|
||||
|
||||
<div id="ss1" style="margin-top: 10px;">
|
||||
<div id="ss1">
|
||||
<div class="domainrow">
|
||||
<div class="domaincell"><?php print $text_domain; ?></div>
|
||||
<div class="domaincell"><?php print $text_mapped_domain; ?></div>
|
||||
@ -51,4 +50,3 @@
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
@ -13,7 +13,7 @@
|
||||
|
||||
<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="javascript:toggle_hint('s_piler_email', '<?php print $text_search_email_to_add; ?>', 1);" onblur="javascript: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" 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>
|
||||
|
||||
<div class="domainrow">
|
||||
|
@ -15,7 +15,7 @@
|
||||
|
||||
<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="javascript:toggle_hint('s_piler_email', '<?php print $text_search_email_to_add; ?>', 1);" onblur="javascript: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" 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>
|
||||
|
||||
<div class="domainrow">
|
||||
|
@ -1,6 +1,6 @@
|
||||
|
||||
<?php foreach($emails as $email) { ?>
|
||||
<a href="#" onclick="javascript:append_email_from_slider('email', '<?php print $email['email']; ?>');"><?php print $email['email']; ?></a><br />
|
||||
<a href="#" onclick="append_value_from_slider('email', '<?php print $email['email']; ?>');"><?php print $email['email']; ?></a><br />
|
||||
<?php } ?>
|
||||
|
||||
|
||||
@ -12,5 +12,5 @@
|
||||
<?php if($page < $total_pages){ ?><a href="index.php?route=group/email&page=<?php print $total_pages; ?>&term=<?php print $search; ?>&sort=<?php print $sort; ?>&order=<?php print $order; ?>" class="navlink"><?php } ?> » <?php if($page < $total_pages){ ?></a><?php } ?>
|
||||
</div>
|
||||
|
||||
<div style="margin-top: 20px;"><a href="#" onclick="javascript: window.close();">close</a></div>
|
||||
<div style="margin-top: 20px;"><a href="#" onclick="window.close();">close</a></div>
|
||||
|
||||
|
@ -24,7 +24,7 @@
|
||||
</div>
|
||||
|
||||
|
||||
<div id="ss1" style="margin-top: 10px; clear: both;">
|
||||
<div id="ss1">
|
||||
<div class="domainrow">
|
||||
<div class="domaincell"><?php print $text_groupname; ?> <a href="index.php?route=group/list&sort=groupname&order=0"><img src="<?php print ICON_ARROW_UP; ?>" border="0"></a> <a href="index.php?route=group/list&sort=groupname&order=1"><img src="<?php print ICON_ARROW_DOWN; ?>" border="0"></a></div>
|
||||
<div class="domaincell"> </div>
|
||||
|
@ -1,28 +0,0 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="hu" lang="hu">
|
||||
|
||||
<head>
|
||||
<title>clapf web UI</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
||||
<meta http-equiv="Content-Language" content="en" />
|
||||
<meta name="keywords" content="clapf, webui, web ui, spam, anti-spam, email, e-mail, mail, unsolicited commercial bulk email, blacklist, software, filtering, service, Bayes, Bayesian" />
|
||||
<meta name="description" content="clapf, webui, web ui, spam, anti-spam, antispam" />
|
||||
<meta name="rating" content="general" />
|
||||
|
||||
<meta name="robots" content="all" />
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<p>
|
||||
<form action="index.php?route=health/worker" method="post">
|
||||
<input type="hidden" name="confirmed" value="1" />
|
||||
<input type="hidden" name="resetcounters" value="1" />
|
||||
<input type="submit" name="submit" value="<?php print $text_confirm_to_reset_counters; ?>" />
|
||||
</form>
|
||||
</p>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
@ -37,7 +37,7 @@
|
||||
$status = 'ERROR'; $class = 'error';
|
||||
}
|
||||
?>
|
||||
<div class="<?php print $class; ?>"><span onmouseover="Tip('<?php print preg_replace("/\'/", "\'", $h[1]); ?>, <?php print $h[2]; ?>', BALLOON, true, ABOVE, true)" onmouseout="UnTip()"><?php print $h[3]; ?>: <?php print $status; ?></span></div>
|
||||
<div class="<?php print $class; ?>"><span><?php print $h[3]; ?>: <?php print $status; ?></span></div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -10,22 +10,22 @@
|
||||
|
||||
<?php if(ENABLE_GOOGLE_LOGIN == 1) { ?>
|
||||
<div class="row">
|
||||
<div class="fcell"><a href="<?php print $auth_url; ?>"><?php print $text_login_via_google; ?></a></div>
|
||||
<div class="logincell"><a href="<?php print $auth_url; ?>"><?php print $text_login_via_google; ?></a></div>
|
||||
</div>
|
||||
<?php } else { ?>
|
||||
<div class="row">
|
||||
<div class="fcell"><?php print $text_email; ?>:</div>
|
||||
<div class="fcell"><input type="text" class="textregular" name="username" /></div>
|
||||
<div class="logincell"><?php print $text_email; ?>:</div>
|
||||
<div class="logincell"><input type="text" class="textregular" name="username" /></div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="fcell"><?php print $text_password; ?>:</div>
|
||||
<div class="fcell"><input type="password" class="textregular" name="password" /></div>
|
||||
<div class="logincell"><?php print $text_password; ?>:</div>
|
||||
<div class="logincell"><input type="password" class="textregular" name="password" /></div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="fcell"> </div>
|
||||
<div class="fcell"><input type="submit" value="<?php print $text_submit; ?>" /> <input type="reset" value="<?php print $text_cancel; ?>" /></div>
|
||||
<div class="logincell"> </div>
|
||||
<div class="logincell"><input type="submit" value="<?php print $text_submit; ?>" /> <input type="reset" value="<?php print $text_cancel; ?>" /></div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
|
@ -1,5 +1 @@
|
||||
<p>
|
||||
|
||||
<?php print $text_logged_out; ?>. <a href="login.php" class="messagelink"><?php print $text_back; ?></a>
|
||||
|
||||
</p>
|
||||
<p><?php print $text_logged_out; ?>. <a href="login.php" class="messagelink"><?php print $text_back; ?></a></p>
|
||||
|
@ -1,11 +1,11 @@
|
||||
<div id="restorebox" style="position: absolute; top: 20px; left: 15%; border: 3px solid red; display: none; background: orange; color: #000000; font-weight: bold; padding: 15px; z-index: 1;">
|
||||
<div id="restorebox">
|
||||
<?php if(Registry::get('auditor_user') == 1 && count($rcpt) > 0) { ?>
|
||||
<?php foreach($rcpt as $r) { ?>
|
||||
<input type="checkbox" id="rcpt_<?php print $r; ?>" name="rcpt_<?php print $r; ?>" value="1" style="margin:0;"/> <?php print $r; ?><br />
|
||||
<input type="checkbox" class="restorebox" id="rcpt_<?php print $r; ?>" name="rcpt_<?php print $r; ?>" value="1" /> <?php print $r; ?><br />
|
||||
<?php } ?>
|
||||
<br />
|
||||
<input type="button" id="restore_button" name="restore_button" value="<?php print $text_restore; ?>" class="restore_to_mailbox_button" onclick="javascript: var p = assemble_recipient_list(); if(p == '') { show_message('messagebox1', '<?php print $text_select_recipients; ?>', 1); return false; } send_ajax_post_request('<?php print SITE_URL; ?>index.php?route=message/restore', 'id=<?php print $id; ?>&rcpt=' + p); var a=document.getElementById('restorebox'); a.style.display = 'none'; show_message('messagebox1', '<?php print $text_restored; ?>', 1); " />
|
||||
<input type="button" value="<?php print $text_cancel; ?>" class="restore_to_mailbox_button" onclick="script:var a=document.getElementById('restorebox'); a.style.display = 'none';" />
|
||||
<input type="button" id="restore_button" name="restore_button" value="<?php print $text_restore; ?>" class="restore_to_mailbox_button" onclick="Piler.restore_message_for_recipients(<?php print $id; ?>, '<?php print $text_restored; ?>', '<?php print $text_select_recipients; ?>');" />
|
||||
<input type="button" value="<?php print $text_cancel; ?>" class="restore_to_mailbox_button" onclick="$('#restorebox').hide();" />
|
||||
<?php } ?>
|
||||
|
||||
</div>
|
||||
@ -13,11 +13,11 @@
|
||||
<p>
|
||||
<a class="messagelink" href="index.php?route=message/download&id=<?php print $id; ?>"><?php print $text_download_message; ?></a> |
|
||||
<?php if(Registry::get('auditor_user') == 1) { ?>
|
||||
<a class="messagelink" href="#" onclick="script:var a=document.getElementById('restorebox'); a.style.display = ''; return false;"><?php print $text_restore_to_mailbox; ?></a> |
|
||||
<a class="messagelink" href="#" onclick="$('#restorebox').show();"><?php print $text_restore_to_mailbox; ?></a> |
|
||||
<?php } else { ?>
|
||||
<a class="messagelink" href="#" onclick="script:load_url_with_get('<?php print SITE_URL; ?>index.php?route=message/restore&id=<?php print $id; ?>', 'mailpreviewframe'); return false;"><?php print $text_restore_to_mailbox; ?></a> |
|
||||
<a class="messagelink" href="#" onclick="Piler.restore_message(<?php print $id; ?>);"><?php print $text_restore_to_mailbox; ?></a> |
|
||||
<?php } ?>
|
||||
<a class="messagelink" href="#" onclick="script:load_url_with_get('<?php print SITE_URL; ?>message.php/<?php print $id; ?>', 'mailpreviewframe'); return false;"><?php print $text_view_message; ?></a>
|
||||
<a class="messagelink" href="#" onclick="Piler.view_message(<?php print $id; ?>);"><?php print $text_view_message; ?></a>
|
||||
</p>
|
||||
|
||||
<pre><?php print $data; ?></pre>
|
||||
|
@ -3,14 +3,14 @@
|
||||
<link rel="stylesheet" type="text/css" href="/view/theme/default/stylesheet/style-<?php print THEME; ?>.css" />
|
||||
</head>
|
||||
|
||||
<body style="background: white;">
|
||||
<body>
|
||||
|
||||
<div id="messagepopup">
|
||||
|
||||
<p>
|
||||
<a class="messagelink" href="index.php?route=message/download&id=<?php print $id; ?>"><?php print $text_download_message; ?></a> |
|
||||
<a class="messagelink" href="#" onclick="script:load_url_with_get('<?php print SITE_URL; ?>message.php/<?php print $id; ?>', 'mailpreviewframe'); return false;"><?php print $text_view_message; ?></a> |
|
||||
<a class="messagelink" href="#" onclick="script:load_url_with_get('<?php print SITE_URL; ?>index.php?route=message/headers&id=<?php print $id; ?>', 'mailpreviewframe'); return false;"><?php print $text_view_headers; ?></a>
|
||||
<a class="messagelink" href="#" onclick="Piler.view_message(<?php print $id; ?>);"><?php print $text_view_message; ?></a> |
|
||||
<a class="messagelink" href="#" onclick="Piler.view_headers(<?php print $id; ?>);"><?php print $text_view_headers; ?></a>
|
||||
</p>
|
||||
|
||||
<p><?php print $data; ?></p>
|
||||
|
@ -1,11 +1,11 @@
|
||||
<div id="restorebox" style="position: absolute; top: 20px; left: 15%; border: 3px solid red; display: none; background: orange; color: #000000; font-weight: bold; padding: 15px; z-index: 1;">
|
||||
<div id="restorebox">
|
||||
<?php if(Registry::get('auditor_user') == 1 && count($rcpt) > 0) { ?>
|
||||
<?php foreach($rcpt as $r) { ?>
|
||||
<input type="checkbox" id="rcpt_<?php print $r; ?>" name="rcpt_<?php print $r; ?>" value="1" style="margin:0;"/> <?php print $r; ?><br />
|
||||
<input type="checkbox" class="restorebox" id="rcpt_<?php print $r; ?>" name="rcpt_<?php print $r; ?>" value="1" /> <?php print $r; ?><br />
|
||||
<?php } ?>
|
||||
<br />
|
||||
<input type="button" id="restore_button" name="restore_button" value="<?php print $text_restore; ?>" class="restore_to_mailbox_button" onclick="javascript: var p = assemble_recipient_list(); if(p == '') { show_message('messagebox1', '<?php print $text_select_recipients; ?>', 1); return false; } send_ajax_post_request('<?php print SITE_URL; ?>index.php?route=message/restore', 'id=<?php print $id; ?>&rcpt=' + p); var a=document.getElementById('restorebox'); a.style.display = 'none'; show_message('messagebox1', '<?php print $text_restored; ?>', 1); " />
|
||||
<input type="button" value="<?php print $text_cancel; ?>" class="restore_to_mailbox_button" onclick="script:var a=document.getElementById('restorebox'); a.style.display = 'none';" />
|
||||
<input type="button" id="restore_button" name="restore_button" value="<?php print $text_restore; ?>" class="restore_to_mailbox_button" onclick="Piler.restore_message_for_recipients(<?php print $id; ?>, '<?php print $text_restored; ?>', '<?php print $text_select_recipients; ?>');" />
|
||||
<input type="button" value="<?php print $text_cancel; ?>" class="restore_to_mailbox_button" onclick="$('#restorebox').hide();" />
|
||||
<?php } ?>
|
||||
|
||||
</div>
|
||||
@ -13,17 +13,17 @@
|
||||
<p>
|
||||
<a class="messagelink" href="index.php?route=message/download&id=<?php print $id; ?>"><?php print $text_download_message; ?></a> |
|
||||
<?php if(Registry::get('auditor_user') == 1) { ?>
|
||||
<a class="messagelink" href="#" onclick="script:var a=document.getElementById('restorebox'); a.style.display = ''; return false;"><?php print $text_restore_to_mailbox; ?></a> |
|
||||
<a class="messagelink" href="#" onclick="$('#restorebox').show();"><?php print $text_restore_to_mailbox; ?></a> |
|
||||
<?php } else { ?>
|
||||
<a class="messagelink" href="#" onclick="script:load_url_with_get('<?php print SITE_URL; ?>index.php?route=message/restore&id=<?php print $id; ?>', 'mailpreviewframe'); return false;"><?php print $text_restore_to_mailbox; ?></a> |
|
||||
<a class="messagelink" href="#" onclick="Piler.restore_message(<?php print $id; ?>);"><?php print $text_restore_to_mailbox; ?></a> |
|
||||
<?php } ?>
|
||||
<a class="messagelink" href="#" onclick="script:load_url_with_get('<?php print SITE_URL; ?>index.php?route=message/headers&id=<?php print $id; ?>', 'mailpreviewframe'); return false;"><?php print $text_view_headers; ?></a>
|
||||
<a class="messagelink" href="#" onclick="Piler.view_headers(<?php print $id; ?>);"><?php print $text_view_headers; ?></a>
|
||||
</p>
|
||||
|
||||
<strong><?php if($message['subject'] == "" || $message['subject'] == "Subject:") { print "<" . $text_no_subject . ">"; } 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="advtextgrey" style="width: 500px;margin: 0px; color: #000000; height:10px;" value="<?php print $message['note']; ?>" /> <input type="button" value="<?php print $text_save; ?>" style="vertical-align: middle; font: bold 11px Arial, sans-serif; height:16px;" onclick="javascript:var p = 'id=<?php print $id; ?>¬e=' + encodeURI(document.getElementById('note').value); send_ajax_post_request('<?php print MESSAGE_NOTE_URL; ?>', p); show_message('messagebox1', '<p>SAVED</p>', 0.85); " /><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("/\"/", """, $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 />
|
||||
|
||||
<?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>
|
||||
|
@ -1,9 +1,9 @@
|
||||
|
||||
<h4><?php print $text_add_new_rule; ?></h4>
|
||||
|
||||
<form method="post" name="add1" action="index.php?route=policy/archiving" style="margin-bottom: 30px;">
|
||||
<form method="post" name="add1" action="index.php?route=policy/archiving" class="formbottom">
|
||||
|
||||
<div id="ss1" style="margin-top: 10px; width: 600px;">
|
||||
<div id="ss1">
|
||||
|
||||
<div class="row">
|
||||
<div class="domaincell"><?php print $text_from; ?>:</div>
|
||||
@ -74,7 +74,7 @@
|
||||
|
||||
<?php if(isset($rules)){ ?>
|
||||
|
||||
<div id="ss1" style="margin-top: 10px;">
|
||||
<div id="ss1">
|
||||
<div class="domainrow">
|
||||
<div class="domaincell"><?php print $text_from; ?></div>
|
||||
<div class="domaincell"><?php print $text_to; ?></div>
|
||||
|
@ -1,9 +1,9 @@
|
||||
|
||||
<h4><?php print $text_add_new_rule; ?></h4>
|
||||
|
||||
<form method="post" name="add1" action="index.php?route=policy/retention" style="margin-bottom: 30px;">
|
||||
<form method="post" name="add1" action="index.php?route=policy/retention" class="formbottom">
|
||||
|
||||
<div id="ss1" style="margin-top: 10px;">
|
||||
<div id="ss1">
|
||||
|
||||
<div class="row">
|
||||
<div class="domaincell"><?php print $text_from; ?>:</div>
|
||||
@ -74,7 +74,7 @@
|
||||
|
||||
<?php if(isset($rules)){ ?>
|
||||
|
||||
<div id="ss1" style="margin-top: 10px;">
|
||||
<div id="ss1">
|
||||
<div class="domainrow">
|
||||
<div class="domaincell"><?php print $text_from; ?></div>
|
||||
<div class="domaincell"><?php print $text_to; ?></div>
|
||||
|
@ -5,7 +5,7 @@
|
||||
|
||||
<?php foreach ($extra_folders as $folder) { ?>
|
||||
<blockquote style="border: 0px solid red; margin: 0 0 5px 10px;">
|
||||
<img src="<?php print ICON_EMPTY; ?>" width="12" height="12" alt="" /> <input type="checkbox" id="extra_folder_<?php print $folder['id']; ?>" name="extra_folder_<?php print $folder['id']; ?>" /> <input type="text" ondrop="javascript: copy_message_to_folder('<?php print $folder['id']; ?>', current_message_id, '<?php print $text_copied; ?>'); return false;" class="extra_folder" value="<?php print $folder['name']; ?>" />
|
||||
<img src="<?php print ICON_EMPTY; ?>" width="12" height="12" alt="" /> <input type="checkbox" id="extra_folder_<?php print $folder['id']; ?>" name="extra_folder_<?php print $folder['id']; ?>" /> <input type="text" ondrop="copy_message_to_folder('<?php print $folder['id']; ?>', current_message_id, '<?php print $text_copied; ?>'); return false;" class="extra_folder" value="<?php print $folder['name']; ?>" />
|
||||
</blockquote>
|
||||
<?php } ?>
|
||||
|
||||
@ -24,8 +24,8 @@ function display_folders($arr = array(), &$i) {
|
||||
?>
|
||||
|
||||
<?php if(count($a['children']) > 0) { ?>
|
||||
<a id="fldr_collapse_<?php print $i; ?>" href="#" onclick="javascript:close_folder(<?php print $i; ?>); return false;"><img src="<?php print ICON_MINUS; ?>" alt="" /></a>
|
||||
<a id="fldr_open_<?php print $i; ?>" href="#" onclick="javascript: open_folder(<?php print $i; ?>); return false;" style="display:none;"><img src="<?php print ICON_PLUS; ?>" alt="" /></a>
|
||||
<a id="fldr_collapse_<?php print $i; ?>" href="#" onclick="close_folder(<?php print $i; ?>); return false;"><img src="<?php print ICON_MINUS; ?>" alt="" /></a>
|
||||
<a id="fldr_open_<?php print $i; ?>" href="#" onclick="open_folder(<?php print $i; ?>); return false;" style="display:none;"><img src="<?php print ICON_PLUS; ?>" alt="" /></a>
|
||||
<?php } else { ?> <img src="<?php print ICON_EMPTY; ?>" width="12" height="12" alt="" /> <?php } ?>
|
||||
<input type="checkbox" id="folder_<?php print $a['id']; ?>" name="folder_<?php print $a['id']; ?>" /> <?php print $a['name']; ?><br />
|
||||
|
||||
|
@ -1,83 +1,48 @@
|
||||
|
||||
<div id="messagelistcontainer" class="boxlistcontent" style="top:0">
|
||||
<div id="messagelistcontainer" class="boxlistcontent">
|
||||
|
||||
<div id="results">
|
||||
|
||||
<div class="resultrow">
|
||||
<?php if($n > 0){ ?>
|
||||
<div class="cell1r" style="vertical-align:middle;"><input type="checkbox" id="bulkcheck" name="bulkcheck" value="1" <?php if(SEARCH_RESULT_CHECKBOX_CHECKED == 1) { ?>checked="checked"<?php } ?> class="restorebox" onchange="javascript:toggle_bulk_check(); return false;" /></div>
|
||||
<div class="cell1q" style="text-align: center;"><a href="#" onclick="javascript: download_selected_emails('<?php print BULK_RESTORE_URL; ?>'); return false;"><img style="margin: 0px 0 -2px 0; border: 0px solid black;" src="<?php print ICON_DOWNLOAD; ?>" width="18" height="18" alt="aaa" border="0"></a></div>
|
||||
<div class="cell3 date">
|
||||
<?php print $text_date; ?>
|
||||
<a href="#" onclick="script:fix_search_order('date', 1); <?php if(isset($_POST['ref'])) { ?>add_message_reference_to_form('<?php print $_POST['ref']; ?>');<?php } ?> load_search_results('<?php print SEARCH_HELPER_URL; ?>', assemble_search_term(count), 0); return false;"><img src="<?php print ICON_ARROW_UP; ?>" alt="" border="0"></a>
|
||||
<a href="#" onclick="script:fix_search_order('date', 0); <?php if(isset($_POST['ref'])) { ?>add_message_reference_to_form('<?php print $_POST['ref']; ?>');<?php } ?> load_search_results('<?php print SEARCH_HELPER_URL; ?>', assemble_search_term(count), 0); return false;"><img src="<?php print ICON_ARROW_DOWN; ?>" alt="" border="0"></a>
|
||||
</div>
|
||||
<div class="cell3 title">
|
||||
<?php print $text_from; ?>
|
||||
<a href="#" onclick="script:fix_search_order('from', 1); <?php if(isset($_POST['ref'])) { ?>add_message_reference_to_form('<?php print $_POST['ref']; ?>');<?php } ?> load_search_results('<?php print SEARCH_HELPER_URL; ?>', assemble_search_term(count), 0); return false;"><img src="<?php print ICON_ARROW_UP; ?>" alt="" border="0"></a>
|
||||
<a href="#" onclick="script:fix_search_order('from', 0); <?php if(isset($_POST['ref'])) { ?>add_message_reference_to_form('<?php print $_POST['ref']; ?>');<?php } ?> load_search_results('<?php print SEARCH_HELPER_URL; ?>', assemble_search_term(count), 0); return false;"><img src="<?php print ICON_ARROW_DOWN; ?>" alt="" border="0"></a>
|
||||
</div>
|
||||
<div class="cell3 title">
|
||||
<?php print $text_to; ?>
|
||||
</div>
|
||||
<div class="cell3 title">
|
||||
<?php print $text_subject; ?>
|
||||
<a href="#" onclick="script:fix_search_order('subj', 1); <?php if(isset($_POST['ref'])) { ?>add_message_reference_to_form('<?php print $_POST['ref']; ?>');<?php } ?> load_search_results('<?php print SEARCH_HELPER_URL; ?>', assemble_search_term(count), 0); return false;"><img src="<?php print ICON_ARROW_UP; ?>" alt="" border="0"></a>
|
||||
<a href="#" onclick="script:fix_search_order('subj', 0); <?php if(isset($_POST['ref'])) { ?>add_message_reference_to_form('<?php print $_POST['ref']; ?>');<?php } ?> load_search_results('<?php print SEARCH_HELPER_URL; ?>', assemble_search_term(count), 0); return false;"><img src="<?php print ICON_ARROW_DOWN; ?>" alt="" border="0"></a>
|
||||
</div>
|
||||
<div class="cell3 title">
|
||||
<?php print $text_size; ?>
|
||||
<a href="#" onclick="script:fix_search_order('size', 1); <?php if(isset($_POST['ref'])) { ?>add_message_reference_to_form('<?php print $_POST['ref']; ?>');<?php } ?> load_search_results('<?php print SEARCH_HELPER_URL; ?>', assemble_search_term(count), 0); return false;"><img src="<?php print ICON_ARROW_UP; ?>" alt="" border="0"></a>
|
||||
<a href="#" onclick="script:fix_search_order('size', 0); <?php if(isset($_POST['ref'])) { ?>add_message_reference_to_form('<?php print $_POST['ref']; ?>');<?php } ?> load_search_results('<?php print SEARCH_HELPER_URL; ?>', assemble_search_term(count), 0); return false;"><img src="<?php print ICON_ARROW_DOWN; ?>" alt="" border="0"></a>
|
||||
</div>
|
||||
<div class="cell3"> </div>
|
||||
<div class="cell3"> </div>
|
||||
<div class="cell3"> </div>
|
||||
<?php if($n > 0) { ?>
|
||||
|
||||
<?php $i=0; foreach ($messages as $message) { ?>
|
||||
|
||||
<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(<?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(<?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 { ?> <?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 { ?> <?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 { ?> <?php } ?></div>
|
||||
<?php if(ENABLE_ON_THE_FLY_VERIFICATION == 1) { ?>
|
||||
<div class="cell3"> </div>
|
||||
<div class="resultcell verification"><img src="<?php if($message['verification'] == 1){ print ICON_GREEN_OK; } else { print ICON_RED_X; } ?>" alt="verification status" /></div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
|
||||
<?php $i++; } ?>
|
||||
|
||||
<?php } else if($n == 0) { ?>
|
||||
<div class="cell3 error"><?php print $text_empty_search_result; ?></div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<?php $i=0; foreach ($messages as $message) { $i++; ?>
|
||||
|
||||
<div id="e_<?php print $message['id']; ?>" class="resultrow<?php if($i % 2) { ?> odd<?php } ?><?php if($message['spam'] == 1) { ?> spam<?php } ?>">
|
||||
<div class="cell5 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="cell5 id"><a href="#" onmouseover="javascript: current_message_id = <?php print $message['id']; ?>; return false;" onclick="script:highlight_message_by_position(<?php print $i; ?>); current_message_id = <?php print $message['id']; ?>; return false;"><?php print ($page*$page_len) + $i; ?>.</a></div>
|
||||
<div class="cell5 date"><?php print $message['date']; ?></div>
|
||||
<div class="cell5 from"><?php if($message['from'] != $message['shortfrom']) { ?><a href="#" title="<?php print preg_replace("/&/", "&", $message['from']); ?>"><?php print $message['shortfrom']; ?></a><?php } else { print $message['from']; } ?></div>
|
||||
<div class="cell5 to"><?php if($message['to'] != $message['shortto']) { ?><a href="#" title="<?php print preg_replace("/&/", "&", $message['to']); ?>"><?php print $message['shortto']; ?></a><?php } else { print $message['to']; } ?></div>
|
||||
<div class="cell5 subject"><a href="#" <?php if($message['subject'] != $message['shortsubject']) { ?>title="<?php print preg_replace("/&/", "&", $message['subject']); ?>"<?php } ?> onmouseover="javascript: current_message_id = <?php print $message['id']; ?>; return false;" onclick="script:highlight_message_by_position(<?php print $i; ?>); current_message_id = <?php print $message['id']; ?>; return false;"><?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="script:add_message_reference_to_form('<?php print $message['reference']; ?>'); load_search_results('<?php print SEARCH_HELPER_URL; ?>', assemble_search_term(count), 0); a = document.getElementById('ref'); a.value=''; return false;">[+]</span></a><?php } ?></div>
|
||||
|
||||
<div class="cell5 size"><?php print $message['size']; ?></div>
|
||||
<div class="cell5"><?php if($message['attachments'] > 0) { ?><img src="<?php print ICON_ATTACHMENT; ?>" alt="" width="16" height="18" /><?php } else { ?> <?php } ?></div>
|
||||
<div class="cell5"><?php if($message['note']) { ?><a href="#" title="<?php print preg_replace("/\"/", """, $message['note']); ?>"><img src="<?php print ICON_NOTES; ?>" alt="akakaka" width="16" height="16" /></a><?php } else { ?> <?php } ?></div>
|
||||
<div class="cell5"><?php if($message['tag']) { ?><a href="#" title="<?php print preg_replace("/\"/", """, $message['tag']); ?>"><img src="<?php print ICON_TAG; ?>" alt="" /></a><?php } else { ?> <?php } ?></div>
|
||||
<?php if(ENABLE_ON_THE_FLY_VERIFICATION == 1) { ?>
|
||||
<div class="cell5 verification"><img src="<?php if($message['verification'] == 1){ print ICON_GREEN_OK; } else { print ICON_RED_X; } ?>" alt="verification status" /></div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
|
||||
<?php } ?>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="boxfooter" style="border: 1px solid black;">
|
||||
<div class="boxfooter">
|
||||
|
||||
|
||||
<div id="pagenav">
|
||||
<div class="navrow">
|
||||
<?php if($n >= $page_len){ ?>
|
||||
<div id="pagingleft">
|
||||
<?php if($page > 0) { ?><a href="#" class="navlink" onclick="script:load_search_results('<?php print SEARCH_HELPER_URL; ?>', assemble_search_term(count), 0); return false;"><<</a> <?php } else { ?><span class="navlink"><< </span><?php } ?>
|
||||
<?php if($page > 0) { ?><a href="#" class="navlink" onclick="script:load_search_results('<?php print SEARCH_HELPER_URL; ?>', assemble_search_term(count), <?php print $prev_page; ?>); return false;"> < </a> <?php } else { ?><span class="navlink"> < </span><?php } ?>
|
||||
<?php if($page > 0) { ?><a href="#" class="navlink" onclick="Piler.navigation(0);"><<</a> <?php } else { ?><span class="navlink"><< </span><?php } ?>
|
||||
<?php if($page > 0) { ?><a href="#" class="navlink" onclick="Piler.navigation(<?php print $prev_page; ?>);"> < </a> <?php } else { ?><span class="navlink"> < </span><?php } ?>
|
||||
</div>
|
||||
|
||||
<div id="pagingcenter">
|
||||
@ -85,8 +50,8 @@
|
||||
</div>
|
||||
|
||||
<div id="pagingright">
|
||||
<?php if($next_page <= $total_pages){ ?><a href="#" class="navlink" onclick="script:load_search_results('<?php print SEARCH_HELPER_URL; ?>', assemble_search_term(count), <?php print $next_page; ?>); return false;">> </a> <?php } else { ?><span class="navlink">> </span><?php } ?>
|
||||
<?php if($page < $total_pages) { ?> <a href="#" class="navlink" onclick="script:load_search_results('<?php print SEARCH_HELPER_URL; ?>', assemble_search_term(count), <?php print $total_pages; ?>); return false;"> >> </a><?php } else { ?> <span class="navlink"> >></span><?php } ?>
|
||||
<?php if($next_page <= $total_pages){ ?><a href="#" class="navlink" onclick="Piler.navigation(<?php print $next_page; ?>);">> </a> <?php } else { ?><span class="navlink">> </span><?php } ?>
|
||||
<?php if($page < $total_pages) { ?> <a href="#" class="navlink" onclick="Piler.navigation(<?php print $total_pages; ?>);"> >> </a><?php } else { ?> <span class="navlink"> >></span><?php } ?>
|
||||
</div>
|
||||
|
||||
<?php } else { ?> <?php } ?>
|
||||
@ -94,9 +59,9 @@
|
||||
<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; } ?>" />
|
||||
|
||||
<input type="button" class="restore" value="<?php print $text_bulk_restore_selected_emails; ?>" onclick="javascript: restore_selected_emails('<?php print BULK_RESTORE_URL; ?>'); show_message('messagebox1', '<p><?php print $text_restored; ?></p>', 0.8); " />
|
||||
<input type="button" class="restore" value="<?php print $text_bulk_restore_selected_emails; ?>" onclick="Piler.bulk_restore_messages('<?php print $text_restored; ?>'); " />
|
||||
|
||||
<?php print $text_tag_search_results; ?>: <input type="text" id="tag_value" name="tag_value" class="tagtext" /> <input type="button" class="tag" onclick="javascript: tag_search_results('<?php print SEARCH_TAG_URL; ?>'); show_message('messagebox1', '<p><?php print $text_tagged; ?></p>', 0.8); var __ref = document.getElementById('_ref').value; if(__ref) { add_message_reference_to_form(__ref); } load_search_results('<?php print SEARCH_HELPER_URL; ?>', assemble_search_term(count), 0); return false;" value="OK" />
|
||||
<?php print $text_tag_search_results; ?>: <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>
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
<div id="messagelistcontainer" class="boxlistcontent" style="top:0">
|
||||
<div id="messagelistcontainer" class="boxlistcontent">
|
||||
|
||||
<div id="results">
|
||||
|
||||
@ -16,7 +16,7 @@
|
||||
if(isset($s['search'])) {
|
||||
?>
|
||||
<div class="resultrow">
|
||||
<a href="#" onclick="javascript:load_search_results('<?php print SEARCH_HELPER_URL; ?>', '<?php print $term['term']; ?>', 0); var a=document.getElementById('_search'); var v=decodeURIComponent('<?php print urlencode($s['search']); ?>'); v = v.replace(/\+/g, ' '); a.value=v; "><?php print $s['search']; ?></a></br />
|
||||
<a href="#" onclick="Piler.load_search_results_for_saved_query('<?php print urldecode($term['term']); ?>');"><?php print $s['search']; ?></a></br />
|
||||
</div>
|
||||
<?php } } ?>
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
<div id="searchpopup1" style="position: absolute; top: 22px; right: 303px; border: 1px solid #999999; display: none; background: #f8f8f8; color: #000000; font-weight: bold; padding: 15px; z-index: 1;">
|
||||
<div id="searchpopup1">
|
||||
|
||||
<input type="hidden" name="xsearchtype" id="xsearchtype" value="simple" />
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
<input type="hidden" name="xorder" id="xorder" value="0" />
|
||||
<input type="hidden" name="xref" id="xref" value="" />
|
||||
|
||||
<div style="position: absolute; right: 10px; top: 5px; margin: 10px; " onclick="javascript:document.getElementById('searchpopup1').style.display = 'none'; return false; "> X </div>
|
||||
<div id="popupx" onclick="$('#searchpopup1').hide();"> X </div>
|
||||
|
||||
<div id="ss1">
|
||||
|
||||
@ -47,7 +47,7 @@
|
||||
|
||||
<div class="row">
|
||||
<div class="cell1"><?php print $text_attachment; ?>:</div>
|
||||
<div class="cell2" style="text-align: left;"><input type="checkbox" class="checkbox" style="margin:0;" name="xhas_attachment" id="xhas_attachment" <?php if(isset($has_attachment) && $has_attachment == 1) { ?>checked="checked"<?php } ?> /></div>
|
||||
<div class="cell2 left"><input type="checkbox" class="checkbox popup" name="xhas_attachment" id="xhas_attachment" <?php if(isset($has_attachment) && $has_attachment == 1) { ?>checked="checked"<?php } ?> /></div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
@ -57,8 +57,8 @@
|
||||
|
||||
<div class="row">
|
||||
<div class="cell1"></div>
|
||||
<div class="cell2" style="text-align: left;">
|
||||
<button id="button_search" class="active" style="width: 100px; margin: 0px;" onclick="script:a = document.getElementById('prefix'); if(a) a.value='x'; load_search_results('<?php print SEARCH_HELPER_URL; ?>', assemble_search_term(count), 0); document.getElementById('searchpopup1').style.display = 'none'; document.getElementById('_search').value='';"><?php print $text_search; ?></button> <input type="button" class="advsecondary" onclick="javascript:reset_simple_form(); return false;" value="<?php print $text_cancel; ?>" />
|
||||
<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; ?>" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -1,20 +0,0 @@
|
||||
|
||||
<?php if(count($searchterms) > 0) { ?>
|
||||
<form name="savesearchform" action="advanced.php" method="post" style="margin-bottom: 5px;">
|
||||
|
||||
<select name="searchterm" id="searchterm" class="select1" multiple size="<?php print $select_size; ?>" onChange="javascript:fixup_save_post_action_url(); this.form.submit(); return false;">
|
||||
<option value="search.php"<?php if("" == $_SERVER['QUERY_STRING']) { ?> selected="selected"<?php } ?>><?php print $text_empty_search_criteria; ?></option>
|
||||
|
||||
<?php foreach($searchterms as $term) {
|
||||
$term_value = assemble_search_url($term['term']);
|
||||
?>
|
||||
<option value="<?php print $term['term']; ?>&loaded=1"><?php print $term_value; ?></option>
|
||||
<?php } ?>
|
||||
</select>
|
||||
|
||||
</form>
|
||||
|
||||
<input type="button" class="load" onclick="javascript:document.getElementById('A1').innerHTML = '<p> </p>'; " value="<?php print $text_cancel; ?>" />
|
||||
|
||||
<?php } ?>
|
||||
|
@ -1,13 +1 @@
|
||||
|
||||
<div id="resultscontainer" class="empty" style="width: 990px; border:0px solid green; "></div>
|
||||
|
||||
<?php if(isset($searchterm)) { ?>
|
||||
|
||||
<script>
|
||||
fix_search_order('<?php print $sort; ?>', '<?php print $order; ?>');
|
||||
load_search_results('<?php print SEARCH_HELPER_URL; ?>', assemble_search_term(count, ''), 0);
|
||||
load_ajax_url('<?php print SAVE_SEARCH_URL; ?>');
|
||||
</script>
|
||||
|
||||
<?php } ?>
|
||||
|
||||
|
@ -1,20 +0,0 @@
|
||||
|
||||
<p> </p>
|
||||
|
||||
<p>
|
||||
<table border="1">
|
||||
<?php while(list($k, $v) = each($counters)) { ?>
|
||||
<tr><td><?php print $k; ?></td><td><?php print $v; ?></td></tr>
|
||||
<?php } ?>
|
||||
<?php if($counters[$prefix . 'rcvd'] > 0) { ?><tr><td>spam / <?php print $text_total_ratio; ?></td><td><?php print sprintf("%.2f", 100*$counters[$prefix . 'spam'] / $counters[$prefix . 'rcvd']); ?> %</td></tr><?php } ?>
|
||||
<?php if($counters[$prefix . 'rcvd'] > 0) { ?><tr><td>virus / <?php print $text_total_ratio; ?></td><td><?php print sprintf("%.2f", 100*$counters[$prefix . 'virus'] / $counters[$prefix . 'rcvd']); ?> %</td></tr><?php } ?>
|
||||
|
||||
</table>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<form action="index.php?route=stat/counter" method="post">
|
||||
<input type="hidden" name="reset" value="1" />
|
||||
<input type="submit" name="submit" value="<?php print $text_reset_counters; ?>" />
|
||||
</form>
|
||||
</p>
|
@ -34,33 +34,33 @@
|
||||
|
||||
<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="javascript:toggle_hint('s_piler_domain', '<?php print $text_search_domain_to_add; ?>', 1);" onblur="javascript: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" 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>
|
||||
|
||||
<div class="domainrow">
|
||||
<div class="domaincell"><?php print $text_domains; ?>**:</div>
|
||||
<div class="domaincell"><textarea style="height:80px;" 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="domain"><?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="javascript:toggle_hint('s_piler_group', '<?php print $text_search_group_to_add; ?>', 1);" onblur="javascript: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" 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>
|
||||
|
||||
<div class="domainrow">
|
||||
<div class="domaincell"><?php print $text_groups; ?>**:</div>
|
||||
<div class="domaincell"><textarea style="height:80px;" 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="domain"><?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="javascript:toggle_hint('s_piler_folder', '<?php print $text_search_folder_to_add; ?>', 1);" onblur="javascript: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" 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>
|
||||
|
||||
<div class="domainrow">
|
||||
<div class="domaincell"><?php print $text_folders; ?>**:</div>
|
||||
<div class="domaincell"><textarea style="height:80px;" 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="domain"><?php if(isset($user['folder'])){ print $user['folder']; } ?></textarea></div>
|
||||
</div>
|
||||
|
||||
|
||||
|
@ -1,8 +1,6 @@
|
||||
|
||||
|
||||
<?php if(isset($user)) {
|
||||
|
||||
$userbasedn = preg_replace("/cn=([\w]+),/", "", $user['dn']); ?>
|
||||
<?php if(isset($user)) { ?>
|
||||
|
||||
<form action="index.php?route=user/edit" name="adduser" method="post" autocomplete="off">
|
||||
<input type="hidden" name="uid" value="<?php print $uid; ?>" />
|
||||
@ -36,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="javascript:toggle_hint('s_piler_domain', '<?php print $text_search_domain_to_add; ?>', 1);" onblur="javascript: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" 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>
|
||||
|
||||
<div class="domainrow">
|
||||
<div class="domaincell"><?php print $text_domains; ?>**:</div>
|
||||
<div class="domaincell"><textarea style="height:80px;" name="domains" id="domains" class="domain"><?php if(isset($user['domains'])){ print $user['domains']; } ?></textarea></div>
|
||||
</div>
|
||||
<div class="domaincell"><textarea name="domains" id="domains" class="domain"><?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="javascript:toggle_hint('s_piler_group', '<?php print $text_search_group_to_add; ?>', 1);" onblur="javascript: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" 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>
|
||||
|
||||
<div class="domainrow">
|
||||
<div class="domaincell"><?php print $text_groups; ?>**:</div>
|
||||
<div class="domaincell"><textarea style="height:80px;" 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="domain"><?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="javascript:toggle_hint('s_piler_folder', '<?php print $text_search_folder_to_add; ?>', 1);" onblur="javascript: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" 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>
|
||||
|
||||
<div class="domainrow">
|
||||
<div class="domaincell"><?php print $text_folders; ?>**:</div>
|
||||
<div class="domaincell"><textarea style="height:80px;" 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="domain"><?php if(isset($user['folder'])){ print $user['folder']; } ?></textarea></div>
|
||||
</div>
|
||||
|
||||
|
||||
|
@ -24,7 +24,7 @@
|
||||
</div>
|
||||
|
||||
|
||||
<div id="ss1" style="margin-top: 10px;">
|
||||
<div id="ss1">
|
||||
<div class="domainrow">
|
||||
<div class="domaincell"><?php print $text_realname; ?> <a href="index.php?route=user/list&sort=realname&order=0"><img src="<?php print ICON_ARROW_UP; ?>" border="0"></a> <a href="index.php?route=user/list&sort=realname&order=1"><img src="<?php print ICON_ARROW_DOWN; ?>" border="0"></a></div>
|
||||
<div class="domaincell"><?php print $text_email; ?> <a href="index.php?route=user/list&sort=email&order=0"><img src="<?php print ICON_ARROW_UP; ?>" border="0"></a> <a href="index.php?route=user/list&sort=email&order=1"><img src="<?php print ICON_ARROW_DOWN; ?>" border="0"></a></div>
|
||||
@ -35,7 +35,7 @@
|
||||
<?php foreach($users as $user) { ?>
|
||||
<div class="domainrow">
|
||||
<div class="domaincell"><?php print $user['realname']; ?></div>
|
||||
<div class="domaincell"><?php if($user['email'] != $user['shortemail']){ ?><span onmouseover="Tip('<?php print $user['email']; ?>', BALLOON, true, ABOVE, true)" onmouseout="UnTip()"><?php print $user['shortemail']; ?></span><?php } else { print $user['email']; } ?></div>
|
||||
<div class="domaincell"><?php if($user['email'] != $user['shortemail']){ ?><span><?php print $user['shortemail']; ?></span><?php } else { print $user['email']; } ?></div>
|
||||
<div class="domaincell">
|
||||
<?php
|
||||
if($user['isadmin'] == 0){ print $text_user_regular; }
|
||||
|
@ -1,14 +1,14 @@
|
||||
|
||||
<?php if(!isset($x)){ ?>
|
||||
|
||||
<form action="settings.php" method="post" name="setpagelen" style="margin-bottom: 30px;">
|
||||
<form action="settings.php" method="post" name="setpagelen" class="formbottom">
|
||||
|
||||
<h4><?php print $text_access_settings; ?></h4>
|
||||
|
||||
<div id="search">
|
||||
|
||||
<div class="row">
|
||||
<div class="cell1" style="width: 100px;"><?php print $text_email_addresses; ?>:</div>
|
||||
<div class="cell1 100px"><?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" style="width: 100px;"><?php print $text_domains; ?>:</div>
|
||||
<div class="cell1 100px"><?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" style="width: 100px;"><?php print $text_groups; ?>:</div>
|
||||
<div class="cell1 100px"><?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" style="width: 100px;"><?php print $text_folders; ?>:</div>
|
||||
<div class="cell1 100px"><?php print $text_folders; ?>:</div>
|
||||
<div class="cell2">
|
||||
<?php print $folders; ?>
|
||||
</div>
|
||||
@ -57,7 +57,7 @@
|
||||
<div id="search1">
|
||||
|
||||
<div class="row">
|
||||
<div class="cell1" style="width: 100px;"><?php print $text_page_length; ?>:</div>
|
||||
<div class="cell1 100px"><?php print $text_page_length; ?>:</div>
|
||||
<div class="cell2">
|
||||
<select name="pagelen">
|
||||
<option value="10"<?php if($page_len == 10) { ?> selected="selected"<?php } ?>>10
|
||||
@ -97,8 +97,8 @@
|
||||
|
||||
<?php if(PASSWORD_CHANGE_ENABLED == 1) { ?>
|
||||
<div id="search">
|
||||
<form method="post" name="pwdchange" action="settings.php" style="margin-bottom: 30px;">
|
||||
<div id="ss1" style="margin-top: 10px;">
|
||||
<form method="post" name="pwdchange" action="settings.php" class="formbottom">
|
||||
<div id="ss1">
|
||||
<div class="row">
|
||||
<div class="domaincell"><?php print $text_password; ?>:</div>
|
||||
<div class="domaincell"><input type="password" class="text" name="password" /></div>
|
||||
|
Reference in New Issue
Block a user