From bef84e5b278973b0dbd1a62873394dfa34f6863c Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 28 Nov 2012 23:26:32 +0200 Subject: [PATCH 1/2] fixed *Check all not working on admin_log.php?config* bug --- e107_web/js/core/all.jquery.js | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/e107_web/js/core/all.jquery.js b/e107_web/js/core/all.jquery.js index fb7220e23..6f17d5f54 100644 --- a/e107_web/js/core/all.jquery.js +++ b/e107_web/js/core/all.jquery.js @@ -11,7 +11,21 @@ $(document).ready(function() $(".e-hideme").hide(); $(".e-expandit").show(); $(".e-spinner").spinner(); - + + + //check all + $("#check-all").click(function(){ + $(".field-spacer").each( function() { + $(this).children(":checkbox").attr("checked",true); + }) + }) + + $("#uncheck-all").click(function(){ + $(".field-spacer").each( function() { + $(this).children(":checkbox").attr("checked",false); + }) + }) + // default 'toggle'. $(".e-expandit").click(function () { From 00f54881b08b91c7736fc97bf250aee038f44a11 Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 29 Nov 2012 00:35:33 +0200 Subject: [PATCH 2/2] uncommented ipEncode function and make it functional --- e107_handlers/e107_class.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/e107_handlers/e107_class.php b/e107_handlers/e107_class.php index 0d6ea3efa..fe2bb1ed1 100644 --- a/e107_handlers/e107_class.php +++ b/e107_handlers/e107_class.php @@ -2934,10 +2934,11 @@ class e107 * @param string $div divider * @return string encoded IP */ - /* + public function ipEncode($ip, $div = ':') { - } */ + return e107::getIPHandler()->ipEncode($ip); + } /** * Takes an encoded IP address - returns a displayable one