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

  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 4092 2008-08-10 03:03:04Z 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 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>";
}