Vergleich admin/modules/forum/management.php - 1.4.0 - 1.4.3

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/about/license
*

 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/about/license
*

 * $Id: management.php 4049 2008-07-26 22:11:03Z Tikitiki $

 * $Id: management.php 4131 2008-08-19 15:31:39Z Tikitiki $

 */

// Disallow direct access to this file for security reasons

 */

// Disallow direct access to this file for security reasons

Zeile 618Zeile 618
		
if(!$errors)
{

		
if(!$errors)
{

 
			if($pid < 0)
{
$pid = 0;
}

			$insert_array = array(
"name" => $db->escape_string($mybb->input['title']),
"description" => $db->escape_string($mybb->input['description']),

			$insert_array = array(
"name" => $db->escape_string($mybb->input['title']),
"description" => $db->escape_string($mybb->input['description']),

Zeile 641Zeile 645
				"modthreads" => intval($mybb->input['modthreads']),
"mod_edit_posts" => intval($mybb->input['mod_edit_posts']),
"modattachments" => intval($mybb->input['modattachments']),

				"modthreads" => intval($mybb->input['modthreads']),
"mod_edit_posts" => intval($mybb->input['mod_edit_posts']),
"modattachments" => intval($mybb->input['modattachments']),

				"style" => intval($mybb->input['fstyle']),

				"style" => intval($mybb->input['style']),

				"overridestyle" => intval($mybb->input['overridestyle']),
"rulestype" => intval($mybb->input['rulestype']),
"rulestitle" => $db->escape_string($mybb->input['rulestitle']),

				"overridestyle" => intval($mybb->input['overridestyle']),
"rulestype" => intval($mybb->input['rulestype']),
"rulestitle" => $db->escape_string($mybb->input['rulestitle']),

Zeile 955Zeile 959
			}

if($mybb->input['permissions'][$usergroup['gid']][$forum_permission])

			}

if($mybb->input['permissions'][$usergroup['gid']][$forum_permission])

			{

			{

				$value = $mybb->input['permissions'][$usergroup['gid']][$forum_permission];
}


				$value = $mybb->input['permissions'][$usergroup['gid']][$forum_permission];
}


Zeile 1068Zeile 1072
		
if(!$errors)
{

		
if(!$errors)
{

 
			if($pid < 0)
{
$pid = 0;
}

			$update_array = array(
"name" => $db->escape_string($mybb->input['title']),
"description" => $db->escape_string($mybb->input['description']),

			$update_array = array(
"name" => $db->escape_string($mybb->input['title']),
"description" => $db->escape_string($mybb->input['description']),

Zeile 1090Zeile 1098
				"modthreads" => intval($mybb->input['modthreads']),
"mod_edit_posts" => intval($mybb->input['mod_edit_posts']),
"modattachments" => intval($mybb->input['modattachments']),

				"modthreads" => intval($mybb->input['modthreads']),
"mod_edit_posts" => intval($mybb->input['mod_edit_posts']),
"modattachments" => intval($mybb->input['modattachments']),

				"style" => intval($mybb->input['fstyle']),

				"style" => intval($mybb->input['style']),

				"overridestyle" => intval($mybb->input['overridestyle']),
"rulestype" => intval($mybb->input['rulestype']),
"rulestitle" => $db->escape_string($mybb->input['rulestitle']),

				"overridestyle" => intval($mybb->input['overridestyle']),
"rulestype" => intval($mybb->input['rulestype']),
"rulestitle" => $db->escape_string($mybb->input['rulestitle']),

Zeile 2035Zeile 2043

foreach($forum_cache as $forum)
{


foreach($forum_cache as $forum)
{

			$forums_by_parent[$forum['pid']][$val['disporder']][$forum['fid']] = $forum;

			$forums_by_parent[$forum['pid']][$forum['disporder']][$forum['fid']] = $forum;

		}
}


		}
}


Zeile 2094Zeile 2102
			{
if($forum['description'])
{

			{
if($forum['description'])
{

 
					$forum['description'] = preg_replace("#&(?!\#[0-9]+;)#si", "&amp;", $forum['description']);

           			$forum['description'] = "<br /><small>".$forum['description']."</small>";
}


           			$forum['description'] = "<br /><small>".$forum['description']."</small>";
}


Zeile 2141Zeile 2150
				++$donecount;
if($donecount == $mybb->settings['subforumsindex'])
{

				++$donecount;
if($donecount == $mybb->settings['subforumsindex'])
{

					if(count($children) > $donecount)

					if(subforums_count($forums_by_parent[$pid]) > $donecount)

					{

					{

						$sub_forums .= $comma.$lang->sprintf($lang->more_subforums, (count($children) - $donecount));

						$sub_forums .= $comma.$lang->sprintf($lang->more_subforums, (subforums_count($forums_by_parent[$pid]) - $donecount));

						return;
}
}

						return;
}
}