Zeile 6 | Zeile 6 |
---|
* Website: http://mybb.com * License: http://mybb.com/about/license *
|
* Website: http://mybb.com * License: http://mybb.com/about/license *
|
* $Id: warninglog.php 5380 2011-02-21 12:04:43Z Tomm $
| * $Id$
|
*/
// Disallow direct access to this file for security reasons
| */
// Disallow direct access to this file for security reasons
|
Zeile 106 | Zeile 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 129 | Zeile 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 138 | Zeile 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 211 | Zeile 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 390 | Zeile 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)
|