Vergleich admin/usergroups.php - 1.2.5 - 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: usergroups.php 2672 2007-01-27 01:46:48Z chris $

 * $Id: usergroups.php 3592 2008-01-09 00:01:41Z Tikitiki $

 */

define("IN_MYBB", 1);

 */

define("IN_MYBB", 1);

Zeile 371Zeile 371
	tablesubheader($lang->perms_reputations);
makeyesnocode($lang->show_reputations, "usereputationsystem", "yes");
makeyesnocode($lang->can_give_reputations, "cangivereputations", "yes");

	tablesubheader($lang->perms_reputations);
makeyesnocode($lang->show_reputations, "usereputationsystem", "yes");
makeyesnocode($lang->can_give_reputations, "cangivereputations", "yes");

	$reputation_power = array(1 => 1, 2 => 2, 3 => 3);
makeselectcode_array($lang->reputation_points, "reputationpower", $reputation_power, 1);

 
	makeinputcode($lang->reputation_points, "reputationpower", 1, 4);
makeinputcode($lang->max_reputations_day, "maxreputationsday", "5", 4);


	makeinputcode($lang->reputation_points, "reputationpower", 1, 4);
makeinputcode($lang->max_reputations_day, "maxreputationsday", "5", 4);


Zeile 635Zeile 633
	}
if(is_array($uidin))
{

	}
if(is_array($uidin))
{

		$uids = implode(",", $uidin);

		$uids = implode(",", array_map("intval", $uidin));

		$db->query("DELETE FROM ".TABLE_PREFIX."joinrequests WHERE uid IN($uids) AND gid='{$mybb->input['gid']}'");
}
cpredirect("usergroups.php?".SID, $lang->join_requests_moderated);

		$db->query("DELETE FROM ".TABLE_PREFIX."joinrequests WHERE uid IN($uids) AND gid='{$mybb->input['gid']}'");
}
cpredirect("usergroups.php?".SID, $lang->join_requests_moderated);

Zeile 884Zeile 882
			$modrequests = '';
if($joinrequests[$usergroup['gid']] > 0)
{

			$modrequests = '';
if($joinrequests[$usergroup['gid']] > 0)
{

				$usergroup['joinrequests'] = "<a href=\"usergroups.php?".SID."&amp;=joinrequests&amp;gid={$usergroup['gid']}\"><span class=\"highlight1\">".$joinrequests[$usergroup['gid']]."</span></a>";

				$usergroup['joinrequests'] = "<a href=\"usergroups.php?".SID."&amp;action=joinrequests&amp;gid={$usergroup['gid']}\"><span class=\"highlight1\">".$joinrequests[$usergroup['gid']]."</span></a>";

				$modrequests = "<option value=\"joinrequests\">{$lang->moderate_join_requests}</option>\n";
}
echo "</td>\n";

				$modrequests = "<option value=\"joinrequests\">{$lang->moderate_join_requests}</option>\n";
}
echo "</td>\n";