Version 3.3.4
This commit is contained in:
1 parent
78706903a2
commit
fb6b5baabc
2206 files changed
+409828
-382984
No files matched your search
@@ -1,10 +1,10 @@
|
||||
<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.invisionpower.com">IP.Board</a>
|
||||
</body>
|
||||
<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.invisionpower.com">IP.Board</a>
|
||||
</body>
|
||||
</html>
|
||||
@@ -3,12 +3,12 @@
|
||||
* @file plugin_announcements.php Moderator control panel plugin: manage announcements
|
||||
*~TERABYTE_DOC_READY~
|
||||
* $Copyright: (c) 2001 - 2011 Invision Power Services, Inc.$
|
||||
* $License: This is NULLED!
|
||||
* $Author: ips_terabyte $
|
||||
* $License: http://www.invisionpower.com/company/standards.php#license$
|
||||
* $Author: bfarber $
|
||||
* @since 2/18/2011
|
||||
* $LastChangedDate: 2011-09-26 15:52:07 -0400 (Mon, 26 Sep 2011) $
|
||||
* @version v3.2.3
|
||||
* $Revision: 9550 $
|
||||
* $LastChangedDate: 2012-06-12 10:14:49 -0400 (Tue, 12 Jun 2012) $
|
||||
* @version v3.3.4
|
||||
* $Revision: 10914 $
|
||||
*/
|
||||
|
||||
if ( ! defined( 'IN_IPB' ) )
|
||||
@@ -170,7 +170,7 @@ class plugin_forums_announcements
|
||||
|
||||
while ( $r = $this->DB->fetch() )
|
||||
{
|
||||
$r['announce_seo_title'] = IPSText::makeSeoTitle( $r['announce_title'] );
|
||||
$r['announce_seo_title'] = $r['announce_seo_title'] ? $r['announce_seo_title'] : IPSText::makeSeoTitle( $r['announce_title'] );
|
||||
|
||||
if ( $r['announce_forum'] == '*' )
|
||||
{
|
||||
@@ -211,6 +211,12 @@ class plugin_forums_announcements
|
||||
*/
|
||||
protected function _delete()
|
||||
{
|
||||
|
||||
if ( $this->request['secure_key'] != $this->member->form_hash )
|
||||
{
|
||||
$this->registry->output->showError( 'no_permission', 10311902, null, null, 403 );
|
||||
}
|
||||
|
||||
$announce_id = intval( $this->request['announce_id'] );
|
||||
|
||||
//-----------------------------------------
|
||||
@@ -268,7 +274,7 @@ class plugin_forums_announcements
|
||||
{
|
||||
if ( !empty($this->request[$bit]) )
|
||||
{
|
||||
$announce[ $bit ] = $this->request[ $bit ];
|
||||
$announce[ $bit ] = $bit == 'announce_post' ? $_POST[ $bit ] : $this->request[ $bit ];
|
||||
}
|
||||
else if( !isset($announce[ $bit] ) )
|
||||
{
|
||||
@@ -315,6 +321,12 @@ class plugin_forums_announcements
|
||||
*/
|
||||
protected function _save( $type='add' )
|
||||
{
|
||||
|
||||
if ( $this->request['secure_key'] != $this->member->form_hash )
|
||||
{
|
||||
$this->registry->output->showError( 'no_permission', 10311903, null, null, 403 );
|
||||
}
|
||||
|
||||
//-----------------------------------------
|
||||
// INIT
|
||||
//-----------------------------------------
|
||||
@@ -419,7 +431,8 @@ class plugin_forums_announcements
|
||||
'announce_html_enabled' => $this->request['announce_html_enabled'] ? $this->request['announce_html_enabled'] : 0,
|
||||
'announce_nlbr_enabled' => $this->request['announce_nlbr_enabled'] ? $this->request['announce_nlbr_enabled'] : 0,
|
||||
'announce_start' => $start_date,
|
||||
'announce_end' => $end_date
|
||||
'announce_end' => $end_date,
|
||||
'announce_seo_title' => IPSText::makeSeoTitle( $this->request['announce_title'] ),
|
||||
);
|
||||
|
||||
//-----------------------------------------
|
||||
|
||||
@@ -3,12 +3,12 @@
|
||||
* @file plugin_deletedposts.php Moderator control panel plugin: show deleted posts
|
||||
*~TERABYTE_DOC_READY~
|
||||
* $Copyright: (c) 2001 - 2011 Invision Power Services, Inc.$
|
||||
* $License: This is NULLED!
|
||||
* $License: http://www.invisionpower.com/company/standards.php#license$
|
||||
* $Author: bfarber $
|
||||
* @since 2/15/2011
|
||||
* $LastChangedDate: 2011-05-31 14:07:00 -0400 (Tue, 31 May 2011) $
|
||||
* @version v3.2.3
|
||||
* $Revision: 8930 $
|
||||
* $LastChangedDate: 2012-06-12 10:14:49 -0400 (Tue, 12 Jun 2012) $
|
||||
* @version v3.3.4
|
||||
* $Revision: 10914 $
|
||||
*/
|
||||
|
||||
|
||||
@@ -175,7 +175,7 @@ class plugin_forums_deletedposts
|
||||
'currentStartValue' => $st,
|
||||
'baseUrl' => "app=core&module=modcp&fromapp=forums&tab=deletedposts",
|
||||
) );
|
||||
|
||||
|
||||
return $this->registry->output->getTemplate('modcp')->deletedPosts( $posts, $other_data, $pages );
|
||||
}
|
||||
|
||||
@@ -200,7 +200,7 @@ class plugin_forums_deletedposts
|
||||
{
|
||||
foreach( $this->memberData['forumsModeratorData'] as $fid => $forum )
|
||||
{
|
||||
if( $forum['delete_post'] )
|
||||
if( $forum['bw_mod_soft_delete_see'] )
|
||||
{
|
||||
$_return['forumId'][] = $fid;
|
||||
}
|
||||
|
||||
@@ -3,12 +3,12 @@
|
||||
* @file plugin_deletedtopics.php Moderator control panel plugin: show deleted topics
|
||||
*~TERABYTE_DOC_READY~
|
||||
* $Copyright: (c) 2001 - 2011 Invision Power Services, Inc.$
|
||||
* $License: This is NULLED!
|
||||
* $License: http://www.invisionpower.com/company/standards.php#license$
|
||||
* $Author: bfarber $
|
||||
* @since 2/15/2011
|
||||
* $LastChangedDate: 2011-05-31 14:07:00 -0400 (Tue, 31 May 2011) $
|
||||
* @version v3.2.3
|
||||
* $Revision: 8930 $
|
||||
* $LastChangedDate: 2012-06-12 10:14:49 -0400 (Tue, 12 Jun 2012) $
|
||||
* @version v3.3.4
|
||||
* $Revision: 10914 $
|
||||
*/
|
||||
|
||||
|
||||
@@ -246,23 +246,23 @@ class plugin_forums_deletedtopics
|
||||
*/
|
||||
protected function _getFilters()
|
||||
{
|
||||
$_return = array();
|
||||
$_return = array();
|
||||
|
||||
if( $this->memberData['g_is_supmod'] )
|
||||
{
|
||||
$_return['skipForumCheck'] = true;
|
||||
$_return['skipForumCheck'] = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
$_return['forumId'] = array( 0 );
|
||||
$_return['forumId'] = array( 0 );
|
||||
|
||||
if( count($this->memberData['forumsModeratorData']) )
|
||||
{
|
||||
foreach( $this->memberData['forumsModeratorData'] as $fid => $forum )
|
||||
{
|
||||
if( $forum['delete_topic'] )
|
||||
if( $forum['bw_mod_soft_delete_see'] )
|
||||
{
|
||||
$_return['forumId'][] = $fid;
|
||||
$_return['forumId'][] = $fid;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
* @file plugin_unapprovedposts.php Moderator control panel plugin: show posts pending approval
|
||||
*~TERABYTE_DOC_READY~
|
||||
* $Copyright: (c) 2001 - 2011 Invision Power Services, Inc.$
|
||||
* $License: This is NULLED!
|
||||
* $License: http://www.invisionpower.com/company/standards.php#license$
|
||||
* $Author: bfarber $
|
||||
* @since 2/15/2011
|
||||
* $LastChangedDate: 2011-05-31 14:07:00 -0400 (Tue, 31 May 2011) $
|
||||
* @version v3.2.3
|
||||
* @version v3.3.4
|
||||
* $Revision: 8930 $
|
||||
*/
|
||||
|
||||
|
||||
@@ -3,12 +3,12 @@
|
||||
* @file plugin_unapprovedtopics.php Moderator control panel plugin: show topics pending approval
|
||||
*~TERABYTE_DOC_READY~
|
||||
* $Copyright: (c) 2001 - 2011 Invision Power Services, Inc.$
|
||||
* $License: This is NULLED!
|
||||
* $License: http://www.invisionpower.com/company/standards.php#license$
|
||||
* $Author: bfarber $
|
||||
* @since 2/15/2011
|
||||
* $LastChangedDate: 2011-05-31 14:07:00 -0400 (Tue, 31 May 2011) $
|
||||
* @version v3.2.3
|
||||
* $Revision: 8930 $
|
||||
* $LastChangedDate: 2012-06-12 10:14:49 -0400 (Tue, 12 Jun 2012) $
|
||||
* @version v3.3.4
|
||||
* $Revision: 10914 $
|
||||
*/
|
||||
|
||||
|
||||
@@ -168,7 +168,7 @@ class plugin_forums_unapprovedtopics
|
||||
$topics = $this->registry->getClass('topics')->getTopics( $_filters );
|
||||
$total = $this->registry->getClass('topics')->getTopicsCount();
|
||||
$final = array();
|
||||
|
||||
|
||||
//-----------------------------------------
|
||||
// Format data
|
||||
//-----------------------------------------
|
||||
|
||||
Reference in new issue
Block a user