Vergleich inc/functions_post.php - 1.4.2 - 1.4.9

  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: functions_post.php 4143 2008-08-22 02:47:25Z Tikitiki $

 * $Id: functions_post.php 4342 2009-04-07 02:23:30Z Tikitiki $

 */

/**

 */

/**

Zeile 102Zeile 102
			}
break;
}

			}
break;
}













	
// Sanatize our custom profile fields for use in templates, if people choose to use them
foreach($post as $post_field => $field_value)
{
if(substr($post_field, 0, 3) != 'fid')
{
continue;
}
$post[$post_field] = htmlspecialchars_uni($field_value);
}


	if(!$postcounter)
{ // Used to show the # of the post
if($page > 1)

	if(!$postcounter)
{ // Used to show the # of the post
if($page > 1)

Zeile 146Zeile 156
	if($post_type != 2)
{
$post['subject'] = htmlspecialchars_uni($post['subject']);

	if($post_type != 2)
{
$post['subject'] = htmlspecialchars_uni($post['subject']);

	}

	}

	
if(empty($post['subject']))
{

	
if(empty($post['subject']))
{

Zeile 161Zeile 171
		if(!$post['displaygroup'])
{
$post['displaygroup'] = $post['usergroup'];

		if(!$post['displaygroup'])
{
$post['displaygroup'] = $post['usergroup'];

		}

		}		

		$usergroup = $groupscache[$post['displaygroup']];
}
else

		$usergroup = $groupscache[$post['displaygroup']];
}
else

Zeile 289Zeile 299
			
if($avatar_dimensions[0] && $avatar_dimensions[1])
{

			
if($avatar_dimensions[0] && $avatar_dimensions[1])
{

				list($max_width, $max_height) = explode("x", $mybb->settings['postmaxavatarsize']);

				list($max_width, $max_height) = explode("x", my_strtolower($mybb->settings['postmaxavatarsize']));

			 	if($avatar_dimensions[0] > $max_width || $avatar_dimensions[1] > $max_height)
{
require_once MYBB_ROOT."inc/functions_image.php";

			 	if($avatar_dimensions[0] > $max_width || $avatar_dimensions[1] > $max_height)
{
require_once MYBB_ROOT."inc/functions_image.php";