| | |
| | | <title><tmpl_var name="app_title"> <tmpl_var name="app_version"></title> |
| | | <meta http-equiv="Content-Type" content="text/html; charset=<tmpl_var name="html_content_encoding">"/> |
| | | <meta http-equiv="X-UA-Compatible" content="IE=8"/> |
| | | <link href="themes/default/css/central.css" rel="stylesheet" type="text/css"/> |
| | | <link href="themes/default_combobox/css/additional.css" rel="stylesheet" type="text/css"/> |
| | | <link href="themes/default_304/css/central.css" rel="stylesheet" type="text/css"/> |
| | | <!--[if lte IE 7]> |
| | | <link href="themes/default/css/patches/central.css" rel="stylesheet" type="text/css" /> |
| | | <link href="themes/default_304/css/patches/central.css" rel="stylesheet" type="text/css" /> |
| | | <![endif]--> |
| | | <!--[if lte ie 6]> |
| | | <style type="text/css" media="screen"> |
| | |
| | | .uniForm .blockLabels .inlineLabel input{ margin-top: -.3em; } |
| | | </style> |
| | | <![endif]--> |
| | | <link rel="shortcut icon" href="/themes/default/images/favicon.ico" /> |
| | | <link href="themes/default_304/css/screen/redmond/jquery-ui-1.8.16.custom.css" rel="stylesheet" type="text/css"/> |
| | | <link href="themes/default_304/css/screen/jquery-ui-custom.css" rel="stylesheet" type="text/css"/> |
| | | <link href="themes/default_combobox/css/additional.css" rel="stylesheet" type="text/css"/> |
| | | <link rel="shortcut icon" href="/themes/default_304/images/favicon.ico" /> |
| | | <script type="text/javascript" src="js/jquery-1.6.3.min.js"></script> |
| | | <script type="text/javascript" src="js/jquery-ui-1.8.16.custom.min.js"></script> |
| | | <script type="text/javascript" src="js/scrigo.js.php"></script> |
| | | <script type="text/javascript" src="js/uni-form/uni-form.jquery.js"></script> |
| | | <script type="text/javascript" src="js/jquery.ispconfigsearch.js"></script> |
| | | <script type="text/javascript" src="js/jquery.tipsy.js"></script> |
| | | <script language="JavaScript" type="text/javascript"> |
| | | var is_chrome = navigator.userAgent.toLowerCase().indexOf('chrome') > -1; |
| | | if(!is_chrome && getInternetExplorerVersion() > 8.0) { |
| | |
| | | |
| | | jQuery(document).ready(function() { |
| | | loadInitContent(); |
| | | |
| | | $("#pageForm").submit(function(e){ |
| | | //Prevent form submit: e.preventDefault() in lists |
| | | if ($(".panel #Filter").length > 0) { |
| | | e.preventDefault(); |
| | | } |
| | | }); |
| | | |
| | | jQuery('.subsectiontoggle').live("click", function(){ |
| | | jQuery(this).children().toggleClass('showing').end().next().slideToggle(); |
| | | }); |
| | | |
| | | jQuery('#globalsearch').ispconfigSearch({ |
| | | dataSrc: '/dashboard/ajax_get_json.php?type=globalsearch', |
| | | resultsLimit: '$ <tmpl_var name="globalsearch_resultslimit_of_txt"> % <tmpl_var name="globalsearch_resultslimit_results_txt">', |
| | | noResultsText: '<tmpl_var name="globalsearch_noresults_text_txt">', |
| | | noResultsLimit: '<tmpl_var name="globalsearch_noresults_limit_txt">', |
| | | searchFieldWatermark: '<tmpl_var name="globalsearch_searchfield_watermark_txt">' |
| | | }); |
| | | |
| | | jQuery('.ttip').tipsy({live: true, gravity: 'ne', html: true}); |
| | | |
| | | tabChangeDiscard = '<tmpl_var name="tabchange_discard_enabled>'; |
| | | tabChangeWarning = '<tmpl_var name="tabchange_warning_enabled>'; |
| | | tabChangeWarningTxt = '<tmpl_var name="global_tabchange_warning_txt">'; |
| | | tabChangeDiscardTxt = '<tmpl_var name="global_tabchange_discard_txt">'; |
| | | }); |
| | | |
| | | //Use jQuery submit with kespress Enter in panel filterbar |
| | | jQuery(".panel .list input").live("keypress", function(event) { |
| | | if (event.which == '13' && $(this).parents("tr").find("#Filter")) { |
| | | $(this).parents("tr").find("#Filter").attr("onsubmit",$(".panel #Filter").attr("onclick")).submit(); |
| | | jQuery(document).bind("change", function(event) { |
| | | var elName = event.target.localName; |
| | | if (jQuery(".panel #Filter").length > 0 && elName == 'select') { |
| | | event.preventDefault(); |
| | | jQuery(".panel #Filter").trigger('click'); |
| | | } |
| | | if(elName == 'select' || elName == 'input' || elName == 'textarea') { |
| | | // set marker that something was changed |
| | | pageFormChanged = true; |
| | | } |
| | | }); |
| | | |
| | | jQuery(".ui-autocomplete a").live("click", function(event) { |
| | | if ($(".panel #Filter").length > 0) { |
| | | $(".panel #Filter").attr("onsubmit",$(".panel #Filter").attr("onclick")).submit(); |
| | | } |
| | | }); |
| | | |
| | | jQuery(document).bind("keypress", function(event) { |
| | | //Use jQuery submit with keypress Enter in panel filterbar |
| | | if (event.which == '13' && jQuery(".panel #Filter").length > 0) { |
| | | event.preventDefault(); |
| | | jQuery(".panel #Filter").trigger('click'); |
| | | } |
| | | //Use jQuery submit with keypress Enter in forms |
| | | if (event.which == '13' && jQuery(".pnl_formsarea button.positive").length > 0 && event.target.localName != 'textarea' && jQuery(event.target).is(':input')) { |
| | | event.preventDefault(); |
| | | jQuery(".pnl_formsarea button.positive:first").not("[disabled='disabled']").trigger('click'); |
| | | } |
| | | }); |
| | | |
| | | (function( $ ){ |
| | | $(".pnl_listarea th").live("click", function(){ |
| | | if($(this).attr('class').length > 0 && $("#Filter").length > 0){ |
| | | eval($("#Filter").attr("onclick").replace(".php');",".php?orderby="+$(this).attr('class')+"');")); |
| | | var element = $(this).attr('class'); |
| | | $("#pageForm").ajaxComplete(function() { |
| | | if($("th."+element).css("background-position") == '0px -15px'){ |
| | | if($("th."+element).css("text-align") == "right"){ |
| | | $("th."+element).css("text-align","left"); |
| | | } else { |
| | | $("th."+element).css("text-align","right"); |
| | | } |
| | | } else { |
| | | $(".pnl_listarea th").css("text-align",""); |
| | | } |
| | | $(".pnl_listarea th").css("background-position","0 0"); |
| | | $("th."+element).css("background-position","0 -15px"); |
| | | }); |
| | | } |
| | | }); |
| | | })( jQuery ); |
| | | |
| | | (function( $ ) { |
| | | $.widget( "ui.combobox", { |
| | |
| | | .insertAfter( select ) |
| | | .width( oldWidth ) |
| | | .val( value ) |
| | | .css("float","left") |
| | | .autocomplete({ |
| | | delay: 0, |
| | | minLength: 0, |
| | |
| | | return false; |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | // open: function(event, ui) { }, alternativ event for check by enter input |
| | | search: function(event, ui) { |
| | | if ( !ui.item ) { |
| | | var matcher = new RegExp( "^" + $.ui.autocomplete.escapeRegex( $(this).val() ) + "$", "i" ), |
| | | valid = false; |
| | | select.children( "option" ).each(function() { |
| | | if ( $( this ).text().match( matcher ) ) { |
| | | this.selected = valid = true; |
| | | return false; |
| | | } |
| | | }); |
| | | } } |
| | | }) |
| | | .addClass( "ui-widget ui-widget-content ui-corner-left" ); |
| | | |
| | |
| | | .attr( "tabIndex", -1 ) |
| | | .attr( "title", "Show All Items" ) |
| | | .height($(input).outerHeight()) |
| | | .css("float","left") |
| | | .insertAfter( input ) |
| | | .button({ |
| | | icons: { |
| | |
| | | })( jQuery ); |
| | | |
| | | |
| | | jQuery("body").live("mouseover", function(){ |
| | | jQuery("html").ajaxComplete( function(){ |
| | | if(jQuery(".panel .list td select").css("display") != "none"){ |
| | | jQuery(".panel .list td select").combobox(); |
| | | } |
| | |
| | | <!-- end: skip link navigation --> |
| | | <tmpl_if name="cpuser"> |
| | | <span><a href="#logout" onclick="loadContent('login/logout.php');">LOGOUT <tmpl_var format="strtoupper" name="cpuser"></a><!-- | <a href="#" onclick="capp('help')">Help</a> | <a href="#">Imprint</a>--></span> |
| | | <tmpl_if name='usertype' op='==' value='normaluser'><input type="text" id="globalsearch" size="25" value="" /></tmpl_if> |
| | | </tmpl_if> |
| | | </div> |
| | | <h1 id="ir-HeaderLogo" class="swap"><span>ISPConfig 3</span></h1> |
| | | <h1 id="ir-HeaderLogo" class="swap" style="background-image:url('{tmpl_var name='app_logo'}');"><span>ISPConfig 3</span></h1> |
| | | <span>hosting control panel</span> |
| | | </div> |
| | | <!-- begin: main navigation #nav --> |