| | |
| | | .uniForm .blockLabels .inlineLabel input{ margin-top: -.3em; } |
| | | </style> |
| | | <![endif]--> |
| | | <link href="themes/default/css/screen/redmond/jquery-ui-1.8.16.custom.css" rel="stylesheet" type="text/css"/> |
| | | <link href="themes/default/css/screen/jquery-ui-custom.css" rel="stylesheet" type="text/css"/> |
| | | <link rel="shortcut icon" href="/themes/default/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> |
| | |
| | | document.getElementsByTagName("head")[0].appendChild(style); |
| | | } |
| | | |
| | | |
| | | jQuery(document).ready(function() { |
| | | loadInitContent(); |
| | | |
| | | $("#pageForm").submit(function(e){ |
| | | //Prevent form submit: e.preventDefault() in lists |
| | | if ($(".panel #Filter").length > 0) { |
| | | e.preventDefault(); |
| | | } |
| | | }); |
| | | }); |
| | | |
| | | jQuery(document).bind("change", function(event) { |
| | | if ($(".panel #Filter").length > 0 && event.target.localName == 'select') { |
| | | $(".panel #Filter").attr("onsubmit",$(".panel #Filter").attr("onclick")).submit(); |
| | | } |
| | | }); |
| | | |
| | | jQuery(".ui-autocomplete a").live("click", function(event) { |
| | | if ($(".panel #Filter").length > 0) { |
| | | $(".panel #Filter").attr("onsubmit",$(".panel #Filter").attr("onclick")).submit(); |
| | | } |
| | | }); |
| | | |
| | | //Use jQuery submit with kespress Enter in panel filterbar |
| | | jQuery(document).bind("keypress", function(event) { |
| | | if (event.which == '13' && $(".panel #Filter").length > 0) { |
| | |
| | | } |
| | | }); |
| | | |
| | | // jQuery(document).ready( function(){ |
| | | // |
| | | // }); |
| | | |
| | | (function( $ ) { |
| | | $.widget( "ui.combobox", { |
| | | _create: function() { |
| | | var self = this, |
| | | oldWidth = this.element.width(), |
| | | select = this.element.hide(), |
| | | selected = select.children( ":selected" ), |
| | | value = selected.val() ? selected.text() : ""; |
| | | var input = this.input = $( "<input>" ) |
| | | .insertAfter( select ) |
| | | .width( oldWidth ) |
| | | .val( value ) |
| | | .css("float","left") |
| | | .autocomplete({ |
| | | delay: 0, |
| | | minLength: 0, |
| | |
| | | var matcher = new RegExp( $.ui.autocomplete.escapeRegex(request.term), "i" ); |
| | | response( select.children( "option" ).map(function() { |
| | | var text = $( this ).text(); |
| | | if ( this.value && ( !request.term || matcher.test(text) ) ) |
| | | if (( !request.term || matcher.test(text) ) ) |
| | | return { |
| | | label: text.replace( |
| | | new RegExp( |
| | |
| | | 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" ); |
| | | |
| | |
| | | this.button = $( "<button type='button'> </button>" ) |
| | | .attr( "tabIndex", -1 ) |
| | | .attr( "title", "Show All Items" ) |
| | | .height($(input).outerHeight()) |
| | | .css("float","left") |
| | | .insertAfter( input ) |
| | | .button({ |
| | | icons: { |
| | |
| | | } |
| | | }); |
| | | })( jQuery ); |
| | | |
| | | |
| | | jQuery("#pageContent").live("mouseover", function(){ |
| | | if(jQuery(".panel select").css("display") != "none"){ |
| | | jQuery(".panel select").combobox(); |
| | | jQuery("body").live("mouseover", function(){ |
| | | if(jQuery(".panel .list td select").css("display") != "none"){ |
| | | jQuery(".panel .list td select").combobox(); |
| | | } |
| | | }); |
| | | </script> |
| | |
| | | <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> |
| | | </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 --> |