Jump to content

Хрень в админке. Что это?

Featured Replies

Posted
comment_45272

Как пару дней в самом низу главной странице в админке вылезает такая хрень. Может идеи по-поводу?

/* ---------------------- */ /* ONLOAD: IPS widgets */ /* ---------------------- */ function onload_ips_widgets() { /* ---------------------- */ /* Feeds */ /* ---------------------- */ _newsFeed = setTimeout( '_newsFeedFunction()', 1000 ); /* ---------------------- */ /* Update boxes */ /* ---------------------- */ _versionCheck = setTimeout( '_versionCheckFunction()', 1000 ); /* ---------------------- */ /* Load Keith */ /* ---------------------- */ _keithFeed = setTimeout( '_keithFeedFunction()', 1000 ); } /* ---------------------- */ /* Keith Feed YumYum */ /* ---------------------- */ function _keithFeedFunction() { if ( typeof( IPS_KEITH_CONTENT ) != 'undefined' ) { clearTimeout( _keithFeed ); if ( IPS_KEITH_CONTENT && IPS_KEITH_CONTENT != 'none' ) { /* Show version numbers */ $( 'ips_bulletin' ).style.display = ''; $( 'ips_supportbox_content' ).innerHTML = IPS_KEITH_CONTENT.replace( /'/g, "'" ); } } else { _keithFeed = setTimeout( '_keithFeedFunction()', 1000 ); } } /* ---------------------- */ /* Version Check */ /* ---------------------- */ function _versionCheckFunction() { if ( typeof( IPSSERVER_update_type ) != 'undefined' ) { clearTimeout( _versionCheck ); if ( IPSSERVER_update_type && IPSSERVER_update_type != 'none' ) { $( 'ips_update' ).style.display = ''; /* Show version numbers */ $( 'acp-update-version' ).innerHTML = IPSSERVER_download_vh; $( 'acp-update-link' ).href = IPSSERVER_link; } } } /* ---------------------- */ /* NEWS FEED */ /* ---------------------- */ function _newsFeedFunction() { if ( typeof( ipsNewsFeed ) != 'undefined' ) { clearTimeout( _newsFeed ); eval( ipsNewsFeed ); var finalString = []; var _len = ipsNewsFeed['items'].length; if( typeof( ipsNewsFeed['error'] ) == 'undefined' ) { for( i = 0; i < _len; i++ ) { var _title = ( ipsNewsFeed['items']['title'].length > 50 ) ? ipsNewsFeed['items']['title'].substr( 0, 47 ) + '...' : ipsNewsFeed['items']['title']; $('ips_news_content').insert( (new Element("tr")).insert( new Element("td", { style: "padding: 5px" }).update(" " + _title + ""))); } } if( !_len ){ $('ips_news_content').hide(); } } else { _newsFeed = setTimeout( '_newsFeedFunction()', 1000 ); } } /* Set up onload event */ Event.observe( window, 'load', onload_ips_widgets ); //]]>

Guest
This topic is now closed to further replies.

Последние посетители 0

  • No registered users viewing this page.