Vergleich managegroup.php - 1.2.0 - 1.2.14

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 3Zeile 3
 * MyBB 1.2
* Copyright � 2006 MyBB Group, All Rights Reserved
*

 * MyBB 1.2
* Copyright � 2006 MyBB Group, All Rights Reserved
*

 * Website: http://www.mybboard.com
* License: http://www.mybboard.com/eula.html

 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/eula.html

 *

 *

 * $Id: managegroup.php 2164 2006-08-30 06:17:49Z chris $

 * $Id: managegroup.php 3596 2008-01-20 08:27:39Z Tikitiki $

 */

define("IN_MYBB", 1);

 */

define("IN_MYBB", 1);

Zeile 41Zeile 41

if($mybb->input['action'] == "do_add" && $mybb->request_method == "post")
{


if($mybb->input['action'] == "do_add" && $mybb->request_method == "post")
{

 
	// Verify incoming POST request
verify_post_check($mybb->input['my_post_key']);


	if($groupleader['canmanagemembers'] == "no")
{
error_no_permission();

	if($groupleader['canmanagemembers'] == "no")
{
error_no_permission();

Zeile 67Zeile 70
}
elseif($mybb->input['action'] == "do_joinrequests" && $mybb->request_method == "post")
{

}
elseif($mybb->input['action'] == "do_joinrequests" && $mybb->request_method == "post")
{

 
	// Verify incoming POST request
verify_post_check($mybb->input['my_post_key']);


	if($groupleader['canmanagerequests'] == "no")
{
error_no_permission();

	if($groupleader['canmanagerequests'] == "no")
{
error_no_permission();

Zeile 92Zeile 98
	if(is_array($uidin))
{
$uids = implode(",", $uidin);

	if(is_array($uidin))
{
$uids = implode(",", $uidin);

		$db->delete_query(TABLE_PREFIX."joinrequests", "uid IN ({$uids})");

		$db->delete_query(TABLE_PREFIX."joinrequests", "uid IN ({$uids}) AND gid='$gid'");

	}

$plugins->run_hooks("managegroup_do_joinrequests_end");

	}

$plugins->run_hooks("managegroup_do_joinrequests_end");

Zeile 131Zeile 137
}
elseif($mybb->input['action'] == "do_manageusers" && $mybb->request_method == "post")
{

}
elseif($mybb->input['action'] == "do_manageusers" && $mybb->request_method == "post")
{

 
	// Verify incoming POST request
verify_post_check($mybb->input['my_post_key']);


	if($groupleader['canmanagemembers'] == "no")
{
error_no_permission();

	if($groupleader['canmanagemembers'] == "no")
{
error_no_permission();