piler/webui/view/theme/default/templates/common/layout-search.tpl

154 lines
7.5 KiB
Smarty
Raw Permalink Normal View History

2013-02-11 20:24:19 +01:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2013-08-14 23:40:52 +02:00
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php print DEFAULT_LANG; ?>" lang="<?php print DEFAULT_LANG; ?>">
2013-02-11 20:24:19 +01:00
<head>
2013-08-06 06:58:06 +02:00
<title><?php print $title; ?></title>
2013-02-11 20:24:19 +01:00
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
2013-08-14 23:40:52 +02:00
<meta http-equiv="Content-Language" content="<?php print DEFAULT_LANG; ?>" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
2013-07-26 21:24:18 +02:00
<?php if(SITE_KEYWORDS) { ?><meta name="keywords" content="<?php print SITE_KEYWORDS; ?>" /><?php } ?>
<?php if(SITE_DESCRIPTION) { ?><meta name="description" content="<?php print SITE_DESCRIPTION; ?>" /><?php } ?>
<?php if(PROVIDED_BY) { ?><meta name="author" content="<?php print PROVIDED_BY; ?>" /><?php } ?>
2013-02-11 20:24:19 +01:00
<meta name="rating" content="general" />
<meta name="robots" content="all" />
2014-09-09 15:30:26 +02:00
<meta http-equiv="x-ua-compatible" content="IE=edge">
2013-02-11 20:24:19 +01:00
2013-04-05 10:16:33 +02:00
<link href="/view/theme/default/assets/css/metro-bootstrap.css" rel="stylesheet">
<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
<!-- original location: http://html5shim.googlecode.com/svn/trunk/html5.js -->
<!--[if lt IE 9]>
<script src="/view/theme/default/assets/js/html5.js"></script>
<style>body{padding-top:70px;}</style>
2013-04-05 10:16:33 +02:00
<![endif]-->
2013-04-05 10:16:33 +02:00
<!-- Fav and touch icons -->
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="/view/theme/default/assets/ico/apple-touch-icon-144-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="/view/theme/default/assets/ico/apple-touch-icon-114-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="/view/theme/default/assets/ico/apple-touch-icon-72-precomposed.png">
<link rel="apple-touch-icon-precomposed" href="/view/theme/default/assets/ico/apple-touch-icon-57-precomposed.png">
2013-08-06 06:36:56 +02:00
<?php if(BRANDING_FAVICON) { ?><link rel="shortcut icon" href="<?php print BRANDING_FAVICON; ?>" /><?php } ?>
<?php print JS_CODE; ?>
2013-02-11 20:24:19 +01:00
</head>
<body onload="Piler.add_shortcuts();<?php if(ENABLE_INSTANT_SEARCH){ ?>Piler.expert();<?php } ?>">
2013-02-11 20:24:19 +01:00
<div id="deleteconfirm-modal" class="modal hide fade">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" role="dialog" aria-hidden="true"><i class="icon-remove"></i></button>
<h3><?php print $text_forward_selected_emails_to; ?></h3>
</div>
<div class="modal-body">
<input type="text" id="restore_address" name="restore_address" />
</div>
<div class="modal-footer">
<a href="#" class="btn" data-dismiss="modal" aria-hidden="true"><?php print $text_close; ?></a>
<a href="#" onclick="var addr = $('#restore_address').val(); if(addr) { Piler.bulk_restore_messages('<?php print $text_restored; ?>', addr); }" class="btn btn-primary" data-dismiss="modal" aria-hidden="true">OK</a>
</div>
</div>
<?php if(Registry::get('auditor_user') == 1) { ?>
<div id="deletebox-modal" class="modal hide fade">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" role="dialog" aria-hidden="true"><i class="icon-remove"></i></button>
<h3><?php print $text_delete_reason; ?></h3>
</div>
<div class="modal-body">
<input type="text" id="reason" name="reason" />
</div>
<div class="modal-footer">
<a href="#" class="btn" data-dismiss="modal" aria-hidden="true"><?php print $text_close; ?></a>
<a href="#" onclick="var reason = $('#reason').val(); if(reason) { Piler.bulk_remove_messages(reason, '<?php if(NEED_TO_APPROVE_DELETE) { print $text_need_to_approve_removal; } else { print $text_successfully_removed; } ?>', '<?php print $text_no_selected_message; ?>'); }" class="btn btn-primary" data-dismiss="modal" aria-hidden="true">OK</a>
</div>
</div>
<?php } ?>
<?php if( (OUTLOOK == 1 && SHOW_MENU_FOR_OUTLOOK == 1) || MOBILE_DEVICE == 0) { ?>
2013-08-14 23:40:52 +02:00
<div id="menu">
<?php print $menu; ?>
</div>
2014-09-15 10:39:24 +02:00
<?php } ?>
2013-04-05 10:16:33 +02:00
<div id="messagebox1" class="alert alert-info lead"></div>
2013-02-11 20:24:19 +01:00
2013-04-05 10:16:33 +02:00
<div id="piler1" class="container-fluid">
2013-02-11 20:24:19 +01:00
2013-04-05 10:16:33 +02:00
<div id="searchcontainer">
2013-02-11 20:24:19 +01:00
<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="" />
2013-04-05 10:16:33 +02:00
<div class="control-group">
2013-08-14 23:40:52 +02:00
<div class="controls row-fluid">
<div id="input-span" class="span6">
2014-09-15 10:39:24 +02:00
<label for="_search"><?php print $text_search; ?></label>
<input type="text" id="_search" name="_search" placeholder="<?php print $text_enter_search_terms; ?>" />
2013-08-14 23:40:52 +02:00
</div>
<?php if(MOBILE_DEVICE == 0) { ?>
2013-08-14 23:40:52 +02:00
<div class="span6 input-append btn-group">
2014-09-15 10:39:24 +02:00
<button id="button_search" class="btn btn-large btn-danger" onclick="Piler.expert(this); return false;"><i class="icon-search icon-large"></i>&nbsp;<?php print $text_search; ?></button>
2013-04-05 10:16:33 +02:00
<button id="button_expert" class="btn btn-large btn-inverse" onclick="$('#searchpopup1').show();"><?php print $text_advanced_search; ?> &nbsp;<span class="caret"></span></button>
2013-08-14 23:40:52 +02:00
<button id="button_options" class="btn btn-large btn-inverse dropdown-toggle" data-toggle="dropdown"><?php print $text_options; ?> &nbsp;<span class="caret"></span></button>
2013-04-05 10:16:33 +02:00
<ul class="dropdown-menu">
<li><a href="#" onclick="Piler.saved_search_terms('<?php print $text_saved; ?>');"><?php print $text_save; ?></a></li>
<li><a href="#" onclick="Piler.load_saved_search_terms();"><?php print $text_load; ?></a></li>
</ul>
</div>
<?php } ?>
2013-04-05 10:16:33 +02:00
</div>
</div>
2013-03-30 11:34:00 +01:00
</div>
</div>
2013-04-05 10:16:33 +02:00
<?php print $popup; ?>
<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 } ?>">
2013-02-11 20:24:19 +01:00
2013-04-05 10:16:33 +02:00
<div id="mailrightcontent">
<div id="mailcontframe">
<div id="sspinner" class="alert alert-info lead"><i class="icon-spinner icon-spin icon-2x pull-left"></i><?php print $text_working; ?></div>
<div id="messagelistcontainer" class="boxlistcontent" style="top:0">
<?php print $content; ?>
2013-02-11 20:24:19 +01:00
2013-04-05 10:16:33 +02:00
</div>
</div>
2013-02-11 20:24:19 +01:00
2013-04-05 10:16:33 +02:00
<script type="text/javascript">
var mailviewsplit = new rcube_splitter({id:'splitter2', p1: 'mailcontframe', p2: 'mailpreviewframe', orientation: 'h', relative: true, start: 341});
split.add_onload('mailviewsplit.init()');
</script>
2013-02-11 20:24:19 +01:00
2013-04-05 10:16:33 +02:00
<div id="mailpreviewframe"></div>
</div>
2013-02-11 20:24:19 +01:00
2013-04-05 10:16:33 +02:00
</div>
2013-02-11 20:24:19 +01:00
</div>
<script type="text/javascript">
2013-04-05 10:16:33 +02:00
$(document).ready(function(){
split.init();
});
2013-02-11 20:24:19 +01:00
</script>
2013-09-26 16:15:03 +02:00
<?php if(TRACKING_CODE) { print TRACKING_CODE; } ?>
2013-02-11 20:24:19 +01:00
</body>
</html>