Vergleich inc/functions_post.php - 1.4.1 - 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 4052 2008-07-29 15:45:49Z 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";

Zeile 699Zeile 709
		{
if($validationcount == 1)
{

		{
if($validationcount == 1)
{

				$lang->postbit_unapproved_attachments = $lang->postbit_unapproved_attachment;

				$postbit_unapproved_attachments = $lang->postbit_unapproved_attachment;

			}
else
{

			}
else
{

				$lang->postbit_unapproved_attachments = $lang->sprintf($lang->postbit_unapproved_attachments, $validationcount);

				$postbit_unapproved_attachments = $lang->sprintf($lang->postbit_unapproved_attachments, $validationcount);

			}
eval("\$post['attachmentlist'] .= \"".$templates->get("postbit_attachments_attachment_unapproved")."\";");
}

			}
eval("\$post['attachmentlist'] .= \"".$templates->get("postbit_attachments_attachment_unapproved")."\";");
}