Version 3.0.5
This commit is contained in:
1 parent
19b38c7c74
commit
1d4720f3e2
3755 files changed
+508378
-664541
No files matched your search
@@ -0,0 +1,73 @@
|
||||
/************************************************/
|
||||
/* IPB3 Javascript */
|
||||
/* -------------------------------------------- */
|
||||
/* acp.forums.js - Forum javascript */
|
||||
/* (c) IPS, Inc 2008 */
|
||||
/* -------------------------------------------- */
|
||||
/* Author: Brandon Farber */
|
||||
/************************************************/
|
||||
|
||||
ACPForums = {
|
||||
showModForm: 0,
|
||||
|
||||
/*------------------------------*/
|
||||
/* Constructor */
|
||||
init: function()
|
||||
{
|
||||
Debug.write("Initializing acp.forums.js");
|
||||
|
||||
document.observe("dom:loaded", function(){
|
||||
if( $('modUserName') )
|
||||
{
|
||||
ACPForums.autoComplete = new ipb.Autocomplete( $('modUserName'), { multibox: false, url: acp.autocompleteUrl, templates: { wrap: acp.autocompleteWrap, item: acp.autocompleteItem } } );
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
toggleModOptions: function()
|
||||
{
|
||||
$$('.moddiv').each( function(div){
|
||||
if( ACPForums.showModForm )
|
||||
{
|
||||
div.hide();
|
||||
}
|
||||
else
|
||||
{
|
||||
div.show();
|
||||
}
|
||||
});
|
||||
|
||||
$( 'togglemod' ).innerHTML = ACPForums.showModForm ? ipb.lang['forums_showmod'] : ipb.lang['forums_hidemod'];
|
||||
ACPForums.showModForm = ACPForums.showModForm == 1 ? 0 : 1;
|
||||
return false;
|
||||
},
|
||||
|
||||
submitModForm: function()
|
||||
{
|
||||
var submitValue = '';
|
||||
|
||||
$$('input').each( function(cb){
|
||||
if( cb.type == 'checkbox' && cb.checked == true )
|
||||
{
|
||||
var mainname = cb.id.replace( /^(.+?)_.+?$/ , "$1" );
|
||||
var idname = cb.id.replace( /^(.+?)_(.+?)$/, "$2" );
|
||||
|
||||
if ( mainname == 'id' )
|
||||
{
|
||||
submitValue += ',' + idname;
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
$('modforumids').value = submitValue;
|
||||
return true;
|
||||
},
|
||||
|
||||
convert: function()
|
||||
{
|
||||
$('convert').value = 1;
|
||||
$('adminform').submit();
|
||||
}
|
||||
};
|
||||
|
||||
ACPForums.init();
|
||||
@@ -0,0 +1,50 @@
|
||||
/************************************************/
|
||||
/* IPB3 Javascript */
|
||||
/* -------------------------------------------- */
|
||||
/* acp.rss.js - RSS Form javascript */
|
||||
/* (c) IPS, Inc 2008 */
|
||||
/* -------------------------------------------- */
|
||||
/* Author: Brandon Farber */
|
||||
/************************************************/
|
||||
|
||||
ACPRss = {
|
||||
|
||||
/*------------------------------*/
|
||||
/* Constructor */
|
||||
init: function()
|
||||
{
|
||||
Debug.write("Initializing acp.rss.js");
|
||||
|
||||
document.observe("dom:loaded", function(){
|
||||
if( $('rss_import_mid') )
|
||||
{
|
||||
ACPRss.autoComplete = new ipb.Autocomplete( $('rss_import_mid'), { multibox: false, url: acp.autocompleteUrl, templates: { wrap: acp.autocompleteWrap, item: acp.autocompleteItem } } );
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
showAuthBoxes: function()
|
||||
{
|
||||
var auth_req = $('rss_import_auth_userinfo');
|
||||
|
||||
if( !auth_req.visible() )
|
||||
{
|
||||
auth_req.show();
|
||||
}
|
||||
else
|
||||
{
|
||||
auth_req.hide();
|
||||
}
|
||||
},
|
||||
|
||||
validate: function()
|
||||
{
|
||||
formobj = $('rssimport_validate');
|
||||
formobj.value = "1";
|
||||
$('rssimport_form').submit();
|
||||
}
|
||||
|
||||
|
||||
};
|
||||
|
||||
ACPRss.init();
|
||||
@@ -0,0 +1 @@
|
||||
<html>␍<head><title>IP.Board - Bulletin Board System</title></head>␍<body>␍<h1>403: IP.Board -> Forbidden</h1>␍<hr>␍You have reached this page in error, please use your back button to return to the forum.␍<hr>␍<a href="http://www.invisionboard.com/">IP.Board</a>␍</body>␍</html>␍
|
||||
Reference in new issue
Block a user