diff --git a/admin/users.phtml b/admin/users.phtml
new file mode 100644
index 0000000..1a2ab53
--- /dev/null
+++ b/admin/users.phtml
@@ -0,0 +1,79 @@
+
+= tohtml(tr('Administrator')); ?>
+
+= tohtml(tr('No account found.')); ?>
+
+
+
+
+
+ = tohtml(tr('Username')); ?>
+ = tohtml(tr('Created on')); ?>
+ = tohtml(tr('created by')); ?>
+ = tohtml(tr('Actions')); ?>
+
+
+
+
+
+ {ADMINISTRATOR_USERNAME}
+ {ADMINISTRATOR_CREATED_ON}
+ {ADMINISTRATPR_CREATED_BY}
+
+ = tohtml(tr('Edit')); ?>
+
+ = tohtml(tr('Delete')); ?>
+
+
+
+
+
+
+
+= tohtml(tr('Resellers')); ?>
+
+= tohtml(tr('No account found.')); ?>
+
+
+
+
+
diff --git a/assets/css/black.css b/assets/css/black.css
index 7b6d438..e9e3b66 100644
--- a/assets/css/black.css
+++ b/assets/css/black.css
@@ -49,7 +49,7 @@ a:hover.link_as_button {
color: #ffffff;
}
-span.clickable:hover {
+.clickable:hover {
color:#5cbada;
cursor: pointer;
}
@@ -152,6 +152,7 @@ input[type="number"],
input[type="password"],
input[type="search"],
select,
+select[multiple],
textarea {
background: #ffffff;
border-color: #cccccc;
@@ -162,19 +163,29 @@ input[type="number"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus,
-select:focus {
+select:focus,
+select[multiple]:focus {
border: 1px solid #000000;
-webkit-box-shadow: 0 0 5px #000000;
-moz-box-shadow: 0 0 5px #000000;
box-shadow: 0 0 5px #000000;
}
+select[multiple]{
+ width: auto !important;;
+ height: auto !important;
+ min-height: 1px;
+ padding: 0;
+ margin: 0;
+}
+
input[readonly="readonly"],
input[readonly],
input[type="text"]:disabled,
input[type="number"]:disabled,
input[type="password"]:disabled,
select:disabled,
+select[multiple]:disabled,
textarea[readonly],
textarea:disabled,
.disabled {
@@ -188,6 +199,7 @@ input[type="text"]:disabled:focus,
input[type="number"]:disabled:focus,
input[type="password"]:disabled:focus,
select:disabled:focus,
+select[multiple]:disabled:focus,
textarea[readonly]:focus,
textarea:disabled:focus,
.disabled:focus {
diff --git a/assets/css/blue.css b/assets/css/blue.css
index 30adb07..9281679 100644
--- a/assets/css/blue.css
+++ b/assets/css/blue.css
@@ -50,7 +50,7 @@ a:hover.link_as_button {
color: #ffffff;
}
-span.clickable:hover {
+.clickable:hover {
color:#5cbada;
cursor: pointer;
}
diff --git a/assets/css/green.css b/assets/css/green.css
index 6c6da95..0e68b58 100644
--- a/assets/css/green.css
+++ b/assets/css/green.css
@@ -50,7 +50,7 @@ a:hover.link_as_button {
color: #ffffff;
}
-span.clickable:hover {
+.clickable:hover {
color:#5cbada;
cursor: pointer;
}
diff --git a/assets/css/red.css b/assets/css/red.css
index 5e01b24..e599cd7 100644
--- a/assets/css/red.css
+++ b/assets/css/red.css
@@ -50,7 +50,7 @@ a:hover.link_as_button {
color: #ffffff;
}
-span.clickable:hover {
+.clickable:hover {
color:#5cbada;
cursor: pointer;
}
diff --git a/assets/css/ui.css b/assets/css/ui.css
index 5390913..7a50cdd 100644
--- a/assets/css/ui.css
+++ b/assets/css/ui.css
@@ -292,8 +292,8 @@ a {
.location {
position: relative;
- height: 24px;
- line-height: 24px;
+ height: 30px;
+ line-height: 30px;
padding-left: 197px;
/*z-index: 2;*/
}
@@ -308,11 +308,11 @@ a {
}
.location-area h1 {
- background: no-repeat center left;
+ background: no-repeat left center;
height: 30px;
- font-size: 1.1em;
+ font-size: 1.3em;
font-weight: bold;
- padding-left: 35px;
+ padding-left: 36px;
font-variant: small-caps;
}
@@ -376,7 +376,8 @@ a {
.path {
float: left;
margin-left: 0.5em;
- font-size: 0.9em;
+ font-size: 1.0em;
+ font-weight: bold;
}
.path li {
@@ -744,6 +745,7 @@ table {
table input,
table select,
+table select[multiple],
table textarea,
table button {
font-family: Geneva, Arial, Helvetica, sans-serif;
@@ -798,7 +800,7 @@ table .icon {
/* Icons */
.app_icon {
- background-position: top left;
+ background-position: left center;
background-repeat: no-repeat;
padding-left: 20px;
height: 16px;
@@ -817,13 +819,7 @@ table .icon {
height: 16px;
line-height: 16px;
vertical-align: middle;
- padding-left: 18px;
-}
-
-.paginator .icon {
- width: 0;
- height: 16px;
- line-height: 32px;
+ padding-left: 20px;
}
.icon.big {
@@ -842,12 +838,16 @@ table .icon {
}
.body .icon_center {
- display: block;
+ display: block;
text-align: center;
- background-position: top center;
+ background-position: left center;
background-repeat: no-repeat;
- padding-top: 46px;
+ line-height: 46px;
+ width: 46px;
+ height: 46px;
+ margin: 0.5em;
cursor: pointer;
+ *cursor: hand;
}
/* Content icons (link icons) */
@@ -1072,11 +1072,11 @@ table .icon {
}
.i_lock {
- background-image: url('../images/login/i_lock.png');
+ background-image: url(../images/login/i_lock.png);
}
.i_unlock {
- background-image: url('../images/login/i_unlock.png');
+ background-image: url(../images/login/i_unlock.png);
}
/* * * * * * *
@@ -1130,6 +1130,7 @@ table .icon {
th.sorting, th.sorting_asc, th.sorting_desc {
cursor: pointer;
+ *cursor: hand;
}
.dataTables_info {
@@ -1137,19 +1138,20 @@ th.sorting, th.sorting_asc, th.sorting_desc {
float: left;
}
-.dataTables_paginate {
+.dataTables_paginate, .paginator {
float: right;
text-align: right;
}
/* Pagination nested */
.paginate_button.previous.disabled, .paginate_button.previous,
-.paginate_button.next.disabled, .paginate_button.next {
+.paginate_button.next.disabled, .paginate_button.next,
+.paginator .icon
+{
float: left;
cursor: pointer;
*cursor: hand;
color: transparent !important;
-
display: inline-block;
overflow: hidden;
width: 0;
@@ -1164,24 +1166,23 @@ th.sorting, th.sorting_asc, th.sorting_desc {
.dataTables_info,
.dataTables_paginate {
- margin-top: 0.5em;
- margin-bottom: 1.5em;
+ margin-bottom: 0.5em;
}
.paginate_button.previous.disabled {
- background: url('../images/icons/prev_gray.png') no-repeat top left;
+ background: url(../images/icons/prev_gray.png) no-repeat left center;
}
.paginate_button.previous {
- background: url('../images/icons/prev.png') no-repeat top left;
+ background: url(../images/icons/prev.png) no-repeat left center;
}
.paginate_button.next.disabled {
- background: url('../images/icons/next_gray.png') no-repeat top right;
+ background: url(../images/icons/next_gray.png) no-repeat left center;
}
.paginate_button.next {
- background: url('../images/icons/next.png') no-repeat top right;
+ background: url(../images/icons/next.png) no-repeat left center;
}
/* * * * * * * * * **
@@ -1201,7 +1202,10 @@ table input[type="password"] {
min-width: 200px;
}
-input, select, textarea {
+input,
+select,
+select[multiple],
+textarea {
vertical-align: middle;
}
@@ -1215,6 +1219,7 @@ input[type="number"],
input[type="search"],
input[type="password"],
select,
+select[multiple],
textarea {
padding: 4px;
border: 1px solid;
@@ -1306,9 +1311,8 @@ table .graph {
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
- max-width: 90%;
- text-wrap: none;
- word-wrap:break-word;
+ max-width: 30%;
+ word-wrap: break-word;
}
.ui-tooltip.ui-tooltip-notice {
padding-left: 45px;
@@ -1323,28 +1327,16 @@ table .graph {
.tips {
cursor: pointer;
+ *cursor: hand;
}
.icon.i_help {
position: relative;
width: 0;
vertical-align: middle;
- /*margin-left: 0.5em;*/
overflow: hidden;
cursor: pointer;
-}
-
-/* Pagination (for backward compatibility) - Will be removed ASAP */
-.paginator {
- margin: 0.5em 0;
- float: right;
-}
-
-.paginator .icon {
- width: 0;
- overflow: hidden;
- height: 20px;
- margin: 0;
+ *cursor: hand;
}
/**
@@ -1358,7 +1350,6 @@ table .graph {
height: 4em;
font-weight: bold;
line-height: 1.2em;
- /*padding: 1em 0;*/
}
.no_footer .footer {
diff --git a/assets/css/yellow.css b/assets/css/yellow.css
index 56f417c..beac110 100644
--- a/assets/css/yellow.css
+++ b/assets/css/yellow.css
@@ -50,7 +50,7 @@ a:hover.link_as_button {
color: #ffffff;
}
-span.clickable:hover {
+.clickable:hover {
color:#5cbada;
cursor: pointer;
}
diff --git a/assets/js/imscp.js b/assets/js/imscp.js
index 202262f..bc7643f 100644
--- a/assets/js/imscp.js
+++ b/assets/js/imscp.js
@@ -429,12 +429,6 @@ function sbmt(form, uaction) {
return false;
}
-function sbmt_details(form, uaction) {
- form.details.value = uaction;
- form.submit();
- return false;
-}
-
/**
*
* Javascript sprintf by http://jan.moesen.nu/
diff --git a/assets/js/imscp.min.js b/assets/js/imscp.min.js
index 38f9710..5c2cbd9 100644
--- a/assets/js/imscp.min.js
+++ b/assets/js/imscp.min.js
@@ -1 +1 @@
-function sbmt(a,b){return a.uaction.value=b,a.submit(),!1}function sbmt_details(a,b){return a.details.value=b,a.submit(),!1}function sprintf(){if(arguments&&!(arguments.length<1)&&RegExp){for(var a=arguments[0],b=/([^%]*)%('.|0|\x20)?(-)?(\d+)?(\.\d+)?(%|b|c|d|u|f|o|s|x|X)(.*)/,c=[],e=0,f=0;c=b.exec(a);){var g=c[1],h=c[2],i=c[3],j=c[4],k=c[5],l=c[6],m=c[7];f++;var n;if("%"==l)n="%";else{e++,e>=arguments.length&&alert("Error! Not enough function arguments ("+(arguments.length-1)+", excluding the string)\nfor the number of substitution parameters in string ("+e+" so far).");var o=arguments[e];h&&"'"==h.substr(0,1)?g.substr(1,1):h&&h;i&&"-"===i&&!1;j&&parseInt(j,10);var s=-1;k&&"f"==l&&(s=parseInt(k.substring(1),10)),n=o,"b"==l?n=parseInt(o,10).toString(2):"c"==l?n=String.fromCharCode(parseInt(o,10)):"d"==l?n=parseInt(o,10)?parseInt(o,10):0:"u"==l?n=Math.abs(o):"f"==l?n=s>-1?Math.round(parseFloat(o)*Math.pow(10,s))/Math.pow(10,s):parseFloat(o):"o"==l?n=parseInt(o).toString(8):"s"==l?n=o:"x"==l?n=(""+parseInt(o).toString(16)).toLowerCase():"X"==l&&(n=(""+parseInt(o).toString(16)).toUpperCase())}a=g+n+m}return a}}!function(a){var b=function(){a("body").on("message_timeout",".success,.info,.warning,.error",function(){a(this).hide().slideDown("fast").delay(1e4).slideUp("normal",function(){a(this).remove()})}),a(".success,.info,.warning,.error").trigger("message_timeout")},c=function(b){"simple"==b?a("a").tooltip({tooltipClass:"ui-tooltip-notice",track:!0,position:{collision:"flipfit"},content:function(){return a(this).attr("title")}}):(a(".main_menu a").tooltip({track:!0}),a(".body a, .body span, .body input, .dataTables_paginate div").tooltip({tooltipClass:"ui-tooltip-notice",track:!0,position:{collision:"flipfit"},content:function(){a(this).attr("title");return a(this).attr("title")}}))},d=function(b){"simple"==b?(a(".link_as_button,button").button({icons:{secondary:"ui-icon-triangle-1-e"}}),a("input").first().focus()):(a("input:submit, input:button, input:reset, button, .link_as_button").button(),a(".radio, .checkbox").buttonset())},e=function(){a("body").on("updateTable","table",function(){a(this).find("tbody:first > tr:visible:odd").removeClass("odd").addClass("even"),a(this).find("tbody:first > tr:visible:even").removeClass("even").addClass("odd")}),a("tbody").trigger("updateTable");var b=a.fn.show;a.fn.show=function(){return b.apply(this,arguments).trigger("updateTable")};var c=a.fn.hide;a.fn.hide=function(){return c.apply(this,arguments).trigger("updateTable")}},f=function(){var b=a(".pwd_generator");if(b.length){var c=a("#password,#cpassword");a("",{style:"display:inline-block;margin-left:5px",html:[a("",{id:"pwd_generate",type:"button",text:imscp_i18n.core.generate}).pGenerator({passwordElement:c,passwordLength:imscp_i18n.core.password_length>16?imscp_i18n.core.password_length:16,specialChars:!1}),a("",{id:"pwd_show",type:"button",text:imscp_i18n.core.show}).click(function(){var b=c.first().val();""!=b?a("",{html:a("
",{text:b})}).dialog({modal:!0,hide:"blind",show:"blind",title:imscp_i18n.core.your_new_password,buttons:[{text:imscp_i18n.core.close,click:function(){a(this).dialog("destroy").remove()}}]}):alert(imscp_i18n.core.password_generate_alert)})]}).insertAfter(b),a(".pwd_prefill").length&&""==c.val()&&a("#pwd_generate").trigger("click")}},g=function(){a("input[type=radio], input[type=checkbox]").on("change",function(){a(this).blur()}),a(document).on("change","button,input",function(){a("button,input").removeClass("ui-state-focus ui-state-hover")}),a.ui.dialog.prototype._focusTabbable=a.noop},h=function(g){b(),c(g),"simple"==g?a(".no_header #header").hide():(f(),e()),d(g)};a(function(){h(a("body").hasClass("simple")?"simple":"ui"),g()})}(jQuery),function(a){window.alert=function(b,c){c=c||imscp_i18n.core.warning,a("",{title:c}).dialog({draggable:!1,modal:!0,resizable:!1,witdh:"auto",closeOnEscape:!1,open:function(b,c){a(".ui-dialog-titlebar-close",c.dialog|c).hide()},buttons:[{text:imscp_i18n.core.ok,click:function(){a(this).dialog("close")}}],close:function(){a(this).remove()}}).html(b)},a.imscp={confirm:function(b,c,d){return d=d||imscp_i18n.core.confirmation_required,a("
",{title:d}).dialog({draggable:!1,modal:!0,resizable:!1,witdh:"auto",closeOnEscape:!1,open:function(b,c){a(".ui-dialog-titlebar-close",c.dialog|c).hide()},buttons:[{text:imscp_i18n.core.yes,click:function(){a(this).dialog("close"),c(!0)}},{text:imscp_i18n.core.no,click:function(){a(this).dialog("close"),c(!1)}}],close:function(){a(this).remove()}}).html(b),!1},confirmOnclick:function(a,b){return a.blur(),this.confirm(b,function(b){b&&(window.location.href=a.href)})}}}(jQuery),function(a){a(function(){function f(b,c){void 0!==c?a("#err_"+b).length||(a("#php_editor_msg_default").remove(),e.append('
'+c+" ").removeClass("static_success").addClass("static_error")):a("#err_"+b).length&&a("#err_"+b).remove(),""==a.trim(e.text())&&e.empty().append('
'+imscp_i18n.core.fields_ok+" ").removeClass("static_error").addClass("static_success")}var b=a("#php_editor_dialog");if(b.length){b.dialog({hide:"blind",show:"slide",focus:!1,autoOpen:!1,width:650,modal:!0,appendTo:"form",buttons:[{text:imscp_i18n.core.close,click:function(){a(this).dialog("close")}}],open:function(){var b=a(this);a(window).on("resize scroll",function(){b.dialog("option","position",{my:"center",at:"center",of:window})})},close:function(){a("input").blur(),a(window).off("resize scroll")}}),a("form").submit(function(c){return!!a("#php_editor_msg_default").length||(c.preventDefault(),b.dialog("open"),!1)});var c=a("#php_editor_block");c.length&&(a("#php_no").is(":checked")&&c.hide(),a("#php_yes,#php_no").change(function(){c.toggle()}));var d=a("#php_editor_dialog_open");d.button("option","icons",{primary:"ui-icon-gear"}).click(function(){b.dialog("open")}),a("#php_ini_system_no").is(":checked")&&d.hide(),a("#php_ini_system_yes, #php_ini_system_no").change(function(){d.fadeToggle()});var g,e=a(".php_editor_error"),h=a("#php_ini_values").find("input");h.on("keyup click",function(){clearTimeout(g),g=setTimeout(function(){h.each(function(){var b=a(this).attr("id"),c=parseInt(a(this).val()||0),d=parseInt(a(this).attr("max"));c<1||c>d?(a(this).addClass("ui-state-error"),f(b,sprintf(imscp_i18n.core.out_of_range_value_error,"
"+b+" ",1,d))):"upload_max_filesize"==b&&parseInt(a("#post_max_size").val())
"+b+"","post_max_size "))):(a(this).removeClass("ui-state-error"),f(b))})},200)}).first().trigger("keyup")}})}(jQuery),function(a){a(function(){a(".ftp_choose_dir").length&&a("body").on("click",".ftp_choose_dir",function(){var b=a("#ftp_choose_dir_dialog");if(b.length){var c=a(this).data("link")||"none";if("none"==c){var d=a(this).data("directory");""==d&&(d="/"),a("#ftp_directory").val(d),b.dialog("close")}else a.get(c,function(a){b.html(a).dialog("open").find("table").trigger("updateTable").tooltip()}).fail(function(){alert("Request failed")})}else a.get("/shared/ftp_choose_dir.php",function(c){b=a('').html(c).dialog({hide:"blind",show:"slide",focus:!1,width:650,height:500,autoOpen:!0,appendTo:"body",modal:!0,title:imscp_i18n.core.ftp_directories,buttons:[{text:imscp_i18n.core.close,click:function(){a(this).dialog("close")}}],open:function(){var b=a(this);b.find("table").trigger("updateTable").tooltip(),a(window).on("resize scroll",function(){b.dialog("option","position",{my:"center",at:"center",of:window})})},close:function(){a(window).off("resize scroll"),a(this).remove()}})}).fail(function(){alert("Request failed")})})})}(jQuery);
+function sbmt(a,b){return a.uaction.value=b,a.submit(),!1}function sprintf(){if(arguments&&!(arguments.length<1)&&RegExp){for(var a=arguments[0],b=/([^%]*)%('.|0|\x20)?(-)?(\d+)?(\.\d+)?(%|b|c|d|u|f|o|s|x|X)(.*)/,c=[],e=0,f=0;c=b.exec(a);){var g=c[1],h=c[2],i=c[3],j=c[4],k=c[5],l=c[6],m=c[7];f++;var n;if("%"==l)n="%";else{e++,e>=arguments.length&&alert("Error! Not enough function arguments ("+(arguments.length-1)+", excluding the string)\nfor the number of substitution parameters in string ("+e+" so far).");var o=arguments[e];h&&"'"==h.substr(0,1)?g.substr(1,1):h&&h;i&&"-"===i&&!1;j&&parseInt(j,10);var s=-1;k&&"f"==l&&(s=parseInt(k.substring(1),10)),n=o,"b"==l?n=parseInt(o,10).toString(2):"c"==l?n=String.fromCharCode(parseInt(o,10)):"d"==l?n=parseInt(o,10)?parseInt(o,10):0:"u"==l?n=Math.abs(o):"f"==l?n=s>-1?Math.round(parseFloat(o)*Math.pow(10,s))/Math.pow(10,s):parseFloat(o):"o"==l?n=parseInt(o).toString(8):"s"==l?n=o:"x"==l?n=(""+parseInt(o).toString(16)).toLowerCase():"X"==l&&(n=(""+parseInt(o).toString(16)).toUpperCase())}a=g+n+m}return a}}!function(a){var b=function(){a("body").on("message_timeout",".success,.info,.warning,.error",function(){a(this).hide().slideDown("fast").delay(1e4).slideUp("normal",function(){a(this).remove()})}),a(".success,.info,.warning,.error").trigger("message_timeout")},c=function(b){"simple"==b?a("a").tooltip({tooltipClass:"ui-tooltip-notice",track:!0,position:{collision:"flipfit"},content:function(){return a(this).attr("title")}}):(a(".main_menu a").tooltip({track:!0}),a(".body a, .body span, .body input, .dataTables_paginate div").tooltip({tooltipClass:"ui-tooltip-notice",track:!0,position:{collision:"flipfit"},content:function(){a(this).attr("title");return a(this).attr("title")}}))},d=function(b){"simple"==b?(a(".link_as_button,button").button({icons:{secondary:"ui-icon-triangle-1-e"}}),a("input").first().focus()):(a("input:submit, input:button, input:reset, button, .link_as_button").button(),a(".radio, .checkbox").buttonset())},e=function(){a("body").on("updateTable","table",function(){a(this).find("tbody:first > tr:visible:odd").removeClass("odd").addClass("even"),a(this).find("tbody:first > tr:visible:even").removeClass("even").addClass("odd")}),a("tbody").trigger("updateTable");var b=a.fn.show;a.fn.show=function(){return b.apply(this,arguments).trigger("updateTable")};var c=a.fn.hide;a.fn.hide=function(){return c.apply(this,arguments).trigger("updateTable")}},f=function(){var b=a(".pwd_generator");if(b.length){var c=a("#password,#cpassword");a("
",{style:"display:inline-block;margin-left:5px",html:[a("",{id:"pwd_generate",type:"button",text:imscp_i18n.core.generate}).pGenerator({passwordElement:c,passwordLength:imscp_i18n.core.password_length>16?imscp_i18n.core.password_length:16,specialChars:!1}),a("",{id:"pwd_show",type:"button",text:imscp_i18n.core.show}).click(function(){var b=c.first().val();""!=b?a("",{html:a("
",{text:b})}).dialog({modal:!0,hide:"blind",show:"blind",title:imscp_i18n.core.your_new_password,buttons:[{text:imscp_i18n.core.close,click:function(){a(this).dialog("destroy").remove()}}]}):alert(imscp_i18n.core.password_generate_alert)})]}).insertAfter(b),a(".pwd_prefill").length&&""==c.val()&&a("#pwd_generate").trigger("click")}},g=function(){a("input[type=radio], input[type=checkbox]").on("change",function(){a(this).blur()}),a(document).on("change","button,input",function(){a("button,input").removeClass("ui-state-focus ui-state-hover")}),a.ui.dialog.prototype._focusTabbable=a.noop},h=function(g){b(),c(g),"simple"==g?a(".no_header #header").hide():(f(),e()),d(g)};a(function(){h(a("body").hasClass("simple")?"simple":"ui"),g()})}(jQuery),function(a){window.alert=function(b,c){c=c||imscp_i18n.core.warning,a("",{title:c}).dialog({draggable:!1,modal:!0,resizable:!1,witdh:"auto",closeOnEscape:!1,open:function(b,c){a(".ui-dialog-titlebar-close",c.dialog|c).hide()},buttons:[{text:imscp_i18n.core.ok,click:function(){a(this).dialog("close")}}],close:function(){a(this).remove()}}).html(b)},a.imscp={confirm:function(b,c,d){return d=d||imscp_i18n.core.confirmation_required,a("
",{title:d}).dialog({draggable:!1,modal:!0,resizable:!1,witdh:"auto",closeOnEscape:!1,open:function(b,c){a(".ui-dialog-titlebar-close",c.dialog|c).hide()},buttons:[{text:imscp_i18n.core.yes,click:function(){a(this).dialog("close"),c(!0)}},{text:imscp_i18n.core.no,click:function(){a(this).dialog("close"),c(!1)}}],close:function(){a(this).remove()}}).html(b),!1},confirmOnclick:function(a,b){return a.blur(),this.confirm(b,function(b){b&&(window.location.href=a.href)})}}}(jQuery),function(a){a(function(){function f(b,c){void 0!==c?a("#err_"+b).length||(a("#php_editor_msg_default").remove(),e.append('
'+c+" ").removeClass("static_success").addClass("static_error")):a("#err_"+b).length&&a("#err_"+b).remove(),""==a.trim(e.text())&&e.empty().append('
'+imscp_i18n.core.fields_ok+" ").removeClass("static_error").addClass("static_success")}var b=a("#php_editor_dialog");if(b.length){b.dialog({hide:"blind",show:"slide",focus:!1,autoOpen:!1,width:650,modal:!0,appendTo:"form",buttons:[{text:imscp_i18n.core.close,click:function(){a(this).dialog("close")}}],open:function(){var b=a(this);a(window).on("resize scroll",function(){b.dialog("option","position",{my:"center",at:"center",of:window})})},close:function(){a("input").blur(),a(window).off("resize scroll")}}),a("form").submit(function(c){return!!a("#php_editor_msg_default").length||(c.preventDefault(),b.dialog("open"),!1)});var c=a("#php_editor_block");c.length&&(a("#php_no").is(":checked")&&c.hide(),a("#php_yes,#php_no").change(function(){c.toggle()}));var d=a("#php_editor_dialog_open");d.button("option","icons",{primary:"ui-icon-gear"}).click(function(){b.dialog("open")}),a("#php_ini_system_no").is(":checked")&&d.hide(),a("#php_ini_system_yes, #php_ini_system_no").change(function(){d.fadeToggle()});var g,e=a(".php_editor_error"),h=a("#php_ini_values").find("input");h.on("keyup click",function(){clearTimeout(g),g=setTimeout(function(){h.each(function(){var b=a(this).attr("id"),c=parseInt(a(this).val()||0),d=parseInt(a(this).attr("max"));c<1||c>d?(a(this).addClass("ui-state-error"),f(b,sprintf(imscp_i18n.core.out_of_range_value_error,"
"+b+" ",1,d))):"upload_max_filesize"==b&&parseInt(a("#post_max_size").val())
"+b+"","post_max_size "))):(a(this).removeClass("ui-state-error"),f(b))})},200)}).first().trigger("keyup")}})}(jQuery),function(a){a(function(){a(".ftp_choose_dir").length&&a("body").on("click",".ftp_choose_dir",function(){var b=a("#ftp_choose_dir_dialog");if(b.length){var c=a(this).data("link")||"none";if("none"==c){var d=a(this).data("directory");""==d&&(d="/"),a("#ftp_directory").val(d),b.dialog("close")}else a.get(c,function(a){b.html(a).dialog("open").find("table").trigger("updateTable").tooltip()}).fail(function(){alert("Request failed")})}else a.get("/shared/ftp_choose_dir.php",function(c){b=a('').html(c).dialog({hide:"blind",show:"slide",focus:!1,width:650,height:500,autoOpen:!0,appendTo:"body",modal:!0,title:imscp_i18n.core.ftp_directories,buttons:[{text:imscp_i18n.core.close,click:function(){a(this).dialog("close")}}],open:function(){var b=a(this);b.find("table").trigger("updateTable").tooltip(),a(window).on("resize scroll",function(){b.dialog("option","position",{my:"center",at:"center",of:window})})},close:function(){a(window).off("resize scroll"),a(this).remove()}})}).fail(function(){alert("Request failed")})})})}(jQuery);
diff --git a/client/ftp_accounts.tpl b/client/ftp_accounts.tpl
index 87e4669..cdec1af 100644
--- a/client/ftp_accounts.tpl
+++ b/client/ftp_accounts.tpl
@@ -26,7 +26,6 @@
{TR_FTP_ACTIONS}