| @@ -1,7 +1,7 @@ | ||||
|  | ||||
| var Piler =  | ||||
| var Piler = | ||||
| { | ||||
|     /*  | ||||
|     /* | ||||
|      * which search type is active, it's set by clicking on the 'Search' button | ||||
|      */ | ||||
|     search:'', | ||||
| @@ -45,24 +45,24 @@ var Piler = | ||||
|     { | ||||
|         if ( window.console  ) | ||||
|         { | ||||
|             var  | ||||
|             var | ||||
|             a = arguments, | ||||
|             b = +new Date, | ||||
|             c = window.console; | ||||
|              | ||||
|  | ||||
|             if ( !a.length ) | ||||
|                 c.clear(); | ||||
|             else if ( a.length > 1 ) | ||||
|                 c.log(b, a[0], [].slice.call(arguments, 1)); | ||||
|             // c.log(b, a[0], JSON.stringify([].slice.call(a, 1))); | ||||
|             else | ||||
|                 c.log(b, a[0]);                 | ||||
|                 c.log(b, a[0]); | ||||
|         } | ||||
|     }, | ||||
|  | ||||
|     /** | ||||
|      * Returns the javascript event source. | ||||
|      *  | ||||
|      * | ||||
|      * @param {Object}   a  Javascript event | ||||
|      * @param {Logical} [b] If exist the event propagation NOT! stoped | ||||
|      * | ||||
| @@ -70,7 +70,7 @@ var Piler = | ||||
|      **/ | ||||
|     getSource:function( a, b ) | ||||
|     { | ||||
|         Piler.log("[getSource]", a, b );  | ||||
|         Piler.log("[getSource]", a, b ); | ||||
|  | ||||
|         if ( !b ) | ||||
|         { | ||||
| @@ -80,9 +80,9 @@ var Piler = | ||||
|                 else | ||||
|                     a.cancelBubble = !0; | ||||
|             } | ||||
|             catch ( e )  | ||||
|             catch ( e ) | ||||
|             { | ||||
|                 Piler.log("[getSource]", e );  | ||||
|                 Piler.log("[getSource]", e ); | ||||
|             } | ||||
|         } | ||||
|  | ||||
| @@ -92,7 +92,7 @@ var Piler = | ||||
|  | ||||
|     /* | ||||
|      * Change the list order. | ||||
|      *  | ||||
|      * | ||||
|      *    HTML: <a class="VALAMI" onclick="Piler.changeOrder(this)" xid="date" xorder="0"></a> | ||||
|      *     CSS: .VALAMI { | ||||
|      *              background: url("/view/theme/default/images/arrowup.gif") no-repeat scroll center center transparent; | ||||
| @@ -123,7 +123,7 @@ var Piler = | ||||
|      * | ||||
|      */ | ||||
|  | ||||
|     load_search_results:function( )  | ||||
|     load_search_results:function( ) | ||||
|     { | ||||
|         var url; | ||||
|  | ||||
| @@ -131,7 +131,7 @@ var Piler = | ||||
|  | ||||
|         Piler.Shared.type == 'search' ? url = '/search-helper.php' : url = '/audit-helper.php'; | ||||
|  | ||||
|         Piler.log("[load_search_results]", url);  | ||||
|         Piler.log("[load_search_results]", url); | ||||
|  | ||||
|         Piler.spinner('start'); | ||||
|  | ||||
| @@ -255,7 +255,7 @@ var Piler = | ||||
|     { | ||||
|         Piler.log("[view_message_by_pos]", pos, Piler.Messages[pos]); | ||||
|  | ||||
| 	if(pos == -1) return false; | ||||
|         if(pos == -1) return false; | ||||
|  | ||||
|         id = Piler.Messages[pos]; | ||||
|  | ||||
| @@ -491,7 +491,7 @@ var Piler = | ||||
|  | ||||
|         var idlist = Piler.get_selected_messages_list(); | ||||
|  | ||||
| 	Piler.log("[tag_search_results, idlist]", idlist); | ||||
|         Piler.log("[tag_search_results, idlist]", idlist); | ||||
|  | ||||
|         if(!idlist) return false; | ||||
|  | ||||
| @@ -562,15 +562,15 @@ var Piler = | ||||
|     /* | ||||
|      * fill Messages array with search results | ||||
|      */ | ||||
|   | ||||
|     fill_current_messages_array:function()  | ||||
|  | ||||
|     fill_current_messages_array:function() | ||||
|     { | ||||
|         Piler.log("[fill_current_messages_array]" );  | ||||
|          | ||||
|         Piler.log("[fill_current_messages_array]"); | ||||
|  | ||||
|         var z = $('#results tbody').children(), y = z.length, x; | ||||
|         var u = []; | ||||
|  | ||||
|         Piler.log("[fill_current_messages_array] y", y );  | ||||
|         Piler.log("[fill_current_messages_array] y", y ); | ||||
|  | ||||
|         for (i=0; i<y; i++) | ||||
|         { | ||||
| @@ -588,7 +588,7 @@ var Piler = | ||||
|         Piler.pos = -1; | ||||
|         Piler.prev_message_id = 0; | ||||
|         Piler.current_message_id = 0; | ||||
|     },    | ||||
|     }, | ||||
|  | ||||
|  | ||||
|     show_next_message:function() | ||||
| @@ -640,15 +640,15 @@ var Piler = | ||||
|  | ||||
|     /* | ||||
|      * expert search | ||||
|      *  | ||||
|      * | ||||
|      *    HTML: <button onclick="Piler.simple(this)">Search</button> | ||||
|      *    <button onclick="script:var a=document.getElementById('ref'); if(a) a.value=''; a = document.getElementById('prefix'); if(a) a.value='';  | ||||
|      *    load_search_results('http://demo.mailpiler.org/search-helper.php', assemble_search_term(count), 0);"  | ||||
|      *    style="margin-left: 10px; margin-right: 0px; height: 20px; width: 70px;" class="active" id="button_search">Search</button>     | ||||
|      *    <button onclick="script:var a=document.getElementById('ref'); if(a) a.value=''; a = document.getElementById('prefix'); if(a) a.value=''; | ||||
|      *    load_search_results('http://demo.mailpiler.org/search-helper.php', assemble_search_term(count), 0);" | ||||
|      *    style="margin-left: 10px; margin-right: 0px; height: 20px; width: 70px;" class="active" id="button_search">Search</button> | ||||
|      **/ | ||||
|     expert:function( )// a ) | ||||
|     { | ||||
|         Piler.log("[expert]")//, a );  | ||||
|         Piler.log("[expert]")//, a ); | ||||
|  | ||||
|         // a = $( a );// a == DOM element | ||||
|         // a = Piler.getSource( a );// a == Javascript event | ||||
| @@ -656,7 +656,7 @@ var Piler = | ||||
|         $('#prefix').val(''); | ||||
|  | ||||
|         Piler.search = 'Expert'; | ||||
|          | ||||
|  | ||||
|         Piler.Shared.page = 0; | ||||
|         Piler.Shared.type = 'search'; | ||||
|  | ||||
| @@ -671,21 +671,21 @@ var Piler = | ||||
|         } | ||||
|  | ||||
|         $('#ref').val(''); | ||||
|   | ||||
|  | ||||
|         Piler.load_search_results(); | ||||
|     },    | ||||
|     }, | ||||
|  | ||||
|  | ||||
|     /** | ||||
|      * complex search | ||||
|      *  | ||||
|      * | ||||
|      *    HTML: <button id="simple" class="active" onclick="Piler.complex(this)">Search</button> | ||||
|      *     CSS: #expert { margin-left: 10px; margin-right: 0px; height: 20px; width: 70px; } | ||||
|      *      | ||||
|      * | ||||
|      **/ | ||||
|     complex:function( )// a ) | ||||
|     { | ||||
|         Piler.log("[complex]")//, a );  | ||||
|         Piler.log("[complex]")//, a ); | ||||
|  | ||||
|         // a = $( a );// a == DOM element | ||||
|         // a = Piler.getSource( a );// a == Javascript event | ||||
| @@ -732,37 +732,37 @@ var Piler = | ||||
|  | ||||
|     /* | ||||
|      * paging function | ||||
|      *  | ||||
|      * | ||||
|      *    HTML: <a onclick="Piler.navigation(${PHP_PAGE})" class="navlink">${next page}</a> | ||||
|      *     | ||||
|      * | ||||
|      */ | ||||
|     navigation:function( a ) | ||||
|     { | ||||
|         Piler.log("[navigation]")//, a );  | ||||
|         Piler.log("[navigation]")//, a ); | ||||
|  | ||||
|         // a = $( a );// a == DOM element | ||||
|         // a = Piler.getSource( a );// a == Javascript event | ||||
|          | ||||
|  | ||||
|         Piler.Shared.page = a; | ||||
|          | ||||
|  | ||||
|         Piler.load_search_results(); | ||||
|     }, | ||||
|  | ||||
|  | ||||
|     /* | ||||
|      * reset search fields | ||||
|      *  | ||||
|      * | ||||
|      *    HTML: <input type="button" onclick="Piler.cancel()" value="Cancel"> | ||||
|      *     CSS: input.advsecondary[type="button"]{ height: 20px; width: 70px; } | ||||
|      */ | ||||
|     cancel:function( )//a ) | ||||
|     { | ||||
|         Piler.log("[cancel]")//, a );  | ||||
|         Piler.log("[cancel]")//, a ); | ||||
|  | ||||
|         // a = $( a );// a == DOM element | ||||
|         // a = Piler.getSource( a );// a == Javascript event | ||||
|  | ||||
|         $('#_search').val('');  | ||||
|         $('#_search').val(''); | ||||
|         $('#ref').val( '' ); | ||||
|  | ||||
|         Piler.Searches.Expert = {}; | ||||
| @@ -804,7 +804,7 @@ var Piler = | ||||
|  | ||||
|     clear_attachment_any: function() | ||||
|     { | ||||
|         $('input#xhas_attachment_any')[0].checked = 0;        | ||||
|         $('input#xhas_attachment_any')[0].checked = 0; | ||||
|     }, | ||||
|  | ||||
|  | ||||
| @@ -814,7 +814,7 @@ var Piler = | ||||
|  | ||||
|     show_message:function(id, msg, timeout) | ||||
|     { | ||||
|         msg = '<p>' + msg.replace("\n", "<br />") + '</p>';  | ||||
|         msg = '<p>' + msg.replace("\n", "<br />") + '</p>'; | ||||
|  | ||||
|         Piler.log("[show_message]", id, msg); | ||||
|  | ||||
| @@ -1086,7 +1086,7 @@ var Piler = | ||||
|         .fail(function(a, b) { alert("Problem retrieving XML data:" + b) }); | ||||
|  | ||||
|         Piler.show_message('messagebox1', msg, 0.85); | ||||
|   | ||||
|  | ||||
|         Piler.current_message_id = 0; | ||||
|     }, | ||||
|  | ||||
| @@ -1121,7 +1121,7 @@ var Piler = | ||||
|     test_ldap_connection:function() | ||||
|     { | ||||
|        Piler.log("[test_ldap_connection]"); | ||||
|   | ||||
|  | ||||
|        jQuery.ajax('index.php?route=ldap/test', { | ||||
|            data: { | ||||
|               description: $('#description').val(), | ||||
| @@ -1361,15 +1361,15 @@ $.datepicker.setDefaults($.datepicker.regional[Piler.piler_ui_lang]); | ||||
|  | ||||
|  | ||||
|     $("ul.dropdown li").hover(function(){ | ||||
|      | ||||
|  | ||||
|         $(this).addClass("hover"); | ||||
|         $('ul:first',this).css('visibility', 'visible'); | ||||
|      | ||||
|  | ||||
|     }, function(){ | ||||
|      | ||||
|  | ||||
|         $(this).removeClass("hover"); | ||||
|         $('ul:first',this).css('visibility', 'hidden'); | ||||
|      | ||||
|  | ||||
|     }); | ||||
|  | ||||
|  | ||||
| @@ -1380,7 +1380,7 @@ $.datepicker.setDefaults($.datepicker.regional[Piler.piler_ui_lang]); | ||||
|   }); | ||||
|  | ||||
| // modal additions | ||||
|      | ||||
|  | ||||
| $(document).on("click", ".confirm-delete", function (e) { | ||||
|      e.preventDefault(); | ||||
|  | ||||
| @@ -1388,7 +1388,7 @@ $(document).on("click", ".confirm-delete", function (e) { | ||||
|      var id = $(this).data('id'), | ||||
|          name = $(this).data('name'), | ||||
|          url = $(".modal-footer #id").attr("href"); | ||||
|       | ||||
|  | ||||
|      //set id | ||||
|      url = UpdateQueryString('id',id,url); | ||||
|      //set name | ||||
| @@ -1426,5 +1426,3 @@ function UpdateQueryString(key, value, url) { // from http://stackoverflow.com/q | ||||
|             return url; | ||||
|     } | ||||
| } | ||||
|  | ||||
|  | ||||
|   | ||||
| @@ -15,7 +15,7 @@ | ||||
|     <!--[if lt IE 9]> | ||||
|       <script src="/view/theme/default/assets/js/html5.js"></script> | ||||
|     <![endif]--> | ||||
| 	 | ||||
|  | ||||
|     <!-- 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"> | ||||
| @@ -25,7 +25,7 @@ | ||||
|   </head> | ||||
|  | ||||
|   <body id="loginpage"> | ||||
|     | ||||
|  | ||||
| <?php if(!Registry::get('username')) { ?> | ||||
|  | ||||
|     <div id="logincontainer" class="container"> | ||||
|   | ||||
| Before Width: | Height: | Size: 44 B | 
| Before Width: | Height: | Size: 73 B | 
| Before Width: | Height: | Size: 74 B | 
| Before Width: | Height: | Size: 893 B | 
| Before Width: | Height: | Size: 639 B | 
| Before Width: | Height: | Size: 94 B | 
| Before Width: | Height: | Size: 174 B | 
| Before Width: | Height: | Size: 2.4 KiB | 
| Before Width: | Height: | Size: 727 B | 
| Before Width: | Height: | Size: 659 B | 
| Before Width: | Height: | Size: 720 B | 
| Before Width: | Height: | Size: 906 B | 
| Before Width: | Height: | Size: 807 B | 
| Before Width: | Height: | Size: 663 B | 
| Before Width: | Height: | Size: 762 B | 
| Before Width: | Height: | Size: 631 B | 
| Before Width: | Height: | Size: 843 B | 
| Before Width: | Height: | Size: 542 B | 
| Before Width: | Height: | Size: 711 B | 
| Before Width: | Height: | Size: 740 B | 
| Before Width: | Height: | Size: 731 B | 
| Before Width: | Height: | Size: 984 B | 
| Before Width: | Height: | Size: 495 B | 
| Before Width: | Height: | Size: 93 B | 
| Before Width: | Height: | Size: 95 B | 
| Before Width: | Height: | Size: 470 B | 
| Before Width: | Height: | Size: 73 B | 
| Before Width: | Height: | Size: 1.2 KiB | 
| Before Width: | Height: | Size: 768 B | 
| Before Width: | Height: | Size: 76 B | 
| Before Width: | Height: | Size: 1004 B | 
| Before Width: | Height: | Size: 71 B | 
| Before Width: | Height: | Size: 738 B | 
| Before Width: | Height: | Size: 1.9 KiB | 
| Before Width: | Height: | Size: 495 B | 
| Before Width: | Height: | Size: 1.7 KiB | 
| Before Width: | Height: | Size: 112 B | 
| Before Width: | Height: | Size: 1.6 KiB | 
| Before Width: | Height: | Size: 111 B | 
| Before Width: | Height: | Size: 215 B | 
| Before Width: | Height: | Size: 217 B | 
| Before Width: | Height: | Size: 108 B | 
| Before Width: | Height: | Size: 108 B | 
| Before Width: | Height: | Size: 111 B | 
| Before Width: | Height: | Size: 216 B | 
| Before Width: | Height: | Size: 214 B | 
| Before Width: | Height: | Size: 9.2 KiB | 
| Before Width: | Height: | Size: 157 B | 
| Before Width: | Height: | Size: 182 B | 
| Before Width: | Height: | Size: 470 B | 
| Before Width: | Height: | Size: 455 B | 
| Before Width: | Height: | Size: 180 B | 
| Before Width: | Height: | Size: 274 B | 
| Before Width: | Height: | Size: 178 B | 
| Before Width: | Height: | Size: 371 B | 
| Before Width: | Height: | Size: 400 B | 
| Before Width: | Height: | Size: 120 B | 
| Before Width: | Height: | Size: 272 B | 
| Before Width: | Height: | Size: 111 B | 
| Before Width: | Height: | Size: 110 B | 
| Before Width: | Height: | Size: 119 B | 
| Before Width: | Height: | Size: 5.7 KiB | 
| Before Width: | Height: | Size: 413 B | 
| Before Width: | Height: | Size: 101 B | 
| Before Width: | Height: | Size: 380 B | 
| Before Width: | Height: | Size: 6.6 KiB | 
| Before Width: | Height: | Size: 4.3 KiB | 
| Before Width: | Height: | Size: 4.3 KiB | 
| Before Width: | Height: | Size: 4.3 KiB | 
| Before Width: | Height: | Size: 4.3 KiB | 
| Before Width: | Height: | Size: 4.3 KiB | 
| Before Width: | Height: | Size: 4.3 KiB | 
| Before Width: | Height: | Size: 4.3 KiB | 
| Before Width: | Height: | Size: 6.1 KiB | 
| @@ -1,208 +0,0 @@ | ||||
|  | ||||
| @media screen { | ||||
|  | ||||
|         a { color: #0072e6; text-decoration: none; } | ||||
|  | ||||
|         p { margin: 0 0 10px 0; font-family: "Trebuchet MS", Arial, Verdana; } | ||||
|  | ||||
|  | ||||
| 	.mybody { background-color: #6D6D6D; color: #3d3d3d; font-family: "Trebuchet MS", Arial, Verdana; } | ||||
| 	.loginpage {background-color: #fcfcfc; padding-top: 40px; padding-bottom: 40px; font-family: "Trebuchet MS", Arial, Verdana; } | ||||
|  | ||||
| 	#logo-lg {width: 300px; margin: 0 auto 20px;} | ||||
| 	#compatibility { max-width: 300px; margin:0 auto; color:#444; text-align: justify; } | ||||
| 	.form-signin{ max-width:300px; padding:19px 29px 29px; margin:0 auto 20px; background-color:#fff; border:1px solid #e5e5e5; -webkit-border-radius:5px; -moz-border-radius:5px; border-radius:5px; -webkit-box-shadow:0 1px 2px rgba(0, 0, 0, 0.05); -moz-box-shadow:0 1px 2px rgba(0, 0, 0, 0.05); box-shadow:0 1px 2px rgba(0, 0, 0, 0.05); } | ||||
| 	.form-signin .form-signin-heading,.form-signin .checkbox{ margin-bottom: 10px; font-family: "Trebuchet MS", Arial, Verdana; } | ||||
| 	.form-signin input[type="text"], .form-signin input[type="password"]{ font-family: "Trebuchet MS", Arial, Verdana; font-size:16px; height:auto; margin-bottom:15px; padding:7px 9px; } | ||||
|  | ||||
| 	#piler1 { width: 100%; height: 100%; background: #ffffff; border: 0px solid black; position: absolute; margin-left: auto; margin-right: auto; padding-top: 0px; } | ||||
|  | ||||
| 	#messagebox1 { position: absolute; top: 200px; left: 30%; right: 30%; text-align: center; border: 0px solid red; display: none; background: #82caff; color: #ffffff; font-weight: bold; padding: 15px; z-index: 1; } | ||||
| 	#searchpopup1 { position: absolute; top: 30px; left: 0px; border: 1px solid #999999; display: none; background: #f8f8f8; color: #000000; font-weight: bold; padding: 15px; z-index: 1; } | ||||
|         #popupx { position: absolute; right: 10px; top: 5px; margin: 10px; } | ||||
|  | ||||
|         #advsearch_caret { position: absolute; top: 15px; margin-left: -20px; margin-right: 20px; } | ||||
|  | ||||
| 	#wrapemail { margin-left: 20px; background-color: white; width:200px; height: 300px; } | ||||
|         .email { background-color: white; } | ||||
|  | ||||
| 	#menu { height: 40px; border: 0px solid red; } | ||||
| 	#menu a:hover, #menu a:active { color: #fff; } | ||||
|  | ||||
|         #main { margin: 0px 40px 20px 40px; width: 100%; text-align: left; float: left; clear: both; } | ||||
|  | ||||
| 	#expertsearch { position: absolute; border: 0px solid black; right: 20px; left: 20px; text-align: left; font-family: normal 19px "Trebuchet MS", Arial, Verdana; margin-top: 18px; } | ||||
|  | ||||
| 	#resultsheader { display: none; } | ||||
| 	#resultstop { position: absolute; width: 1140px; border: 0px solid #999; top: 120px; right: 20px; left: 20px; text-align: right; display: table; padding-right: 0px; margin-right: 20px; } | ||||
|  | ||||
| 	#footer { clear: both; text-align: left; margin: 0; padding: 0 36px; } | ||||
|  | ||||
| 	#A1 { text-align: right; } | ||||
|  | ||||
|         h3.title { color: #0072e6; } | ||||
|         h4 { font-family: "Trebuchet MS", Arial, Verdana; } | ||||
|  | ||||
| 	.formbottom { margin-bottom: 30px; } | ||||
|  | ||||
| 	input#date1,input#date2{background-image:url(../images/calendar.png);background-position:right center;background-repeat:no-repeat;color:#000; text-align:left; text-indent:6px; cursor:pointer; } | ||||
|  | ||||
| 	.piler-right-margin { margin-right: 30px; } | ||||
|  | ||||
|  | ||||
| 	#search { float: left; width: 990px; margin-top: 5px; margin-bottom: 20px; } | ||||
|  | ||||
| 	#search1 { float: left; width: 490px; margin: 0; border: 0px solid green; } | ||||
|  | ||||
| 	#ss1 { display: table; border-collapse: collapse; margin: 0; padding: 0; margin-top: 10px; clear: both; } | ||||
|  | ||||
| 	#results { float: left; width: 100%; margin-top: 0px; margin-bottom: 0px; border-collapse: collapse; display: table; clear: both; } | ||||
|  | ||||
| 	#results th { font-size:14px; } | ||||
|  | ||||
| 	#mailpreviewframe { text-align: left; overflow:auto; } | ||||
|  | ||||
| 	#sspinner { position: relative; width: 60%; border: 0px solid #999999; color: #000000; font-weight: bold; vertical-align: middle; text-align: left; padding: 15px; z-index: 1; display: none; margin: auto; margin-top: 150px; } | ||||
|  | ||||
| 	table { resize:both; } | ||||
|  | ||||
| 	.row { display: table-row; } | ||||
| 	.row.savedsearch { display: table-row; text-align: right; } | ||||
| 	.resultrow { display: table-row; height: 18px; font-style: italic; font-size:12px; font-family: "Trebuchet MS", Arial, Verdana; } | ||||
| 	.resultrow a { color: #3d3d3d; } | ||||
| 	.resultrow.odd { background: #f5f5f5; } | ||||
| 	.resultrow.new { font-style: normal; } | ||||
| 	.resultrow.new a { color: #0072e6; } | ||||
| 	.resultrow.center a { color: #0072e6; } | ||||
| 	.resultrow.new a.spam { color: #aaa; } | ||||
| 	.resultrow.selected { border: 2px solid black; background-color:#ffffdd; } | ||||
| 	.resultrow.spam { color: #aaa; } | ||||
| 	.resultrow.sent { background: lightblue; } | ||||
|  | ||||
| 	.tcell { display: table-cell; font-family: "Trebuchet MS", Arial, Verdana; } | ||||
|  | ||||
| 	.cell1 { display: table-cell; height: 25px; text-align: left; padding: 3px; font-family: bold 14px "Trebuchet MS", Arial, Verdana; width: 80px; } | ||||
|  | ||||
| 	.cell2 { display: table-cell; width: 410px; height: 15px; } | ||||
| 	.top20px { margin-top: 20px; } | ||||
| 	.listarea { overflow:auto; height: 500px; } | ||||
|  | ||||
| 	.auditcell { margin: 0; display: table-cell; text-align: left; vertical-align:middle; font-style: normal; border: 0px solid red; } | ||||
| 	.auditcell.date { width: 120px; } | ||||
| 	.auditcell.user { width: 120px; } | ||||
| 	.auditcell.action { width: 100px; } | ||||
| 	.auditcell.ip { width: 75px; } | ||||
| 	.auditcell.description { width: 325px; } | ||||
| 	.auditcell.ref { width: 90px; } | ||||
| 	.auditcell.header { height: 30px; font-family: bold 14px "Trebuchet MS", Arial, Verdana; color: black; } | ||||
|  | ||||
| 	a.auditlink { color: #0072e6; } | ||||
| 	.menulink { color: #0072e6; } | ||||
|  | ||||
|         #health1 { display: table-cell; margin-top: 10px; margin-bottom: 0; } | ||||
|         #health2 { display: table-cell; text-align: right; } | ||||
|  | ||||
| 	.cellhealthleft { display: table-cell; height: 25px; text-align: left; padding: 3px; font-family: "Trebuchet MS", Arial, Verdana; } | ||||
| 	.cellhealthright { display: table-cell; height: 25px; text-align: left; padding: 3px; font-family: "Trebuchet MS", Arial, Verdana; } | ||||
|  | ||||
| 	#pagenav { float: left; margin-top: 0px; margin-bottom: 0px; text-align: left; width: 990px; border: 0px solid red; } | ||||
| 	.navrow { display: table-row; } | ||||
| 	.navlink { color: #bbb; font-family: bold 14px "Trebuchet MS", Arial, Verdana; } | ||||
| 	#pagenav a.navlink { color: #0072e6; font-family: bold 14px "Trebuchet MS", Arial, Verdana; } | ||||
|  | ||||
|         #pagingleft { display: table-cell; float: left; text-align: left; width: 60px;  border: 0px solid red; } | ||||
|         #pagingcenter { display: table-cell; float: left; text-align: center; width: 145px; border: 0px solid red; } | ||||
|         #pagingright { display: table-cell; float: left; text-align: right; width: 60px; border: 0px solid red; } | ||||
|  | ||||
| 	.messagelink { border-bottom: 1px solid gray; color: #0072e6; } | ||||
| 	.messagelink.spam { border-bottom: 1px solid gray; color: #aaa; } | ||||
| 	#results a:hover { color: black; } | ||||
|  | ||||
|  | ||||
| 	input[type=textarea] { height:80px; } | ||||
|  | ||||
| 	input[type=checkbox].restorebox { margin: 0; vertical-align: middle; } | ||||
| 	input[type=checkbox].popup { margin: 0; vertical-align: middle; } | ||||
| 	input[type=text] { font-family: "Trebuchet MS", Arial, Verdana; font-weight: bold; } | ||||
| 	select { font-family: "Trebuchet MS", Arial, Verdana; } | ||||
|  | ||||
| 	#messagepopup { margin: 10px 20px 10px 20px; padding: 0; background-color: white; text-align: left; } | ||||
| 	#restorebox { position: absolute; top: 20px; left: 15%; border: 3px solid red; display: none; background: orange; color: #000000; font-weight: bold; padding: 15px; z-index: 1; } | ||||
|  | ||||
| 	.domainrow { display: table-row; border: 2px solid gray; padding: 10px; } | ||||
| 	.domaincell { display: table-cell; font-family: "Trebuchet MS", Arial, Verdana; border: 1px solid gray; padding: 5px; vertical-align: top; } | ||||
| 	.logincell { display: table-cell; font-family: "Trebuchet MS", Arial, Verdana; padding: 5px; vertical-align: top; } | ||||
| 	.domain { font-family: "Trebuchet MS", Arial, Verdana; font-weight: bold; text-align:left; width: 408px;} | ||||
|  | ||||
| 	.login { text-align: center; margin-top:20%; } | ||||
|  | ||||
| 	.folder { margin: 0 0 5px 10px; } | ||||
|  | ||||
| 	.bold { font-weight: bold; } | ||||
| 	.left { text-align: left; } | ||||
| 	.center { text-align: center; } | ||||
| 	.sleek { margin:0; padding:0; } | ||||
| 	.with20margin{ margin-left:20%; margin-right:20%; } | ||||
| 	.bottomborder { border-bottom: 1px solid black; } | ||||
|  | ||||
| 	#notesbox { position:absolute; top: 3px; right: 3px; } | ||||
| 	.messageheader { margin-left: 5px; } | ||||
| 	.messagecontents { background-color:#fff; padding:8px; font-size:14px; font-family: "Trebuchet MS", Arial, Verdana; } | ||||
|  | ||||
|  | ||||
| 	/* rc splitter stuff */ | ||||
|  | ||||
|  | ||||
| 	#mainscreen { position: absolute; top: 90px; right: 20px; bottom: 20px; left: 20px; margin-top: 5px; } | ||||
|  | ||||
| 	#mailleftcontainer { position: absolute; top: 0; left: 0; bottom: 0; width: 195px; } | ||||
| 	#mailboxlist-container { position: absolute; top: 0; left: 0; width: 100%; bottom: 0; border: 1px solid #999; background-color: #F9F9F9; overflow-y: auto; overflow-x: hidden; } | ||||
| 	#mailboxlist { position:relative; height: auto; margin: 0px; padding: 0px; list-style-image: none; list-style-type: none; overflow: hidden; white-space: nowrap; background-color: #FFF; } | ||||
| 	#mailrightcontainer { position: absolute; top: 0; left: 170px; bottom: 0; right: 0; min-width: 400px; } | ||||
| 	#mailrightcontent { position: absolute; top: 0px; left: 0; right: 0; bottom: 0; } | ||||
| 	#mailcontframe { position: absolute; width: 100%; top: 0; bottom: 0; border: 1px solid #999999; background-color: #F9F9F9; overflow: hidden; } | ||||
| 	#mailpreviewframe { position: absolute; width: 100%; top: 205px; bottom: 0px; border: 1px solid #999999; background-color: #F9F9F9; } | ||||
|  | ||||
| 	.boxlistcontent { position: absolute; top: 0px; bottom: 50px; left: 0; right: 0; width: 100%; overflow-y: auto; overflow-x: hidden; height: auto; } | ||||
| 	.boxfooter { position: absolute; bottom: 0px; left: 0px; right: 0px; overflow: hidden; border-top: 1px solid #999; } | ||||
|  | ||||
| 	.splitter { user-select: none; -moz-user-select: none; -khtml-user-select: none; position: absolute; background: url(/view/theme/mobile/images/dimple.png) center no-repeat; } | ||||
| 	.splitter-h { cursor: n-resize; cursor: row-resize; background-position: center 2px; } | ||||
| 	.splitter-v { cursor: e-resize; cursor: col-resize; background-position: 2px center; } | ||||
|  | ||||
| 	.message_highlight { background: lightblue; } | ||||
|  | ||||
| 	.rc-handle-container { position: relative; } | ||||
| 	.rc-handle { position: absolute; width: 7px; cursor: ew-resize; margin-left: -3px; z-index: 2; } | ||||
| 	table.rc-table-resizing { cursor: ew-resize; } | ||||
| 	table.rc-table-resizing thead, table.rc-table-resizing thead > th, table.rc-table-resizing thead > th > a { cursor: ew-resize; } | ||||
|  | ||||
|  | ||||
|  | ||||
| 	.ui-helper-hidden { display: none; } | ||||
|  | ||||
| 	.btn-file{position:relative;overflow:hidden;vertical-align:middle;} | ||||
| 	.btn-file>input{position:absolute;top:0;right:0;margin:0;font-size:23px;cursor:pointer;opacity:0;filter:alpha(opacity=0);transform:translate(-300px, 0) scale(4);direction:ltr;} | ||||
| 	.fileupload{margin-bottom:9px;} | ||||
| 	.fileupload .uneditable-input{display:inline-block;margin-bottom:0;vertical-align:middle;cursor:text;} | ||||
| 	.fileupload .thumbnail{display:inline-block;margin-bottom:5px;overflow:hidden;text-align:center;vertical-align:middle;} | ||||
| 	.fileupload .thumbnail>img{display:inline-block;max-height:100%;vertical-align:middle;} | ||||
| 	.fileupload .btn{vertical-align:middle;} | ||||
| 	.fileupload-exists .fileupload-new,.fileupload-new .fileupload-exists{display:none;} | ||||
| 	.fileupload-inline .fileupload-controls{display:inline;} | ||||
| 	.fileupload-new .input-append .btn-file{-webkit-border-radius:0 3px 3px 0;-moz-border-radius:0 3px 3px 0;border-radius:0 3px 3px 0;} | ||||
| 	.thumbnail-borderless .thumbnail{padding:0;border:none;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;} | ||||
| 	.fileupload-new.thumbnail-borderless .thumbnail{border:1px solid #ddd;} | ||||
| 	.control-group.warning .fileupload .uneditable-input{color:#a47e3c;border-color:#a47e3c;} | ||||
| 	.control-group.warning .fileupload .fileupload-preview{color:#a47e3c;} | ||||
| 	.control-group.warning .fileupload .thumbnail{border-color:#a47e3c;} | ||||
| 	.control-group.error .fileupload .uneditable-input{color:#b94a48;border-color:#b94a48;} | ||||
| 	.control-group.error .fileupload .fileupload-preview{color:#b94a48;} | ||||
| 	.control-group.error .fileupload .thumbnail{border-color:#b94a48;} | ||||
| 	.control-group.success .fileupload .uneditable-input{color:#468847;border-color:#468847;} | ||||
| 	.control-group.success .fileupload .fileupload-preview{color:#468847;} | ||||
| 	.control-group.success .fileupload .thumbnail{border-color:#468847;} | ||||
|  | ||||
| } | ||||
|  | ||||
|  | ||||
| @@ -1,95 +0,0 @@ | ||||
| <p> </p> | ||||
|  | ||||
| <p> | ||||
| <?php if ($view == 'email') { echo '<strong>'.$text_accounting_email.'</strong>'; } else { echo '<a href="index.php?route=accounting/accounting&view=email">'.$text_accounting_email.'</a>'; } ?> |  | ||||
| <?php if ($view == 'domain') { echo '<strong>'.$text_accounting_domain.'</strong>'; } else { echo '<a href="index.php?route=accounting/accounting&view=domain">'.$text_accounting_domain.'</a>'; } ?> | ||||
| </p> | ||||
|  | ||||
|  | ||||
| <?php if ( $accounting ) { ?> | ||||
|  | ||||
|     <div id="pagenav"> | ||||
|         <?php if($page > 0){ ?><a href="index.php?route=accounting/accounting&page=0&view=<?php echo $view; ?>&sort=<?php print $sort; ?>&order=<?php print $order; ?>" class="navlink"><?php } ?> « <?php if($page > 0){ ?></a><?php } ?> | ||||
|         <?php if($page > 0){ ?><a href="index.php?route=accounting/accounting&page=<?php print $prev_page; ?>&view=<?php echo $view; ?>&sort=<?php print $sort; ?>&order=<?php print $order; ?>" class="navlink"><?php } ?> ‹ <?php if($page > 0){ ?></a><?php } ?> | ||||
|         <?php if(count($accounting) > 0) { print $accounting[0]['display']; ?> - <?php print $accounting[count($accounting)-1]['display']; } ?> | ||||
|         <?php if($total_records >= $page_len*($page+1) && $total_records > $page_len){ ?><a href="index.php?route=accounting/accounting&page=<?php print $next_page; ?>&view=<?php echo $view; ?>&sort=<?php print $sort; ?>&order=<?php print $order; ?>" class="navlink"><?php } ?> › <?php if($total_records >= $page_len*($page+1) && $total_records > $page_len){ ?></a><?php } ?> | ||||
|         <?php if($page < $total_pages){ ?><a href="index.php?route=accounting/accounting&page=<?php print $total_pages; ?>&view=<?php echo $view; ?>&sort=<?php print $sort; ?>&order=<?php print $order; ?>" class="navlink"><?php } ?> » <?php if($page < $total_pages){ ?></a><?php } ?> | ||||
|     </div> | ||||
|  | ||||
|     <div id="ss1" style="margin-top: 10px;"> | ||||
|  | ||||
|         <div class="domainrow"> | ||||
|             <div class="domaincell"> </div> | ||||
|             <div class="domaincell"> </div> | ||||
|             <div class="domaincell"> </div> | ||||
|         <?php if(ENABLE_SAAS == 1 && $view == 'domain') { ?> | ||||
|             <div class="domaincell"> </div> | ||||
|         <?php } ?> | ||||
|             <div class="domaincell"> </div> | ||||
|             <div class="domaincell"><?php print $text_sent; ?></div> | ||||
|             <div class="domaincell"> </div> | ||||
|             <div class="domaincell"> </div> | ||||
|             <div class="domaincell"><?php print $text_received; ?></div> | ||||
|             <div class="domaincell"> </div> | ||||
|         </div> | ||||
|         <div class="domainrow"> | ||||
|             <div class="domaincell"><?php echo $viewname; ?> <?php if(ENABLE_SAAS == 1 && $view == 'domain') { ?>(<?php print $mydomain_count; ?>)<?php } ?> <a href="index.php?route=accounting/accounting&view=<?php echo $view; ?>&sort=item&order=0"><i class="icon-chevron-up"></i></a> <a href="index.php?route=accounting/accounting&view=<?php echo $view; ?>&sort=item&order=1"><i class="icon-chevron-down"></i></a></div> | ||||
|         <?php if(ENABLE_SAAS == 1 && $view == 'domain') { ?> | ||||
|             <div class="domaincell"><?php print $text_users; ?> (<?php print $user_count; ?>)</div> | ||||
|         <?php } ?> | ||||
|             <div class="domaincell"><?php print $text_oldest_record; ?> <a href="index.php?route=accounting/accounting&view=<?php echo $view; ?>&sort=oldest&order=0"><i class="icon-chevron-up"></i></a> <a href="index.php?route=accounting/accounting&view=<?php echo $view; ?>&sort=oldest&order=1"><i class="icon-chevron-down"></i></a></div> | ||||
|             <div class="domaincell"><?php print $text_newest_record; ?> <a href="index.php?route=accounting/accounting&view=<?php echo $view; ?>&sort=newest&order=0"><i class="icon-chevron-up"></i></a> <a href="index.php?route=accounting/accounting&view=<?php echo $view; ?>&sort=newest&order=1"><i class="icon-chevron-down"></i></a></div> | ||||
|             <div class="domaincell"><?php print $text_items; ?> <a href="index.php?route=accounting/accounting&view=<?php echo $view; ?>&sort=sent&order=0"><i class="icon-chevron-up"></i></a> <a href="index.php?route=accounting/accounting&view=<?php echo $view; ?>&sort=sent&order=1"><i class="icon-chevron-down"></i></a></div> | ||||
|             <div class="domaincell"><?php print $text_size; ?> <a href="index.php?route=accounting/accounting&view=<?php echo $view; ?>&sort=sentsize&order=0"><i class="icon-chevron-up"></i></a> <a href="index.php?route=accounting/accounting&view=<?php echo $view; ?>&sort=sentsize&order=1"><i class="icon-chevron-down"></i></a></div> | ||||
|             <div class="domaincell"><?php print $text_average_size; ?> <a href="index.php?route=accounting/accounting&view=<?php echo $view; ?>&sort=sentavg&order=0"><i class="icon-chevron-up"></i></a> <a href="index.php?route=accounting/accounting&view=<?php echo $view; ?>&sort=sentavg&order=1"><i class="icon-chevron-down"></i></a></div> | ||||
|             <div class="domaincell"><?php print $text_items; ?> <a href="index.php?route=accounting/accounting&view=<?php echo $view; ?>&sort=recd&order=0"><i class="icon-chevron-up"></i></a> <a href="index.php?route=accounting/accounting&view=<?php echo $view; ?>&sort=recd&order=1"><i class="icon-chevron-down"></i></a></div> | ||||
|             <div class="domaincell"><?php print $text_size; ?> <a href="index.php?route=accounting/accounting&view=<?php echo $view; ?>&sort=recdsize&order=0"><i class="icon-chevron-up"></i></a> <a href="index.php?route=accounting/accounting&view=<?php echo $view; ?>&sort=recdsize&order=1"><i class="icon-chevron-down"></i></a></div> | ||||
|             <div class="domaincell"><?php print $text_average_size; ?> <a href="index.php?route=accounting/accounting&view=<?php echo $view; ?>&sort=recdavg&order=0"><i class="icon-chevron-up"></i></a> <a href="index.php?route=accounting/accounting&view=<?php echo $view; ?>&sort=recdavg&order=1"><i class="icon-chevron-down"></i></a></div> | ||||
|         </div> | ||||
|  | ||||
|  | ||||
|         <?php foreach($accounting as $details) {?> | ||||
|             <div class="domainrow"> | ||||
|                 <div class="domaincell"><?php echo $details['item']; ?></div> | ||||
|  | ||||
|              <?php if(ENABLE_SAAS == 1 && $view == 'domain') { ?> | ||||
|                 <div class="domaincell center"><a href="index.php?route=accounting/accounting&view=accounts&domain=<?php echo $details['item']; ?>"><?php echo count($accounts[$details['item']]); ?></a></div> | ||||
|              <?php } ?> | ||||
|  | ||||
|                 <div class="domaincell"><?php echo date(DATE_TEMPLATE, $details['oldest']); ?></div> | ||||
|                 <div class="domaincell"><?php echo date(DATE_TEMPLATE, $details['newest']); ?></div> | ||||
|                 <div class="domaincell"> | ||||
|                     <?php echo $details['sent']; ?> | ||||
|                 </div> | ||||
|                 <div class="domaincell"> | ||||
|                     <?php echo nice_size($details['sentsize']); ?> | ||||
|                 </div> | ||||
|                 <div class="domaincell"> | ||||
|                     <?php echo nice_size($details['sentavg']); ?> | ||||
|                 </div> | ||||
|                 <div class="domaincell"> | ||||
|                     <?php echo $details['recd']; ?> | ||||
|                 </div> | ||||
|                 <div class="domaincell"> | ||||
|                     <?php echo nice_size($details['recdsize']); ?> | ||||
|                 </div> | ||||
|                 <div class="domaincell"> | ||||
|                     <?php echo nice_size($details['recdavg']); ?> | ||||
|                 </div> | ||||
|             </div> | ||||
|         <?php } ?> | ||||
|  | ||||
|     </div> | ||||
|  | ||||
|  | ||||
|     <div id="pagenav"> | ||||
|         <?php if($page > 0){ ?><a href="index.php?route=accounting/accounting&page=0&view=<?php echo $view; ?>&sort=<?php print $sort; ?>&order=<?php print $order; ?>" class="navlink"><?php } ?> « <?php if($page > 0){ ?></a><?php } ?> | ||||
|         <?php if($page > 0){ ?><a href="index.php?route=accounting/accounting&page=<?php print $prev_page; ?>&view=<?php echo $view; ?>&sort=<?php print $sort; ?>&order=<?php print $order; ?>" class="navlink"><?php } ?> ‹ <?php if($page > 0){ ?></a><?php } ?> | ||||
|         <?php if(count($accounting) > 0) { print $accounting[0]['display']; ?> - <?php print $accounting[count($accounting)-1]['display']; } ?> | ||||
|         <?php if($total_records >= $page_len*($page+1) && $total_records > $page_len){ ?><a href="index.php?route=accounting/accounting&page=<?php print $next_page; ?>&view=<?php echo $view; ?>&sort=<?php print $sort; ?>&order=<?php print $order; ?>" class="navlink"><?php } ?> › <?php if($total_records >= $page_len*($page+1) && $total_records > $page_len){ ?></a><?php } ?> | ||||
|         <?php if($page < $total_pages){ ?><a href="index.php?route=accounting/accounting&page=<?php print $total_pages; ?>&view=<?php echo $view; ?>&sort=<?php print $sort; ?>&order=<?php print $order; ?>" class="navlink"><?php } ?> » <?php if($page < $total_pages){ ?></a><?php } ?> | ||||
|     </div> | ||||
| <?php } else { ?> | ||||
|     <p><?php $s = 'text_no_' . $view . '_found'; print $$s; ?></p> | ||||
| <?php } ?> | ||||
|  | ||||
| @@ -1,32 +0,0 @@ | ||||
|  | ||||
| <p> | ||||
| <?php if ($view == 'email') { echo '<strong>'.$text_accounting_email.'</strong>'; } else { echo '<a href="index.php?route=accounting/accounting&view=email">'.$text_accounting_email.'</a>'; } ?> |  | ||||
| <?php if ($view == 'domain') { echo '<strong>'.$text_accounting_domain.'</strong>'; } else { echo '<a href="index.php?route=accounting/accounting&view=domain">'.$text_accounting_domain.'</a>'; } ?> | ||||
| </p> | ||||
|  | ||||
| <p><a href="index.php?route=accounting/accounting&view=domain"><?php print $text_back; ?></a></p> | ||||
|  | ||||
| <?php if(count($accounts) > 0) { ?> | ||||
|  | ||||
|     <div id="ss1"> | ||||
|  | ||||
|         <div class="domainrow"> | ||||
|             <div class="domaincell"><?php echo $text_email; ?> (@<?php print $domain; ?>) </div> | ||||
|         </div> | ||||
|          | ||||
|         <?php foreach($accounts as $a) {?> | ||||
|         <div class="domainrow"> | ||||
|             <div class="domaincell"><?php echo $a['mail']; ?></div> | ||||
|         </div> | ||||
|         <?php } ?> | ||||
|     </div> | ||||
|      | ||||
| <?php } else { ?> | ||||
| <div class="domainrow"> | ||||
|     <div class="domaincell"><?php print $text_no_email_found; ?></div> | ||||
| </div> | ||||
| <?php } ?> | ||||
|  | ||||
| <p><a href="index.php?route=accounting/accounting&view=domain"><?php print $text_back; ?></a></p> | ||||
|  | ||||
|  | ||||
| @@ -1,50 +0,0 @@ | ||||
|  | ||||
| <div id="messagelistcontainer" class="boxlistcontent"> | ||||
|  | ||||
|    <div id="results"> | ||||
|  | ||||
| <?php if($n > 0) { $i=0; foreach ($messages as $message) { $i++; ?> | ||||
|  | ||||
|          <div class="resultrow<?php if($i % 2) { ?> odd<?php } ?>"> | ||||
|             <div class="auditcell date"><?php print $message['date']; ?></div> | ||||
|             <div class="auditcell user"><?php print $message['email']; ?></div> | ||||
|             <div class="auditcell ip"><?php print $message['ipaddr']; ?></div> | ||||
|             <div class="auditcell action"><?php print $actions[$message['action']]; ?></div> | ||||
|             <div class="auditcell description"><?php if($message['description'] != $message['shortdescription']) { ?><span title="<?php print $message['description']; ?>"><?php print $message['shortdescription']; ?></span><?php } else { print $message['description']; } ?></div> | ||||
|             <div class="auditcell ref"><?php if(Registry::get('auditor_user') == 1 && $message['id'] > 0) { ?><a href="#" class="auditlink" onclick="Piler.view_message(<?php print $message['id']; ?>);"><?php print $message['id']; ?></a><?php } ?></div> | ||||
|          </div> | ||||
|  | ||||
| <?php } } else { ?> | ||||
|     <div class="alert"> | ||||
|        <strong><?php print $text_empty_search_result; ?></strong> | ||||
|     </div> | ||||
|  | ||||
| <?php } ?> | ||||
|  | ||||
|    </div> | ||||
|  | ||||
| </div> | ||||
|  | ||||
|  | ||||
|         <div class="boxfooter"> | ||||
|  | ||||
| <?php if($n >= $page_len){ ?> | ||||
|    <span class="piler-right-margin"> | ||||
|          <?php if($page > 0) { ?><a href="#" onclick="Piler.navigation(0);"><<</a>   <?php } else { ?><span class="navlink"><<   </span><?php } ?> | ||||
|          <?php if($page > 0) { ?><a href="#" onclick="Piler.navigation(<?php print $prev_page; ?>);"> < </a> <?php } else { ?><span class="navlink"> < </span><?php } ?> | ||||
|  | ||||
|          <?php print $hits_from; ?>-<?php print $hits_to; ?>, <?php print $text_total; ?>: <?php print $n; ?> | ||||
|  | ||||
|          <?php if($next_page <= $total_pages){ ?><a href="#" onclick="Piler.navigation(<?php print $next_page; ?>);">> </a> <?php } else { ?><span class="navlink">> </span><?php } ?> | ||||
|          <?php if($page < $total_pages) { ?>   <a href="#" onclick="Piler.navigation(<?php print $total_pages; ?>);"> >> </a><?php } else { ?> <span class="navlink">   >></span><?php } ?> | ||||
|    </span> | ||||
|  | ||||
| <?php } else { ?> <?php } ?> | ||||
|  | ||||
| <?php if($n > 0) { ?> | ||||
|           <a href="index.php?route=audit/download"><button class="btn btn-medium btn-inverse">Export CSV</button> | ||||
| <?php } ?> | ||||
|  | ||||
|         </div> | ||||
|  | ||||
|  | ||||
| @@ -1,3 +0,0 @@ | ||||
|  | ||||
| <p class="text-error bold"><?php print $errorstring; ?></p> | ||||
|  | ||||
| @@ -1 +0,0 @@ | ||||
|  | ||||
| @@ -1,150 +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="<?php print DEFAULT_LANG; ?>" /> | ||||
|    <?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 } ?> | ||||
|    <meta name="rating" content="general" /> | ||||
|    <meta name="robots" content="all" /> | ||||
|  | ||||
|    <meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||||
|  | ||||
|    <link href="/bootstrap/css/bootstrap<?php print BOOTSTRAP_THEME; ?>.min.css" rel="stylesheet" media="screen"> | ||||
|    <link href="/bootstrap/css/bootstrap-responsive.min.css" rel="stylesheet" media="screen"> | ||||
|  | ||||
|    <link rel="stylesheet" type="text/css" href="/view/theme/<?php print THEME; ?>/stylesheet/jquery-ui-custom.min.css" /> | ||||
|    <link rel="stylesheet" type="text/css" href="/view/theme/<?php print THEME; ?>/stylesheet/style-<?php print THEME; ?>.css" /> | ||||
|  | ||||
|    <script type="text/javascript" src="/view/javascript/jquery.min.js"></script> | ||||
|    <script type="text/javascript" src="/view/javascript/jquery-ui.min.js"></script> | ||||
|    <script type="text/javascript" src="/view/javascript/bootstrap.min.js"></script> | ||||
|    <script type="text/javascript" src="/view/javascript/rc-splitter.js"></script> | ||||
|    <script type="text/javascript" src="/view/javascript/piler.js"></script> | ||||
|  | ||||
|    <?php if(BRANDING_FAVICON) { ?><link rel="shortcut icon" href="<?php print BRANDING_FAVICON; ?>" /><?php } ?> | ||||
| </head> | ||||
|  | ||||
| <body class="mybody" onload="Piler.add_shortcuts();"> | ||||
|  | ||||
| <div id="messagebox1"></div> | ||||
|  | ||||
| <div id="piler1" class="container"> | ||||
|  | ||||
|  | ||||
| <div id="menu"> | ||||
| <?php print $menu; ?> | ||||
| </div> | ||||
|  | ||||
| <div id="expertsearch"> | ||||
|  | ||||
|       <form class="well form-search sleek"> | ||||
|  | ||||
|          <input type="hidden" name="searchtype" id="searchtype" value="expert" /> | ||||
|          <input type="hidden" name="sort" id="sort" value="date" /> | ||||
|          <input type="hidden" name="order" id="order" value="0" /> | ||||
|  | ||||
|          <input type="text" id="_search" name="_search" class="input-medium span6" value="" placeholder="<?php print $text_enter_search_terms; ?>" /> | ||||
|  | ||||
|          <button id="button_search" class="btn btn-danger" onclick="Piler.auditexpert(this); return false;"><?php print $text_search; ?></button> | ||||
|          <input type="button" class="btn" onclick="Piler.cancel();" value="<?php print $text_cancel; ?>" /> | ||||
|       </form> | ||||
|  | ||||
|          <div id="sspinner"> | ||||
|             <div class="progress progress-striped active"> | ||||
|                <div class="bar" style="width: 100%;"></div> | ||||
|             </div> | ||||
|          </div> | ||||
| </div> | ||||
|  | ||||
| <div id="resultsheader"> | ||||
| <div id="resultstop"> | ||||
|    <div class="resultrow"> | ||||
|       <div class="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="mailrightcontainernofolder"> | ||||
|  | ||||
|     <div id="mailrightcontent"> | ||||
|  | ||||
|       <div id="mailcontframe"> | ||||
|  | ||||
|         <div id="messagelistcontainer" class="boxlistcontent">  | ||||
|  | ||||
| <?php print $content; ?> | ||||
|  | ||||
|         </div> | ||||
|       </div> | ||||
|  | ||||
| <?php if(Registry::get('auditor_user') == 1) { ?> | ||||
|  | ||||
| <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> | ||||
|  | ||||
| <?php } ?> | ||||
|  | ||||
|  | ||||
|  | ||||
|   </div> | ||||
|  | ||||
|  | ||||
|  | ||||
| </div> | ||||
|  | ||||
|  | ||||
| </div> | ||||
|  | ||||
| <?php if(Registry::get('auditor_user') == 1) { ?> | ||||
|  | ||||
| <script type="text/javascript"> | ||||
| $(document).ready(function(){ | ||||
|    split.init(); | ||||
| }); | ||||
| </script> | ||||
|  | ||||
| <?php } ?> | ||||
|  | ||||
| <?php if(TRACKING_CODE) { print TRACKING_CODE; } ?> | ||||
|  | ||||
| </body> | ||||
| </html> | ||||
| @@ -1,48 +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="<?php print DEFAULT_LANG; ?>" /> | ||||
|    <?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 } ?> | ||||
|    <meta name="rating" content="general" /> | ||||
|    <meta name="robots" content="all" /> | ||||
|  | ||||
|    <link rel="stylesheet" type="text/css" href="/view/theme/<?php print THEME; ?>/stylesheet/style-<?php print THEME; ?>.css" /> | ||||
|  | ||||
|    <script type="text/javascript"> | ||||
|  | ||||
|     function append_value_from_slider(id, value) | ||||
|     { | ||||
|         var prefix = '\n'; | ||||
|  | ||||
|         a = opener.document.getElementById(id); | ||||
|         if(a && a.value == '') prefix = ''; | ||||
|  | ||||
|         a.value += prefix + value; | ||||
|     } | ||||
|  | ||||
|    </script> | ||||
|  | ||||
|    <?php if(BRANDING_FAVICON) { ?><link rel="shortcut icon" href="<?php print BRANDING_FAVICON; ?>" /><?php } ?> | ||||
|  | ||||
| </head> | ||||
|  | ||||
| <body class="email"> | ||||
|  | ||||
| <div id="wrapemail"> | ||||
|  | ||||
| <?php if(isset($title) && $title) { ?><h3><?php print $title; ?></h3><?php } ?> | ||||
|  | ||||
| <?php print $content; ?> | ||||
|  | ||||
|  | ||||
| </div> <!-- wrap --> | ||||
|  | ||||
| <?php if(TRACKING_CODE) { print TRACKING_CODE; } ?> | ||||
|  | ||||
| </body> | ||||
| </html> | ||||
| @@ -1 +0,0 @@ | ||||
| <?php print $content; ?> | ||||
| @@ -1,173 +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="<?php print DEFAULT_LANG; ?>" /> | ||||
|    <?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 } ?> | ||||
|    <meta name="rating" content="general" /> | ||||
|    <meta name="robots" content="all" /> | ||||
|  | ||||
|    <meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||||
|  | ||||
|    <link href="/bootstrap/css/bootstrap<?php print BOOTSTRAP_THEME; ?>.min.css" rel="stylesheet" media="screen"> | ||||
|    <link href="/bootstrap/css/bootstrap-responsive.min.css" rel="stylesheet" media="screen"> | ||||
|  | ||||
|    <link rel="stylesheet" type="text/css" href="/view/theme/<?php print THEME; ?>/stylesheet/jquery-ui-custom.min.css" /> | ||||
|    <link rel="stylesheet" type="text/css" href="/view/theme/<?php print THEME; ?>/stylesheet/style-<?php print THEME; ?>.css" /> | ||||
|  | ||||
|    <script type="text/javascript" src="/view/javascript/jquery.min.js"></script> | ||||
|    <script type="text/javascript" src="/view/javascript/jquery-ui.min.js"></script> | ||||
|    <script type="text/javascript" src="/view/javascript/bootstrap.min.js"></script> | ||||
|    <script type="text/javascript" src="/view/javascript/rc-splitter.js"></script> | ||||
|  | ||||
| <?php if(ENABLE_TABLE_RESIZE == 1) { ?> | ||||
|    <script type="text/javascript" src="/view/javascript/store.js"></script> | ||||
|    <script type="text/javascript" src="/view/javascript/jquery.resizableColumns.min.js"></script> | ||||
| <?php } ?> | ||||
|  | ||||
|    <script type="text/javascript" src="/view/javascript/piler.js"></script> | ||||
|  | ||||
|    <?php if(BRANDING_FAVICON) { ?><link rel="shortcut icon" href="<?php print BRANDING_FAVICON; ?>" /><?php } ?> | ||||
| </head> | ||||
|  | ||||
| <body class="mybody" onload="Piler.add_shortcuts();"> | ||||
|  | ||||
| <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) { alert(reason); }" class="btn btn-primary" data-dismiss="modal" aria-hidden="true">OK</a> | ||||
|   </div> | ||||
| </div> | ||||
| <?php } ?> | ||||
|  | ||||
| <div id="messagebox1"></div> | ||||
|  | ||||
| <div id="piler1" class="container"> | ||||
|  | ||||
| <?php if(!(OUTLOOK == 1 && SHOW_MENU_FOR_OUTLOOK == 0)) { ?> | ||||
| <div id="menu"> | ||||
|    <?php print $menu; ?> | ||||
| </div> | ||||
| <?php } ?> | ||||
|  | ||||
| <div id="expertsearch"> | ||||
|  | ||||
|       <form class="well form-search sleek"> | ||||
|  | ||||
|          <input type="hidden" name="searchtype" id="searchtype" value="expert" /> | ||||
|          <input type="hidden" name="sort" id="sort" value="date" /> | ||||
|          <input type="hidden" name="order" id="order" value="0" /> | ||||
|          <input type="hidden" name="ref" id="ref" value="" /> | ||||
|          <input type="hidden" name="prefix" id="prefix" value="" /> | ||||
|  | ||||
|          <input type="text" id="_search" name="_search" class="input-medium span6" value="" placeholder="<?php print $text_enter_search_terms; ?>" /> | ||||
|  | ||||
|       <?php if(OUTLOOK == 0) { ?> | ||||
|          <a id="advsearch_caret" href="#" onclick="$('#searchpopup1').show();"><b class="caret"></b></a> | ||||
|       <?php } ?> | ||||
|  | ||||
|          <button id="button_search" class="btn btn-danger" onclick="Piler.expert(this); return false;"><?php print $text_search; ?></button> | ||||
|  | ||||
|          <button class="btn" onclick="Piler.cancel(); return false;"><?php print $text_cancel; ?></button> | ||||
|          <button class="btn " onclick="Piler.saved_search_terms('<?php print $text_saved; ?>'); return false;"><?php print $text_save; ?></button> | ||||
|          <button class="btn btn-inverse" onclick="Piler.load_saved_search_terms(); return false;"><?php print $text_load; ?></button> | ||||
|       </form> | ||||
|  | ||||
|          <?php if(OUTLOOK == 0) { print $popup; } ?> | ||||
|  | ||||
|          <div id="sspinner"> | ||||
|             <div class="progress progress-striped active"> | ||||
|                <div class="bar" style="width: 100%;"></div> | ||||
|             </div> | ||||
|          </div> | ||||
| </div> | ||||
|  | ||||
|  | ||||
|  | ||||
| <div id="mainscreen"> | ||||
|   <div id="mailleftcontainer"> | ||||
|  | ||||
| <?php if(ENABLE_FOLDER_RESTRICTIONS == 1) { ?> | ||||
|     <div id="mailboxlist-container"> | ||||
|        <?php print $folder; ?> | ||||
|     </div> | ||||
|  | ||||
|  | ||||
|     <script type="text/javascript"> | ||||
|   var mailviewsplitv = new rcube_splitter({id:'splitter1', p1: 'mailleftcontainer', p2: 'mailrightcontainer', orientation: 'v', relative: true, start: 165}); | ||||
|   split.add_onload('mailviewsplitv.init()'); | ||||
|     </script> | ||||
|  | ||||
| <?php } ?> | ||||
|  | ||||
|   </div> | ||||
|  | ||||
|   <div id="mailrightcontainer<?php if(ENABLE_FOLDER_RESTRICTIONS == 0) { ?>nofolder<?php } ?>"> | ||||
|  | ||||
|     <div id="mailrightcontent"> | ||||
|  | ||||
|       <div id="mailcontframe"> | ||||
|  | ||||
|         <div id="messagelistcontainer" class="boxlistcontent">  | ||||
|  | ||||
| <?php print $content; ?> | ||||
|  | ||||
|         </div> | ||||
|       </div> | ||||
|  | ||||
| <script type="text/javascript"> | ||||
|   var mailviewsplit = new rcube_splitter({id:'splitter2', p1: 'mailcontframe', p2: 'mailpreviewframe', orientation: 'h', relative: true, start: 205}); | ||||
|   split.add_onload('mailviewsplit.init()'); | ||||
| </script> | ||||
|  | ||||
|       <div id="mailpreviewframe"> | ||||
|       </div> | ||||
|  | ||||
|  | ||||
|   </div> | ||||
|  | ||||
|  | ||||
|  | ||||
| </div> | ||||
|  | ||||
|  | ||||
| </div> | ||||
|  | ||||
|  | ||||
| <script type="text/javascript"> | ||||
| $(document).ready(function(){ | ||||
|    split.init(); | ||||
|    Piler.fix_page(); | ||||
| }); | ||||
| </script> | ||||
|  | ||||
| <?php if(TRACKING_CODE) { print TRACKING_CODE; } ?> | ||||
|  | ||||
| </body> | ||||
| </html> | ||||
| @@ -1,68 +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="<?php print DEFAULT_LANG; ?>" /> | ||||
|    <?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 } ?> | ||||
|    <meta name="rating" content="general" /> | ||||
|    <meta name="robots" content="all" /> | ||||
|  | ||||
|    <meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||||
|  | ||||
|    <link href="/bootstrap/css/bootstrap<?php print BOOTSTRAP_THEME; ?>.min.css" rel="stylesheet" media="screen"> | ||||
|    <link href="/bootstrap/css/bootstrap-responsive.min.css" rel="stylesheet" media="screen"> | ||||
|  | ||||
|    <link rel="stylesheet" type="text/css" href="/view/theme/<?php print THEME; ?>/stylesheet/jquery-ui-custom.min.css" /> | ||||
|    <link rel="stylesheet" type="text/css" href="/view/theme/<?php print THEME; ?>/stylesheet/style-<?php print THEME; ?>.css" /> | ||||
|  | ||||
|    <script type="text/javascript" src="/view/javascript/jquery.min.js"></script> | ||||
|    <script type="text/javascript" src="/view/javascript/jquery-ui.min.js"></script> | ||||
|    <script type="text/javascript" src="/view/javascript/bootstrap.min.js"></script> | ||||
|    <script type="text/javascript" src="/view/javascript/jscolor.js"></script> | ||||
|    <script type="text/javascript" src="/view/javascript/fileupload.js"></script> | ||||
|    <script type="text/javascript" src="/view/javascript/rc-splitter.js"></script> | ||||
|    <script type="text/javascript" src="/view/javascript/piler.js"></script> | ||||
|  | ||||
|    <?php if(BRANDING_FAVICON) { ?><link rel="shortcut icon" href="<?php print BRANDING_FAVICON; ?>" /><?php } ?> | ||||
|  | ||||
| </head> | ||||
|  | ||||
| <body<?php | ||||
|  | ||||
| if(isset($this->request->get['route'])) { | ||||
|  | ||||
|    if($this->request->get['route'] == 'health/health') { ?> onload="Piler.load_health(); setInterval('Piler.load_health()', Piler.health_refresh * 1000);"<?php } | ||||
|    if($this->request->get['route'] == 'stat/online') { ?> onload="setInterval('Piler.reload_page()', Piler.health_refresh * 1000);"<?php } | ||||
|    if($this->request->get['route'] == 'import/jobs') { ?> onload="setInterval('Piler.reload_page()', 10 * 1000);"<?php } | ||||
|  | ||||
| } ?>> | ||||
|  | ||||
| <div id="messagebox1"></div> | ||||
|  | ||||
| <div id="piler1" class="container"> | ||||
|  | ||||
|    <div id="menu"> | ||||
|       <?php print $menu; ?> | ||||
|    </div> | ||||
|  | ||||
|    <div id="mainscreen"> | ||||
|  | ||||
|       <?php if($title) { ?><h3 class="title"><?php print $title; ?></h3><?php } ?> | ||||
|  | ||||
|       <?php print $content; ?> | ||||
|  | ||||
|    </div> <!-- main --> | ||||
|  | ||||
|    <div id="footer"><?php print $footer; ?></div> | ||||
|  | ||||
|  | ||||
| </div> | ||||
|  | ||||
| <?php if(TRACKING_CODE) { print TRACKING_CODE; } ?> | ||||
|  | ||||
| </body> | ||||
| </html> | ||||
| @@ -1,88 +0,0 @@ | ||||
| <?php if(Registry::get('username')) { ?> | ||||
|  | ||||
|     <div class="navbar navbar-inverse"> | ||||
|        <div class="navbar-inner"<?php if($settings['background_colour']) { ?> style="background: <?php print $settings['background_colour']; ?>;"<?php } ?>> | ||||
|  | ||||
|  | ||||
|        <a class="brand"<?php if($settings['branding_url']) { ?> target="_blank" href="<?php print $settings['branding_url']; ?>" title="<?php print $settings['branding_text']; ?>"<?php } ?>><?php if($settings['branding_logo']) { ?><img src="<?php print $settings['branding_logo']; ?>" alt="<?php print $settings['branding_text']; ?>" /><?php } ?></a> | ||||
|  | ||||
|           <ul class="nav pull-left"> | ||||
|  | ||||
| <?php if($admin_user == 1) { ?> | ||||
|  | ||||
|              <li class="dropdown<?php if(strstr($_SERVER['QUERY_STRING'], "stat/") || strstr($_SERVER['QUERY_STRING'], "health/") || strstr($_SERVER['QUERY_STRING'], "audit/") ) { ?> active<?php } ?>"> | ||||
|                 <a href="#" class="dropdown-toggle" data-toggle="dropdown" <?php if($settings['text_colour']) { ?> style="color: <?php print $settings['text_colour']; ?>;"<?php } ?>><i class="icon-eye-open icon-white"></i> <?php print $text_monitor; ?> <b class="caret"></b></a> | ||||
|                 <ul class="dropdown-menu"> | ||||
|                    <li><a href="index.php?route=stat/stat×pan=daily"><?php print $text_statistics; ?></a></li> | ||||
|                    <li><a href="index.php?route=health/health"><?php print $text_health; ?></a></li> | ||||
|                    <li><a href="index.php?route=accounting/accounting&view=email"><?php print $text_accounting; ?></a></li> | ||||
|                <?php if(ENABLE_AUDIT == 1) { ?> | ||||
|                    <li><a href="index.php?route=audit/audit"><?php print $text_audit; ?></a></li> | ||||
|                <?php } ?> | ||||
|                 </ul> | ||||
|              </li> | ||||
|  | ||||
|              <li class="divider-vertical"></li> | ||||
|  | ||||
|              <li class="dropdown<?php if(strstr($_SERVER['QUERY_STRING'], "domain/") || $_SERVER['QUERY_STRING'] == "route=user/list" || strstr($_SERVER['QUERY_STRING'], "group/") || strstr($_SERVER['QUERY_STRING'], "policy/") ) { ?> active<?php } ?>"> | ||||
|                 <a href="#" class="dropdown-toggle" data-toggle="dropdown" <?php if($settings['text_colour']) { ?> style="color: <?php print $settings['text_colour']; ?>;"<?php } ?>><i class="icon-wrench icon-white"></i> <?php print $text_administration; ?> <b class="caret"></b></a> | ||||
|                  <ul class="dropdown-menu"> | ||||
|                     <li><a href="index.php?route=user/list"><?php print $text_users; ?></a></li> | ||||
|                     <li><a href="index.php?route=group/list"><?php print $text_groups; ?></a></li> | ||||
|                     <li><a href="index.php?route=domain/domain"><?php print $text_domain; ?></a></li> | ||||
|      <?php if(ENABLE_SAAS == 1) { ?> | ||||
|                     <li><a href="index.php?route=ldap/list"><?php print $text_ldap; ?></a></li> | ||||
|                     <li><a href="index.php?route=customer/list"><?php print $text_customers; ?></a></li> | ||||
|                     <li><a href="index.php?route=import/list"><?php print $text_import; ?></a></li> | ||||
|      <?php } ?> | ||||
|                     <li><a href="index.php?route=policy/archiving"><?php print $text_archiving_rules; ?></a></li> | ||||
|                     <li><a href="index.php?route=policy/retention"><?php print $text_retention_rules; ?></a></li> | ||||
|                     <li><a href="index.php?route=policy/folder"><?php print $text_folder_rules; ?></a></li> | ||||
|                     <li><a href="index.php?route=policy/legalhold"><?php print $text_legal_hold; ?></a></li> | ||||
|                     <li><a href="index.php?route=search/autosearch"><?php print $text_automated_search; ?></a></li> | ||||
|                  </ul> | ||||
|              </li> | ||||
|  | ||||
|      <?php if(LDAP_ADMIN_MEMBER_DN) { ?> | ||||
|              <li<?php if($_SERVER['REQUEST_URI'] == '/' || strstr($_SERVER['REQUEST_URI'], "search.php")){ ?> class="active"<?php } ?>><a href="search.php" <?php if($settings['text_colour']) { ?> style="color: <?php print $settings['text_colour']; ?>;"<?php } ?>><i class="icon-search icon-white"></i> <?php print $text_search; ?></a></li> | ||||
|      <?php } ?> | ||||
|  | ||||
| <?php } else { ?> | ||||
|  | ||||
|              <li<?php if($_SERVER['REQUEST_URI'] == '/' || strstr($_SERVER['REQUEST_URI'], "search.php")){ ?> class="active"<?php } ?>><a href="search.php" <?php if($settings['text_colour']) { ?> style="color: <?php print $settings['text_colour']; ?>;"<?php } ?>><i class="icon-search icon-white"></i> <?php print $text_search; ?></a></li> | ||||
|  | ||||
|           <?php if(ENABLE_FOLDER_RESTRICTIONS == 1) { ?> | ||||
|              <li<?php if($_SERVER['REQUEST_URI'] == '/' || strstr($_SERVER['REQUEST_URI'], "folders.php")){ ?> class="active"<?php } ?>><a href="folders.php" <?php if($settings['text_colour']) { ?> style="color: <?php print $settings['text_colour']; ?>;"<?php } ?>><?php print $text_folder; ?></a></li> | ||||
|           <?php } ?> | ||||
|  | ||||
|           <?php if(ENABLE_AUDIT == 1 && $auditor_user == 1) { ?> | ||||
|               <li<?php if(strstr($_SERVER['REQUEST_URI'], "audit/audit")){ ?> class="active"<?php } ?>><a href="index.php?route=audit/audit" <?php if($settings['text_colour']) { ?> style="color: <?php print $settings['text_colour']; ?>;"<?php } ?>><i class="icon-book icon-white"></i> <?php print $text_audit; ?></a></li> | ||||
|           <?php } ?> | ||||
|  | ||||
|           <?php if($settings['support_link']) { ?> | ||||
|               <li><a href="<?php print $settings['support_link']; ?>" target="_blank" <?php if($settings['text_colour']) { ?> style="color: <?php print $settings['text_colour']; ?>;"<?php } ?>><?php print $text_contact_support; ?></a></li> | ||||
|           <?php } ?> | ||||
|  | ||||
| <?php } ?> | ||||
|  | ||||
|           </ul> | ||||
|  | ||||
|           <ul class="nav pull-right"> | ||||
|  | ||||
|              <?php if($settings['branding_url']) { ?><li><a href="<?php print $settings['branding_url']; ?>" target="_blank" <?php if($settings['text_colour']) { ?> style="color: <?php print $settings['text_colour']; ?>;"<?php } ?>><i class="icon-share-alt icon-white"></i> <?php print $settings['branding_text']; ?></a></li><?php } ?> | ||||
|  | ||||
|              <li class="dropdown"> | ||||
|                 <a href="#" class="dropdown-toggle" data-toggle="dropdown" <?php if($settings['text_colour']) { ?> style="color: <?php print $settings['text_colour']; ?>;"<?php } ?>><?php print $realname; ?> <i class="icon-user icon-white"></i> <b class="caret"></b></a> | ||||
|                 <ul class="dropdown-menu"> | ||||
|                    <li><a href="settings.php"><i class="icon-cog"></i> <?php print $text_settings; ?></a></li> | ||||
|                    <li class="divider"></li> | ||||
|                    <li><a href="logout.php"><i class="icon-off"></i> <?php print $text_logout; ?></a></li> | ||||
|                 </ul> | ||||
|              </li> | ||||
|           </ul> | ||||
|  | ||||
|        </div> | ||||
|     </div> | ||||
|  | ||||
| <?php } ?> | ||||
|  | ||||
| @@ -1,2 +0,0 @@ | ||||
|  | ||||
|  | ||||
| @@ -1,143 +0,0 @@ | ||||
| <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_confirm; ?> <?php print $text_delete; ?></h3> | ||||
|   </div> | ||||
|   <div class="modal-body"> | ||||
|     <p><?php print $text_customer_delete_confirm_message; ?> <span id="name">ERROR</span>?</p> | ||||
|   </div> | ||||
|   <div class="modal-footer"> | ||||
|     <a href="#" class="btn" data-dismiss="modal" aria-hidden="true"><?php print $text_close; ?></a> | ||||
|     <a href="index.php?route=customer/remove&id=-1&name=Error&confirmed=0" class="btn btn-primary" id="id"><?php print $text_delete; ?></a> | ||||
|   </div> | ||||
| </div> | ||||
|  | ||||
| <form method="get" name="search1" action="customer.php" class="form-inline pull-right"> | ||||
|     <div class="input-append"> | ||||
|         <input type="text" name="search" class="input-medium" value="<?php print $search; ?>" /> | ||||
|         <input type="submit" class="btn" value="<?php print $text_search; ?>" /> | ||||
|     </div> | ||||
| </form> | ||||
|  | ||||
| <h4><?php if(isset($a['domain'])) { print $text_edit_entry; } else { print $text_add_new_entry; } ?></h4> | ||||
|  | ||||
| <?php if(isset($x)){ ?> | ||||
|     <div class="alert alert-info"><?php print $x; ?></div> | ||||
| <?php } ?> | ||||
|  | ||||
| <form method="post" name="add1" action="index.php?route=customer/list" class="form-horizontal" enctype="multipart/form-data"> | ||||
|  | ||||
|  <?php if(isset($a['domain'])) { ?> | ||||
|     <input type="hidden" name="id" id="id" value="<?php print $id; ?>" /> | ||||
|  <?php } ?> | ||||
|  | ||||
|     <div class="control-group"> | ||||
|        <label class="control-label" for="domain"><?php print $text_domain; ?>:</label> | ||||
|        <div class="controls"> | ||||
|           <select name="domain" id="domain"> | ||||
|        <?php foreach ($domains as $domain) { ?> | ||||
|           <option value="<?php print $domain; ?>"<?php if(isset($a['domain']) && $a['domain'] == $domain) { ?> selected="selected"<?php } ?>><?php print $domain; ?></option> | ||||
|        <?php } ?> | ||||
|           </select> | ||||
|        </div> | ||||
|     </div> | ||||
|     <div class="control-group"> | ||||
|        <label class="control-label" for="branding_text"><?php print $text_branding_text; ?>:</label> | ||||
|        <div class="controls"> | ||||
|           <input type="text" class="text" name="branding_text" id="branding_text" placeholder="" value="<?php if(isset($a['branding_text'])) { print $a['branding_text']; } ?>" /> | ||||
|        </div> | ||||
|     </div> | ||||
|     <div class="control-group"> | ||||
|        <label class="control-label" for="branding_url"><?php print $text_branding_url; ?>:</label> | ||||
|        <div class="controls"> | ||||
|           <input type="text" class="text" name="branding_url" id="branding_url" placeholder="" value="<?php if(isset($a['branding_url'])) { print $a['branding_url']; } ?>" /> | ||||
|        </div> | ||||
|     </div> | ||||
|  | ||||
|     <div class="control-group<?php if(isset($errors['branding_logo'])){ print " error"; } ?>"> | ||||
|        <label class="control-label" for="branding_logo"><?php print $text_branding_logo; ?>:</label> | ||||
|        <div class="controls"> | ||||
|           <div class="fileupload fileupload-new" data-provides="fileupload"> | ||||
|             <div class="fileupload-new thumbnail" style="width: 50px; height: 50px;"> | ||||
|                 <?php if(isset($a['branding_logo'])) { ?><img src="/images/<?php print $a['branding_logo']; ?>" style="max-height: 50px;" /><?php } else { ?><img src="http://www.placehold.it/50x50/EFEFEF/AAAAAA" /><?php } ?> | ||||
|             </div> | ||||
|             <div class="fileupload-preview fileupload-exists thumbnail" style="width: 50px; height: 50px;"></div> | ||||
|             <span class="btn btn-file"><span class="fileupload-new"><?php print $text_select_image; ?></span><span class="fileupload-exists"><?php print $text_modify; ?></span><input type="file" name="branding_logo" id="branding_logo" /></span> | ||||
|             <a href="#" class="btn fileupload-exists" data-dismiss="fileupload"><?php print $text_remove; ?></a> | ||||
|           </div> | ||||
|           <?php if ( isset($errors['branding_logo']) ) { ?><span class="help-inline"><?php print $errors['branding_logo']; ?></span><?php } ?> | ||||
|        </div> | ||||
|     </div> | ||||
|  | ||||
|     <div class="control-group"> | ||||
|        <label class="control-label" for="support_link"><?php print $text_support_link; ?>:</label> | ||||
|        <div class="controls"> | ||||
|           <input type="text" class="text" name="support_link" id="support_link" placeholder="" value="<?php if(isset($a['support_link'])) { print $a['support_link']; } ?>" /> | ||||
|        </div> | ||||
|     </div> | ||||
|     <div class="control-group"> | ||||
|        <label class="control-label" for="colour"><?php print $text_background_colour; ?>:</label> | ||||
|        <div class="controls"> | ||||
|           <input type="text" class="text color {hash:true}" name="background_colour" id="background_colour" placeholder="" value="<?php if(isset($a['background_colour'])) { print $a['background_colour']; } ?>" /> | ||||
|        </div> | ||||
|     </div> | ||||
|     <div class="control-group"> | ||||
|        <label class="control-label" for="colour"><?php print $text_text_colour; ?>:</label> | ||||
|        <div class="controls"> | ||||
|           <input type="text" class="text color {hash:true}" name="text_colour" id="text_colour" placeholder="" value="<?php if(isset($a['text_colour'])) { print $a['text_colour']; } ?>" /> | ||||
|        </div> | ||||
|     </div> | ||||
|  | ||||
|     <div class="form-actions"> | ||||
|         <input type="submit" value="<?php if(isset($a['domain'])) { print $text_modify; } else { print $text_add; } ?>" class="btn btn-primary" /> | ||||
|         <input type="reset" value="<?php print $text_clear; ?>" class="btn" onclick="Piler.clear_ldap_test();" /> | ||||
|     </div> | ||||
|  | ||||
| </form> | ||||
|  | ||||
| <?php if($id == -1) { ?> | ||||
|  | ||||
| <h4><?php print $text_existing_entries; ?></h4> | ||||
|  | ||||
| <div class="listarea"> | ||||
|  | ||||
| <?php if(isset($entries)){ ?> | ||||
|  | ||||
|    <table id="ss1" class="table table-striped table-condensed"> | ||||
|       <tr> | ||||
|          <th><?php print $text_domain; ?></th> | ||||
|          <th><?php print $text_branding_text; ?></th> | ||||
|          <th><?php print $text_branding_url; ?></th> | ||||
|          <th><?php print $text_branding_logo; ?></th> | ||||
|          <th><?php print $text_background_colour; ?></th> | ||||
|          <th><?php print $text_text_colour; ?></th> | ||||
|          <th> </th> | ||||
|          <th> </th> | ||||
|       </tr> | ||||
|  | ||||
| <?php foreach($entries as $e) { ?> | ||||
|       <tr> | ||||
|          <td><?php print $e['domain']; ?></td> | ||||
|          <td><?php print $e['branding_text']; ?></td> | ||||
|          <td><?php print $e['branding_url']; ?></td> | ||||
|          <td><?php if($e['branding_logo']) { ?><img src="/images/<?php print $e['branding_logo']; ?>" style="height: 50px;" /><?php } ?></td> | ||||
|          <td><?php print $e['background_colour']; ?></td> | ||||
|          <td><?php print $e['text_colour']; ?></td> | ||||
|          <td><a href="index.php?route=customer/list&id=<?php print $e['id']; ?>"><?php print $text_edit; ?></a></td> | ||||
|          <td><a href="index.php?route=customer/remove&id=<?php print $e['id']; ?>&name=<?php print urlencode($e['domain']); ?>&confirmed=1" class="confirm-delete" data-id="<?php print $e['id']; ?>" data-name="<?php print $e['domain']; ?>"><i class="icon-remove-sign"></i> <?php print $text_remove; ?></a></td> | ||||
|       </tr> | ||||
| <?php } ?> | ||||
|  | ||||
|    </table> | ||||
|  | ||||
| <?php } else { ?> | ||||
|     <div class="alert alert-error lead"> | ||||
|     <?php print $text_not_found; ?> | ||||
|     </div> | ||||
| <?php } ?> | ||||
|  | ||||
| <?php } ?> | ||||
|  | ||||
|  | ||||
| </div> | ||||
|  | ||||
| @@ -1,11 +0,0 @@ | ||||
|  | ||||
| <p> | ||||
|  | ||||
| <?php if($confirmed){ ?> | ||||
|  | ||||
| <?php print $x; ?>. <a href="index.php?route=customer/list"><?php print $text_back; ?></a> | ||||
|  | ||||
| <?php } ?> | ||||
|  | ||||
| </p> | ||||
|  | ||||
| @@ -1,16 +0,0 @@ | ||||
|  | ||||
| <?php foreach($domains as $domain) { ?> | ||||
|    <a href="#" onclick="append_value_from_slider('domains', '<?php print $domain['domain']; ?>');"><?php print $domain['domain']; ?></a><br /> | ||||
| <?php } ?> | ||||
|  | ||||
|  | ||||
| <div id="pagenav"> | ||||
|    <?php if($page > 0){ ?><a href="index.php?route=domain/domains&page=0&term=<?php print $search; ?>&sort=<?php print $sort; ?>&order=<?php print $order; ?>" class="navlink"><?php } ?> « <?php if($page > 0){ ?></a><?php } ?> | ||||
|    <?php if($page > 0){ ?><a href="index.php?route=domain/domains&page=<?php print $prev_page; ?>&term=<?php print $search; ?>&sort=<?php print $sort; ?>&order=<?php print $order; ?>" class="navlink"><?php } ?> ‹ <?php if($page > 0){ ?></a><?php } ?> | ||||
|    <?php if(count($domains) > 0) { print $domains[0][$sort]; ?> - <?php print $domains[count($domains)-1][$sort]; } ?> | ||||
|    <?php if($total >= $page_len*($page+1) && $total > $page_len){ ?><a href="index.php?route=domain/domains&page=<?php print $next_page; ?>&term=<?php print $search; ?>&sort=<?php print $sort; ?>&order=<?php print $order; ?>" class="navlink"><?php } ?> › <?php if($total >= $page_len*($page+1) && $total > $page_len){ ?></a><?php } ?> | ||||
|    <?php if($page < $total_pages){ ?><a href="index.php?route=domain/domains&page=<?php print $total_pages; ?>&term=<?php print $search; ?>&sort=<?php print $sort; ?>&order=<?php print $order; ?>" class="navlink"><?php } ?> » <?php if($page < $total_pages){ ?></a><?php } ?> | ||||
| </div> | ||||
|  | ||||
| <div class="top20px"><a href="#" onclick="window.close();">close</a></div> | ||||
|  | ||||
| @@ -1,93 +0,0 @@ | ||||
| <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_confirm; ?> <?php print $text_delete; ?></h3> | ||||
|   </div> | ||||
|   <div class="modal-body"> | ||||
|     <p><?php print $text_domain_delete_confirm_message; ?> <span id="name">ERROR</span>?</p> | ||||
|   </div> | ||||
|   <div class="modal-footer"> | ||||
|     <a href="#" class="btn" data-dismiss="modal" aria-hidden="true"><?php print $text_close; ?></a> | ||||
|     <a href="index.php?route=domain/remove&id=-1&domain=Error&confirmed=0" class="btn btn-primary" id="id"><?php print $text_delete; ?></a> | ||||
|   </div> | ||||
| </div> | ||||
|  | ||||
| <form method="get" name="search1" action="domain.php" class="form-inline pull-right"> | ||||
|     <div class="input-append"> | ||||
|         <input type="text" name="search" class="input-medium" value="<?php print $search; ?>" /> | ||||
|         <input type="submit" class="btn" value="<?php print $text_search; ?>" /> | ||||
|     </div> | ||||
| </form> | ||||
|  | ||||
| <h4><?php print $text_add_new_domain; ?></h4> | ||||
|  | ||||
| <form method="post" name="add1" action="index.php?route=domain/domain" class="formbottom"> | ||||
|  | ||||
|    <div id="ss1"> | ||||
|       <div class="row"> | ||||
|          <div class="domaincell"><?php print $text_domain; ?>:</div> | ||||
|          <div class="domaincell"><textarea name="domain"></textarea></div> | ||||
|       </div> | ||||
|       <div class="row"> | ||||
|          <div class="domaincell"><?php print $text_mapped_domain; ?>:</div> | ||||
|          <div class="domaincell"><input type="text" class="text" name="mapped" /></div> | ||||
|       </div> | ||||
| <?php if(ENABLE_SAAS == 1) { ?> | ||||
|       <div class="row"> | ||||
|          <div class="domaincell"><?php print $text_ldap; ?>:</div> | ||||
|          <div class="domaincell"> | ||||
|             <select name="ldap_id" id="ldap_id"> | ||||
|                <option value="0"></option> | ||||
|        <?php foreach ($ldap as $l) { ?> | ||||
|                <option value="<?php print $l['id']; ?>"><?php print $l['description']; ?></option> | ||||
|        <?php } ?> | ||||
|             </select> | ||||
|        </div> | ||||
|     </div> | ||||
| <?php } ?> | ||||
|  | ||||
|  | ||||
|       <div class="row"> | ||||
|          <div class="domaincell"> </div> | ||||
|          <div class="domaincell"><input type="submit" class="btn btn-primary" value="<?php print $text_add; ?>" /> <input type="reset" class="btn" value="<?php print $text_cancel; ?>" /></div> | ||||
|       </div> | ||||
|  | ||||
|    </div> | ||||
|  | ||||
| </form> | ||||
|  | ||||
| <h4><?php print $text_existing_domains; ?></h4> | ||||
|  | ||||
| <div class="listarea"> | ||||
|  | ||||
| <?php if(isset($domains)){ ?> | ||||
|  | ||||
|    <div id="ss1"> | ||||
|       <div class="domainrow"> | ||||
|          <div class="domaincell"><?php print $text_domain; ?></div> | ||||
|          <div class="domaincell"><?php print $text_mapped_domain; ?></div> | ||||
|       <?php if(ENABLE_SAAS == 1) { ?> | ||||
|          <div class="domaincell"><?php print $text_ldap; ?></div> | ||||
|       <?php } ?> | ||||
|          <div class="domaincell"> </div> | ||||
|       </div> | ||||
|  | ||||
| <?php foreach($domains as $domain) { ?> | ||||
|       <div class="domainrow"> | ||||
|          <div class="domaincell"><a href="index.php?route=user/list&search=@<?php print $domain['domain']; ?>"><?php print $domain['domain']; ?></a></div> | ||||
|          <div class="domaincell"><?php print $domain['mapped']; ?></div> | ||||
|       <?php if(ENABLE_SAAS == 1) { ?> | ||||
|          <div class="domaincell"><?php print $domain['ldap']; ?></div> | ||||
|       <?php } ?> | ||||
|          <div class="domaincell"><a href="index.php?route=domain/remove&id=1&domain=<?php print urlencode($domain['domain']); ?>" class="confirm-delete" data-id="1" data-name="<?php print urlencode($domain['domain']); ?>"><i class="icon-remove-sign"></i> <?php print $text_remove; ?></a></div> | ||||
|       </div> | ||||
| <?php } ?> | ||||
|  | ||||
|    </div> | ||||
|  | ||||
| <?php } else { ?> | ||||
| <?php print $text_not_found; ?> | ||||
| <?php } ?> | ||||
|  | ||||
| </div> | ||||
|  | ||||
| @@ -1,13 +0,0 @@ | ||||
|  | ||||
| <p> | ||||
|  | ||||
| <?php if($confirmed){ ?> | ||||
|  | ||||
| <?php print $x; ?>. <a href="index.php?route=domain/domain"><?php print $text_back; ?></a> | ||||
|  | ||||
| <?php } else { ?> | ||||
| <a href="index.php?route=domain/remove&domain=<?php print $domain; ?>&confirmed=1"><?php print $text_remove_domain; ?>: <?php print $domain; ?></a> | ||||
| <?php } ?> | ||||
|  | ||||
| </p> | ||||
|  | ||||
| @@ -1,54 +0,0 @@ | ||||
|  | ||||
| <?php if(!isset($x)){ ?> | ||||
|  | ||||
| <?php if(ENABLE_FOLDER_RESTRICTIONS == 1) { ?> | ||||
|  | ||||
| <form action="folders.php" method="post" name="extra_folders"> | ||||
|  | ||||
|    <div id="search"> | ||||
|  | ||||
|       <div id="search1"> | ||||
|  | ||||
|          <div class="row"> | ||||
|             <div class="cell1"><?php print $text_folder; ?></div> | ||||
|             <div class="cell2"><input type="text" id="name" name="name" value="" /></div> | ||||
|          </div> | ||||
|  | ||||
|          <div class="row"> | ||||
|             <div class="cell1"> </div> | ||||
|             <div class="cell2"><input type="submit" class="btn btn-primary" value="<?php print $text_add; ?>" /> <input type="reset" class="btn" value="<?php print $text_cancel; ?>" /></div> | ||||
|          </div> | ||||
|  | ||||
|       </div> | ||||
|  | ||||
|    </div> | ||||
|  | ||||
| </form> | ||||
|  | ||||
|  | ||||
|    <div id="search"> | ||||
|  | ||||
| <h4><?php print $text_existing_folders; ?></h4> | ||||
|  | ||||
|       <div id="search1"> | ||||
|  | ||||
|       <?php foreach($extra_folders as $folder) { ?> | ||||
|          <div class="row"> | ||||
|             <div class="cell1"><?php print $folder['name']; ?></div> | ||||
|             <div class="cell2"><a href="/folders.php?id=<?php print $folder['id']; ?>&remove=1"><?php print $text_remove; ?></a></div> | ||||
|          </div> | ||||
|       <?php } ?> | ||||
|  | ||||
|  | ||||
|       </div> | ||||
|  | ||||
|    </div> | ||||
|  | ||||
| <?php } ?> | ||||
|  | ||||
|  | ||||
| <?php } else { ?> | ||||
| <?php print $x; ?>. <a href="index.php?route=common/home"><?php print $text_back; ?></a> | ||||
| <?php } ?> | ||||
|  | ||||
|  | ||||
| @@ -1,49 +0,0 @@ | ||||
|  | ||||
| <?php if(isset($errorstring)){ ?><p class="text-error bold"><?php print $text_error; ?>: <?php print $errorstring; ?></p><?php } ?> | ||||
|  | ||||
|  | ||||
| <form action="index.php?route=group/add" name="adduser" method="post" autocomplete="off"> | ||||
|  | ||||
|    <div id="ss1"> | ||||
|  | ||||
|       <div class="domainrow"> | ||||
|          <div class="domaincell"><?php print $text_groupname; ?>:</div> | ||||
|          <div class="domaincell"><input type="text" name="groupname" value="<?php if(isset($post['groupname'])){ print $post['groupname']; } ?>" class="span5" /></div> | ||||
|       </div> | ||||
|  | ||||
|       <div class="domainrow"> | ||||
|          <div class="domaincell"><?php print $text_search_emails; ?>*:</div> | ||||
|          <div class="domaincell"><input type="text" id="s_piler_email" name="s_piler_email" placeholder="<?php print $text_search_email_to_add; ?>" class="span5" /></div> | ||||
|       </div> | ||||
|  | ||||
|       <div class="domainrow"> | ||||
|          <div class="domaincell"><?php print $text_email_addresses; ?>**:</div> | ||||
|          <div class="domaincell"><textarea style="height:280px;" name="email" id="email" class="span5"><?php if(isset($post['email'])){ print $post['email']; } ?></textarea></div> | ||||
|          <div class="domaincell"> | ||||
| <?php foreach(Registry::get('letters') as $letter) { ?> | ||||
|          <a href="#" onclick="window.open('<?php print SITE_URL; ?>index.php?route=group/email&term=<?php print $letter; ?>', 'aaa', 'width=300,height=400,scroll=yes');" ><?php print $letter; ?></a> | ||||
| <?php } ?> | ||||
|          </div> | ||||
|       </div> | ||||
|  | ||||
|       <div class="domainrow"> | ||||
|          <div class="domaincell"> </div> | ||||
|          <div class="domaincell">*: <?php print $text_min_2_chars; ?><br />**: <?php print $text_enter_one_email_address_per_line; ?></div> | ||||
|       </div> | ||||
|  | ||||
|  | ||||
|       <div class="domainrow"> | ||||
|          <div class="domaincell"> </div> | ||||
|          <div class="domaincell"><input type="submit" class="btn btn-primary" value="<?php print $text_add; ?>" /><input type="reset" class="btn" value="<?php print $text_cancel; ?>" /></div> | ||||
|       </div> | ||||
|  | ||||
|    </div> | ||||
|  | ||||
|  | ||||
|  | ||||
| </form> | ||||
|  | ||||
|  | ||||
| <?php if(isset($x)){ print $x; ?>. <a href="index.php?route=group/list"><?php print $text_back; ?></a> | ||||
| <?php } ?> | ||||
|  | ||||
| @@ -1,54 +0,0 @@ | ||||
|  | ||||
| <?php if(isset($errorstring)){ ?><p class="text-error bold"><?php print $text_error; ?>: <?php print $errorstring; ?></p><?php } ?> | ||||
|  | ||||
| <?php if(isset($group)) { ?> | ||||
|  | ||||
| <form action="index.php?route=group/edit" name="addgroup" method="post" autocomplete="off"> | ||||
|    <input type="hidden" name="id" value="<?php print $id; ?>" /> | ||||
|  | ||||
|    <div id="ss1"> | ||||
|  | ||||
|       <div class="domainrow"> | ||||
|          <div class="domaincell"><?php print $text_groupname; ?>:</div> | ||||
|          <div class="domaincell"><input type="text" name="groupname" id="groupname" value="<?php print $group['groupname']; ?>" class="span5" /></div> | ||||
|       </div> | ||||
|  | ||||
|       <div class="domainrow"> | ||||
|          <div class="domaincell"><?php print $text_search_emails; ?>*:</div> | ||||
|          <div class="domaincell"><input type="text" id="s_piler_email" name="s_piler_email" placeholder="<?php print $text_search_email_to_add; ?>" class="span5" /></div> | ||||
|       </div> | ||||
|  | ||||
|       <div class="domainrow"> | ||||
|          <div class="domaincell"><?php print $text_email_addresses; ?>**:</div> | ||||
|          <div class="domaincell"><textarea style="height:280px;" name="email" id="email" class="span5"><?php if(isset($email)){ print $email; } ?></textarea></div> | ||||
|          <div class="domaincell"> | ||||
| <?php foreach(Registry::get('letters') as $letter) { ?> | ||||
|          <a href="#" onclick="window.open('<?php print SITE_URL; ?>index.php?route=group/email&term=<?php print $letter; ?>', 'aaa', 'width=300,height=400,scroll=yes');" ><?php print $letter; ?></a> | ||||
| <?php } ?> | ||||
|          </div> | ||||
|       </div> | ||||
|  | ||||
|       <div class="domainrow"> | ||||
|          <div class="domaincell"> </div> | ||||
|          <div class="domaincell">*: <?php print $text_min_2_chars; ?><br />**: <?php print $text_enter_one_email_address_per_line; ?></div> | ||||
|       </div> | ||||
|  | ||||
|       <div class="domainrow"> | ||||
|          <div class="domaincell"> </div> | ||||
|          <div class="domaincell"><input type="submit" class="btn btn-primary" value="<?php print $text_modify; ?>" /><input type="reset" class="btn" value="<?php print $text_cancel; ?>" /></div> | ||||
|       </div> | ||||
|  | ||||
|    </div> | ||||
|  | ||||
|  | ||||
| </form> | ||||
|  | ||||
|  | ||||
| <p> </p> | ||||
|  | ||||
| <p> | ||||
| <?php } else if(isset($x)){ print $x; ?>.  | ||||
| <?php } ?> | ||||
|  | ||||
| <a href="index.php?route=group/list"><?php print $text_back; ?></a> | ||||
| </p> | ||||
| @@ -1,16 +0,0 @@ | ||||
|  | ||||
| <?php foreach($emails as $email) { ?> | ||||
|    <a href="#" onclick="append_value_from_slider('email', '<?php print $email; ?>');"><?php print $email; ?></a><br /> | ||||
| <?php } ?> | ||||
|  | ||||
|  | ||||
| <div id="pagenav"> | ||||
|    <?php if($page > 0){ ?><a href="index.php?route=group/email&page=0&term=<?php print $search; ?>&sort=<?php print $sort; ?>&order=<?php print $order; ?>" class="navlink"><?php } ?> « <?php if($page > 0){ ?></a><?php } ?> | ||||
|    <?php if($page > 0){ ?><a href="index.php?route=group/email&page=<?php print $prev_page; ?>&term=<?php print $search; ?>&sort=<?php print $sort; ?>&order=<?php print $order; ?>" class="navlink"><?php } ?> ‹ <?php if($page > 0){ ?></a><?php } ?> | ||||
|    <?php if(count($emails) > 0) { print $emails[0][$sort]; ?> - <?php print $emails[count($emails)-1][$sort]; } ?> | ||||
|    <?php if($total >= $page_len*($page+1) && $total > $page_len){ ?><a href="index.php?route=group/email&page=<?php print $next_page; ?>&term=<?php print $search; ?>&sort=<?php print $sort; ?>&order=<?php print $order; ?>" class="navlink"><?php } ?> › <?php if($total >= $page_len*($page+1) && $total > $page_len){ ?></a><?php } ?> | ||||
|    <?php if($page < $total_pages){ ?><a href="index.php?route=group/email&page=<?php print $total_pages; ?>&term=<?php print $search; ?>&sort=<?php print $sort; ?>&order=<?php print $order; ?>" class="navlink"><?php } ?> » <?php if($page < $total_pages){ ?></a><?php } ?> | ||||
| </div> | ||||
|  | ||||
| <div style="margin-top: 20px;"><a href="#" onclick="window.close();">close</a></div> | ||||
|  | ||||