This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from util import database | |
| import re | |
| def format_hostmask(inp): | |
| "format_hostmask -- Returns a nicks userhost" | |
| return re.sub(r'(@[^@\.]+\d{2,}([^\.]?)+\.)','*',inp.replace('@','@@')).replace('~','').replace('@@','@').lower().strip() | |
| def get_hostmask(inp,db): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //--------------------------------------------------------------------------// | |
| //slider | |
| rotateNext = function(){ | |
| jQuery('.top-image-container .featured').filter(':visible').fadeOut(1000,function(){ | |
| if(jQuery(this).next('div.featured').size()){ | |
| jQuery(this).next().fadeIn(1000); | |
| } | |
| else{ | |
| jQuery('.top-image-container .featured').eq(0).fadeIn(1000); | |
| } |