1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-29 10:38:08 +01:00

Merge pull request #20 from farr3ll/master

Issues #18, #19 - thank you farr3ll
This commit is contained in:
Cameron 2012-11-28 17:03:25 -08:00
commit 0f6c4cff7e
2 changed files with 18 additions and 3 deletions

View File

@ -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

View File

@ -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 () {