Vergleich admin/usergroups.php - 1.2.0 - 1.2.1

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://www.mybboard.com
* License: http://www.mybboard.com/eula.html
*

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

 * $Id: usergroups.php 2193 2006-09-03 12:33:03Z chris $

 * $Id: usergroups.php 2277 2006-09-27 10:26:56Z chris $

 */

define("IN_MYBB", 1);

 */

define("IN_MYBB", 1);

Zeile 315Zeile 315
	{
$grouparray['candisplaygroup'] = $db->escape_string($mybb->input['candisplaygroup']);
}

	{
$grouparray['candisplaygroup'] = $db->escape_string($mybb->input['candisplaygroup']);
}

	$plugins->run_hooks("admin_usergroups_do_delete");

	$plugins->run_hooks("admin_usergroups_do_edit");

	$db->update_query(TABLE_PREFIX."usergroups", $grouparray, "gid='".$mybb->input['gid']."'");
$cache->updateusergroups();
$cache->updateforumpermissions();

	$db->update_query(TABLE_PREFIX."usergroups", $grouparray, "gid='".$mybb->input['gid']."'");
$cache->updateusergroups();
$cache->updateforumpermissions();

Zeile 755Zeile 755

while($usergroup = $db->fetch_array($query))
{


while($usergroup = $db->fetch_array($query))
{

	  if($usergroup['description'])
{
$usergroup['description'] = "<small>".$usergroup['description']."</small>";
}

		if($usergroup['description'])
{
$usergroup['description'] = "<small>".$usergroup['description']."</small>";
}

		$bgcolor = getaltbg();

		$bgcolor = getaltbg();

		makehiddencode('gid', $usergroup['gid']);

 
		echo "<tr class=\"{$bgcolor}\">\n";
echo "<td>{$usergroup['title']}<br />{$usergroup['description']}</td>\n";
if(!$primaryusers[$usergroup['gid']])

		echo "<tr class=\"{$bgcolor}\">\n";
echo "<td>{$usergroup['title']}<br />{$usergroup['description']}</td>\n";
if(!$primaryusers[$usergroup['gid']])

Zeile 813Zeile 812
		while($usergroup = $db->fetch_array($query))
{
$bgcolor = getaltbg();

		while($usergroup = $db->fetch_array($query))
{
$bgcolor = getaltbg();

			//startform('usergroups.php');
makehiddencode('gid', $usergroup['gid']);

 
			echo "<tr class=\"{$bgcolor}\">\n";
echo "<td>{$usergroup['title']}</td>\n";
if(!$primaryusers[$usergroup['gid']])

			echo "<tr class=\"{$bgcolor}\">\n";
echo "<td>{$usergroup['title']}</td>\n";
if(!$primaryusers[$usergroup['gid']])

Zeile 872Zeile 869
		while($usergroup = $db->fetch_array($query))
{
$bgcolor = getaltbg();

		while($usergroup = $db->fetch_array($query))
{
$bgcolor = getaltbg();

			makehiddencode('gid', $usergroup['gid']);

 
			echo "<tr class=\"{$bgcolor}\">\n";
echo "<td>{$usergroup['title']}</td>\n";
if(!$primaryusers[$usergroup['gid']])

			echo "<tr class=\"{$bgcolor}\">\n";
echo "<td>{$usergroup['title']}</td>\n";
if(!$primaryusers[$usergroup['gid']])