Vergleich admin/modules/tools/warninglog.php - 1.6.0 - 1.6.5

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://mybb.com
* License: http://mybb.com/about/license
*

 * Website: http://mybb.com
* License: http://mybb.com/about/license
*

 * $Id: warninglog.php 5016 2010-06-12 00:24:02Z RyanGordon $

 * $Id: warninglog.php 5453 2011-04-21 23:58:33Z jammerx2 $

 */

// Disallow direct access to this file for security reasons

 */

// Disallow direct access to this file for security reasons

Zeile 106Zeile 106
	
$page->output_header($lang->warning_details);


	
$page->output_header($lang->warning_details);


	$user_link = build_profile_link($user['username'], $user['uid']);

	$user_link = build_profile_link($user['username'], $user['uid'], "_blank");


if(is_array($warn_errors))
{


if(is_array($warn_errors))
{

Zeile 129Zeile 129
		$warning['post_subject'] = htmlspecialchars_uni($warning['post_subject']);
$post_link = get_post_link($warning['pid']);
$table->construct_cell("<strong>{$lang->warned_user}</strong><br /><br />{$user_link}");

		$warning['post_subject'] = htmlspecialchars_uni($warning['post_subject']);
$post_link = get_post_link($warning['pid']);
$table->construct_cell("<strong>{$lang->warned_user}</strong><br /><br />{$user_link}");

		$table->construct_cell("<strong>{$lang->post}</strong><br /><br /><a href=\"{$post_link}\">{$warning['post_subject']}</a>");

		$table->construct_cell("<strong>{$lang->post}</strong><br /><br /><a href=\"{$mybb->settings['bburl']}/{$post_link}\" target=\"_blank\">{$warning['post_subject']}</a>");

		$table->construct_row();
}
else

		$table->construct_row();
}
else

Zeile 138Zeile 138
		$table->construct_row();
}


		$table->construct_row();
}


	$issuedby = build_profile_link($warning['username'], $warning['uid']);

	$issuedby = build_profile_link($warning['username'], $warning['uid'], "_blank");

	$notes = nl2br(htmlspecialchars_uni($warning['notes']));

$date_issued = my_date($mybb->settings['dateformat'], $warning['dateline']).", ".my_date($mybb->settings['timeformat'], $warning['dateline']);

	$notes = nl2br(htmlspecialchars_uni($warning['notes']));

$date_issued = my_date($mybb->settings['dateformat'], $warning['dateline']).", ".my_date($mybb->settings['timeformat'], $warning['dateline']);

Zeile 211Zeile 211
	{
$date_revoked = my_date($mybb->settings['dateformat'], $warning['daterevoked']).", ".my_date($mybb->settings['timeformat'], $warning['daterevoked']);
$revoked_user = get_user($warning['revokedby']);

	{
$date_revoked = my_date($mybb->settings['dateformat'], $warning['daterevoked']).", ".my_date($mybb->settings['timeformat'], $warning['daterevoked']);
$revoked_user = get_user($warning['revokedby']);

		$revoked_by = build_profile_link($revoked_user['username'], $revoked_user['uid']);

		$revoked_by = build_profile_link($revoked_user['username'], $revoked_user['uid'], "_blank");

		$revoke_reason = nl2br(htmlspecialchars_uni($warning['revokereason']));

$revoke_table = new Table;

		$revoke_reason = nl2br(htmlspecialchars_uni($warning['revokereason']));

$revoke_table = new Table;

Zeile 390Zeile 390
		}
else
{

		}
else
{

			$username_link = build_profile_link($username, $row['uid']);

			$username_link = build_profile_link($username, $row['uid'], "_blank");

		}
$mod_username = format_name($row['mod_username'], $row['mod_usergroup'], $row['mod_displaygroup']);

		}
$mod_username = format_name($row['mod_username'], $row['mod_usergroup'], $row['mod_displaygroup']);

		$mod_username_link = build_profile_link($mod_username, $row['mod_uid']);

		$mod_username_link = build_profile_link($mod_username, $row['mod_uid'], "_blank");

		$issued_date = my_date($mybb->settings['dateformat'], $row['dateline']).' '.my_date($mybb->settings['timeformat'], $row['dateline']);
$revoked_text = '';
if($row['daterevoked'] > 0)

		$issued_date = my_date($mybb->settings['dateformat'], $row['dateline']).' '.my_date($mybb->settings['timeformat'], $row['dateline']);
$revoked_text = '';
if($row['daterevoked'] > 0)