commit | author | age
|
c72ea8
|
1 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
X |
2 |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
|
3 |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
|
4 |
<head> |
|
5 |
<title><tmpl_var name="app_title"> <tmpl_var name="app_version"></title> |
|
6 |
<meta http-equiv="Content-Type" content="text/html; charset=<tmpl_var name="html_content_encoding">"/> |
|
7 |
<meta http-equiv="X-UA-Compatible" content="IE=8"/> |
|
8 |
<link href="themes/default/css/central.css" rel="stylesheet" type="text/css"/> |
0c14c6
|
9 |
<link href="themes/default_combobox/css/additional.css" rel="stylesheet" type="text/css"/> |
c72ea8
|
10 |
<!--[if lte IE 7]> |
X |
11 |
<link href="themes/default/css/patches/central.css" rel="stylesheet" type="text/css" /> |
|
12 |
<![endif]--> |
|
13 |
<!--[if lte ie 6]> |
|
14 |
<style type="text/css" media="screen"> |
|
15 |
/* |
|
16 |
Move these to your IE specific stylesheet if possible |
|
17 |
*/ |
|
18 |
.uniForm, |
|
19 |
.uniForm fieldset, |
|
20 |
.uniForm .ctrlHolder, |
|
21 |
.uniForm .formHint, |
|
22 |
.uniForm .buttonHolder, |
|
23 |
.uniForm .ctrlHolder .multiField, |
|
24 |
.uniForm .inlineLabel{ zoom:1; } |
|
25 |
|
|
26 |
.uniForm .inlineLabels label, .uniForm .inlineLabels .label, |
|
27 |
.uniForm .blockLabels label, .uniForm .blockLabels .label, |
|
28 |
.uniForm .inlineLabel span{ padding-bottom: .2em; } |
|
29 |
|
|
30 |
.uniForm .inlineLabel input, |
|
31 |
.uniForm .inlineLabels .inlineLabel input, |
|
32 |
.uniForm .blockLabels .inlineLabel input{ margin-top: -.3em; } |
|
33 |
</style> |
|
34 |
<![endif]--> |
|
35 |
<!--[if gt ie 6]> |
|
36 |
<style type="text/css" media="screen"> |
|
37 |
/* |
|
38 |
Move these to your IE specific stylesheet if possible |
|
39 |
*/ |
|
40 |
.uniForm, |
|
41 |
.uniForm fieldset, |
|
42 |
.uniForm .ctrlHolder, |
|
43 |
.uniForm .formHint, |
|
44 |
.uniForm .buttonHolder, |
|
45 |
.uniForm .ctrlHolder .multiField, |
|
46 |
.uniForm .inlineLabel{ zoom:1; } |
|
47 |
|
|
48 |
.uniForm .inlineLabels label, .uniForm .inlineLabels .label, |
|
49 |
.uniForm .blockLabels label, .uniForm .blockLabels .label, |
|
50 |
.uniForm .inlineLabel span{ padding-bottom: .2em; } |
|
51 |
|
|
52 |
.uniForm .inlineLabel input, |
|
53 |
.uniForm .inlineLabels .inlineLabel input, |
|
54 |
.uniForm .blockLabels .inlineLabel input{ margin-top: -.3em; } |
|
55 |
</style> |
|
56 |
<![endif]--> |
b2673a
|
57 |
<link href="themes/default/css/screen/redmond/jquery-ui-1.8.16.custom.css" rel="stylesheet" type="text/css"/> |
F |
58 |
<link href="themes/default/css/screen/jquery-ui-custom.css" rel="stylesheet" type="text/css"/> |
c72ea8
|
59 |
<link rel="shortcut icon" href="/themes/default/images/favicon.ico" /> |
X |
60 |
<script type="text/javascript" src="js/jquery-1.6.3.min.js"></script> |
|
61 |
<script type="text/javascript" src="js/jquery-ui-1.8.16.custom.min.js"></script> |
|
62 |
<script type="text/javascript" src="js/scrigo.js.php"></script> |
|
63 |
<script type="text/javascript" src="js/uni-form/uni-form.jquery.js"></script> |
|
64 |
<script language="JavaScript" type="text/javascript"> |
|
65 |
var is_chrome = navigator.userAgent.toLowerCase().indexOf('chrome') > -1; |
|
66 |
if(!is_chrome && getInternetExplorerVersion() > 8.0) { |
|
67 |
var style = document.createElement('style'); |
|
68 |
style.innerHTML = '#page_margins { min-width: 980px; max-width: 80%; background: #fff; display: table;}'; |
|
69 |
document.getElementsByTagName("head")[0].appendChild(style); |
|
70 |
} |
|
71 |
|
964c03
|
72 |
|
c72ea8
|
73 |
jQuery(document).ready(function() { |
X |
74 |
loadInitContent(); |
5d036a
|
75 |
|
T |
76 |
$("#pageForm").submit(function(e){ |
|
77 |
//Prevent form submit: e.preventDefault() in lists |
|
78 |
if ($(".panel #Filter").length > 0) { |
|
79 |
e.preventDefault(); |
|
80 |
} |
|
81 |
}); |
c72ea8
|
82 |
}); |
X |
83 |
|
40cf98
|
84 |
jQuery(document).bind("change", function(event) { |
T |
85 |
if ($(".panel #Filter").length > 0 && event.target.localName == 'select') { |
|
86 |
$(".panel #Filter").attr("onsubmit",$(".panel #Filter").attr("onclick")).submit(); |
|
87 |
} |
|
88 |
}); |
3964ec
|
89 |
|
X |
90 |
jQuery(".ui-autocomplete a").live("click", function(event) { |
|
91 |
if ($(".panel #Filter").length > 0) { |
|
92 |
$(".panel #Filter").attr("onsubmit",$(".panel #Filter").attr("onclick")).submit(); |
|
93 |
} |
|
94 |
}); |
40cf98
|
95 |
|
c72ea8
|
96 |
//Use jQuery submit with kespress Enter in panel filterbar |
9d6d30
|
97 |
jQuery(document).bind("keypress", function(event) { |
X |
98 |
if (event.which == '13' && $(".panel #Filter").length > 0) { |
|
99 |
$(".panel #Filter").attr("onsubmit",$(".panel #Filter").attr("onclick")).submit(); |
c72ea8
|
100 |
} |
X |
101 |
}); |
|
102 |
|
|
103 |
(function( $ ) { |
|
104 |
$.widget( "ui.combobox", { |
|
105 |
_create: function() { |
|
106 |
var self = this, |
7dc603
|
107 |
oldWidth = this.element.width(), |
c72ea8
|
108 |
select = this.element.hide(), |
X |
109 |
selected = select.children( ":selected" ), |
|
110 |
value = selected.val() ? selected.text() : ""; |
|
111 |
var input = this.input = $( "<input>" ) |
|
112 |
.insertAfter( select ) |
7dc603
|
113 |
.width( oldWidth ) |
c72ea8
|
114 |
.val( value ) |
4ade63
|
115 |
.css("float","left") |
c72ea8
|
116 |
.autocomplete({ |
X |
117 |
delay: 0, |
|
118 |
minLength: 0, |
|
119 |
source: function( request, response ) { |
|
120 |
var matcher = new RegExp( $.ui.autocomplete.escapeRegex(request.term), "i" ); |
|
121 |
response( select.children( "option" ).map(function() { |
|
122 |
var text = $( this ).text(); |
81c31c
|
123 |
if (( !request.term || matcher.test(text) ) ) |
c72ea8
|
124 |
return { |
X |
125 |
label: text.replace( |
|
126 |
new RegExp( |
|
127 |
"(?![^&;]+;)(?!<[^<>]*)(" + |
|
128 |
$.ui.autocomplete.escapeRegex(request.term) + |
|
129 |
")(?![^<>]*>)(?![^&;]+;)", "gi" |
|
130 |
), "<strong>$1</strong>" ), |
|
131 |
value: text, |
|
132 |
option: this |
|
133 |
}; |
|
134 |
}) ); |
|
135 |
}, |
|
136 |
select: function( event, ui ) { |
|
137 |
ui.item.option.selected = true; |
|
138 |
self._trigger( "selected", event, { |
|
139 |
item: ui.item.option |
|
140 |
}); |
|
141 |
}, |
|
142 |
change: function( event, ui ) { |
|
143 |
if ( !ui.item ) { |
|
144 |
var matcher = new RegExp( "^" + $.ui.autocomplete.escapeRegex( $(this).val() ) + "$", "i" ), |
|
145 |
valid = false; |
|
146 |
select.children( "option" ).each(function() { |
|
147 |
if ( $( this ).text().match( matcher ) ) { |
|
148 |
this.selected = valid = true; |
|
149 |
return false; |
|
150 |
} |
|
151 |
}); |
|
152 |
if ( !valid ) { |
|
153 |
// remove invalid value, as it didn't match anything |
|
154 |
$( this ).val( "" ); |
|
155 |
select.val( "" ); |
|
156 |
input.data( "autocomplete" ).term = ""; |
|
157 |
return false; |
|
158 |
} |
|
159 |
} |
55fee8
|
160 |
}, |
X |
161 |
// open: function(event, ui) { }, alternativ event for check by enter input |
|
162 |
search: function(event, ui) { |
|
163 |
if ( !ui.item ) { |
|
164 |
var matcher = new RegExp( "^" + $.ui.autocomplete.escapeRegex( $(this).val() ) + "$", "i" ), |
|
165 |
valid = false; |
|
166 |
select.children( "option" ).each(function() { |
|
167 |
if ( $( this ).text().match( matcher ) ) { |
|
168 |
this.selected = valid = true; |
|
169 |
return false; |
|
170 |
} |
|
171 |
}); |
|
172 |
} } |
c72ea8
|
173 |
}) |
X |
174 |
.addClass( "ui-widget ui-widget-content ui-corner-left" ); |
|
175 |
|
|
176 |
input.data( "autocomplete" )._renderItem = function( ul, item ) { |
|
177 |
return $( "<li></li>" ) |
|
178 |
.data( "item.autocomplete", item ) |
|
179 |
.append( "<a>" + item.label + "</a>" ) |
|
180 |
.appendTo( ul ); |
|
181 |
}; |
|
182 |
|
|
183 |
this.button = $( "<button type='button'> </button>" ) |
|
184 |
.attr( "tabIndex", -1 ) |
|
185 |
.attr( "title", "Show All Items" ) |
964c03
|
186 |
.height($(input).outerHeight()) |
4ade63
|
187 |
.css("float","left") |
c72ea8
|
188 |
.insertAfter( input ) |
X |
189 |
.button({ |
|
190 |
icons: { |
|
191 |
primary: "ui-icon-triangle-1-s" |
|
192 |
}, |
|
193 |
text: false |
|
194 |
}) |
|
195 |
.removeClass( "ui-corner-all" ) |
|
196 |
.addClass( "ui-corner-right ui-button-icon" ) |
|
197 |
.click(function() { |
|
198 |
// close if already visible |
|
199 |
if ( input.autocomplete( "widget" ).is( ":visible" ) ) { |
|
200 |
input.autocomplete( "close" ); |
|
201 |
return; |
|
202 |
} |
|
203 |
|
|
204 |
// work around a bug (likely same cause as #5265) |
|
205 |
$( this ).blur(); |
|
206 |
|
|
207 |
// pass empty string as value to search for, displaying all results |
|
208 |
input.autocomplete( "search", "" ); |
|
209 |
input.focus(); |
|
210 |
}); |
|
211 |
}, |
|
212 |
|
|
213 |
destroy: function() { |
|
214 |
this.input.remove(); |
|
215 |
this.button.remove(); |
|
216 |
this.element.show(); |
|
217 |
$.Widget.prototype.destroy.call( this ); |
|
218 |
} |
|
219 |
}); |
|
220 |
})( jQuery ); |
7dc603
|
221 |
|
c72ea8
|
222 |
|
7dc603
|
223 |
jQuery("body").live("mouseover", function(){ |
X |
224 |
if(jQuery(".panel .list td select").css("display") != "none"){ |
|
225 |
jQuery(".panel .list td select").combobox(); |
c72ea8
|
226 |
} |
X |
227 |
}); |
|
228 |
</script> |
|
229 |
</head> |
|
230 |
<body> |
|
231 |
<div id="page_margins"> |
|
232 |
<div id="page"> |
|
233 |
<div id="header"> |
|
234 |
<div id="topsubnav"> |
|
235 |
<!-- start: skip link navigation --> |
|
236 |
<a class="skip" href="#navigation" title="skip link">Skip to the navigation</a><span class="hideme">.</span> |
|
237 |
<a class="skip" href="#content" title="skip link">Skip to the content</a><span class="hideme">.</span> |
|
238 |
<!-- end: skip link navigation --> |
|
239 |
<tmpl_if name="cpuser"> |
|
240 |
<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> |
|
241 |
</tmpl_if> |
|
242 |
</div> |
aad3f0
|
243 |
<h1 id="ir-HeaderLogo" class="swap" style="background-image:url('{tmpl_var name='app_logo'}');"><span>ISPConfig 3</span></h1> |
c72ea8
|
244 |
<span>hosting control panel</span> |
X |
245 |
</div> |
|
246 |
<!-- begin: main navigation #nav --> |
|
247 |
<div id="nav"> |
|
248 |
<a id="navigation" name="navigation"></a> |
|
249 |
<!-- skiplink anchor: navigation --> |
|
250 |
<div id="nav_main"> |
|
251 |
<div id="topNav"> </div> |
|
252 |
</div> |
|
253 |
</div> |
|
254 |
<!-- end: main navigation --> |
|
255 |
<!-- begin: main content area #main --> |
|
256 |
<div id="main"> |
|
257 |
<!-- begin: #col1 - first float column --> |
|
258 |
<div id="col1"> |
|
259 |
<div id="col1_content" class="clearfix"> |
|
260 |
<div id="sideNav"> </div> |
|
261 |
</div> |
|
262 |
</div> |
|
263 |
<!-- end: #col1 --> |
|
264 |
<!-- begin: #col3 static column --> |
|
265 |
<div id="col3"> |
|
266 |
<div id="col3_content" class="clearfix"> |
|
267 |
<a id="content" name="content"></a> |
|
268 |
<!-- skiplink anchor: Content --> |
|
269 |
<form method="post" action="" id="pageForm" name="pageForm" enctype="multipart/form-data" class="uniForm"> |
|
270 |
<div id="pageContent"><!-- AJAX CONTENT --></div> |
|
271 |
</form> |
|
272 |
</div> |
|
273 |
<div id="ie_clearing"> </div> |
|
274 |
<!-- End: IE Column Clearing --> |
|
275 |
</div> |
|
276 |
<!-- end: #col3 --> |
|
277 |
</div> |
|
278 |
<!-- end: #main --> |
|
279 |
<!-- begin: #footer --> |
|
280 |
<div id="footer"> |
|
281 |
Powered by <a href="<tmpl_var name="app_link">" target="_blank"><tmpl_var name="app_title"></a> |
|
282 |
</div><!-- end: #footer --> |
|
283 |
</div> |
|
284 |
</div> |
|
285 |
</body> |
|
286 |
</html> |