Vergleich admin/modules/forum/moderation_queue.php - 1.6.2 - 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: moderation_queue.php 5016 2010-06-12 00:24:02Z RyanGordon $

 * $Id: moderation_queue.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 199Zeile 199
			$forum_name = $forum_cache[$thread['fid']]['name'];
$threaddate = my_date($mybb->settings['dateformat'], $thread['dateline']);
$threadtime = my_date($mybb->settings['timeformat'], $thread['dateline']);

			$forum_name = $forum_cache[$thread['fid']]['name'];
$threaddate = my_date($mybb->settings['dateformat'], $thread['dateline']);
$threadtime = my_date($mybb->settings['timeformat'], $thread['dateline']);

			$profile_link = build_profile_link($thread['username'], $thread['uid']);

			$profile_link = build_profile_link($thread['username'], $thread['uid'], "_blank");

			$thread['postmessage'] = nl2br(htmlspecialchars_uni($thread['postmessage']));


			$thread['postmessage'] = nl2br(htmlspecialchars_uni($thread['postmessage']));


			$table->construct_cell("<a href=\"../{$thread['threadlink']}\">{$thread['subject']}</a>");

			$table->construct_cell("<a href=\"../{$thread['threadlink']}\" target=\"_blank\">{$thread['subject']}</a>");

			$table->construct_cell($profile_link, array("class" => "align_center"));
$table->construct_cell("{$threaddate}, {$threadtime}", array("class" => "align_center"));
$table->construct_row();

			$table->construct_cell($profile_link, array("class" => "align_center"));
$table->construct_cell("{$threaddate}, {$threadtime}", array("class" => "align_center"));
$table->construct_row();

Zeile 213Zeile 213
			$controls .= $form->generate_radio_button("threads[{$thread['tid']}]", "approve", $lang->approve, array('class' => 'radio_approve', 'checked' => false));
$controls .= "</div>";


			$controls .= $form->generate_radio_button("threads[{$thread['tid']}]", "approve", $lang->approve, array('class' => 'radio_approve', 'checked' => false));
$controls .= "</div>";


			$forum = "<strong>{$lang->forum} <a href=\"../{$thread['forumlink']}\">{$forum_name}</a></strong><br />";

			$forum = "<strong>{$lang->forum} <a href=\"../{$thread['forumlink']}\" target=\"_blank\">{$forum_name}</a></strong><br />";


$table->construct_cell("<div class=\"modqueue_message\">{$controls}<div class=\"modqueue_meta\">{$forum}</div>{$thread['postmessage']}</div>", array("colspan" => 3));
$table->construct_row();


$table->construct_cell("<div class=\"modqueue_message\">{$controls}<div class=\"modqueue_meta\">{$forum}</div>{$thread['postmessage']}</div>", array("colspan" => 3));
$table->construct_row();

Zeile 307Zeile 307
			$forum_name = $forum_cache[$post['fid']]['name'];
$postdate = my_date($mybb->settings['dateformat'], $post['dateline']);
$posttime = my_date($mybb->settings['timeformat'], $post['dateline']);

			$forum_name = $forum_cache[$post['fid']]['name'];
$postdate = my_date($mybb->settings['dateformat'], $post['dateline']);
$posttime = my_date($mybb->settings['timeformat'], $post['dateline']);

			$profile_link = build_profile_link($post['username'], $post['uid']);

			$profile_link = build_profile_link($post['username'], $post['uid'], "_blank");

			$post['message'] = nl2br(htmlspecialchars_uni($post['message']));


			$post['message'] = nl2br(htmlspecialchars_uni($post['message']));


			$table->construct_cell("<a href=\"../{$post['postlink']}#pid{$post['pid']}\">{$post['subject']}</a>");

			$table->construct_cell("<a href=\"../{$post['postlink']}#pid{$post['pid']}\" target=\"_blank\">{$post['subject']}</a>");

			$table->construct_cell($profile_link, array("class" => "align_center"));
$table->construct_cell("{$postdate}, {$posttime}", array("class" => "align_center"));
$table->construct_row();

			$table->construct_cell($profile_link, array("class" => "align_center"));
$table->construct_cell("{$postdate}, {$posttime}", array("class" => "align_center"));
$table->construct_row();

Zeile 321Zeile 321
			$controls .= $form->generate_radio_button("posts[{$post['pid']}]", "approve", $lang->approve, array('class' => 'radio_approve', 'checked' => false));
$controls .= "</div>";


			$controls .= $form->generate_radio_button("posts[{$post['pid']}]", "approve", $lang->approve, array('class' => 'radio_approve', 'checked' => false));
$controls .= "</div>";


			$thread = "<strong>{$lang->thread} <a href=\"../{$post['threadlink']}\">{$post['threadsubject']}</a></strong>";
$forum = "<strong>{$lang->forum} <a href=\"../{$post['forumlink']}\">{$forum_name}</a></strong><br />";

			$thread = "<strong>{$lang->thread} <a href=\"../{$post['threadlink']}\" target=\"_blank\">{$post['threadsubject']}</a></strong>";
$forum = "<strong>{$lang->forum} <a href=\"../{$post['forumlink']}\" target=\"_blank\">{$forum_name}</a></strong><br />";


$table->construct_cell("<div class=\"modqueue_message\">{$controls}<div class=\"modqueue_meta\">{$forum}{$thread}</div>{$post['message']}</div>", array("colspan" => 3));
$table->construct_row();


$table->construct_cell("<div class=\"modqueue_message\">{$controls}<div class=\"modqueue_meta\">{$forum}{$thread}</div>{$post['message']}</div>", array("colspan" => 3));
$table->construct_row();

Zeile 420Zeile 420

$link = get_post_link($attachment['pid'], $attachment['tid']) . "#pid{$attachment['pid']}";
$thread_link = get_thread_link($attachment['tid']);


$link = get_post_link($attachment['pid'], $attachment['tid']) . "#pid{$attachment['pid']}";
$thread_link = get_thread_link($attachment['tid']);

			$profile_link = build_profile_link($attachment['username'], $attachment['uid']);

			$profile_link = build_profile_link($attachment['username'], $attachment['uid'], "_blank");





			$table->construct_cell("<a href=\"../attachment.php?aid={$attachment['aid']}\" target=\"_blank\">{$attachment['filename']}</a> ({$attachment['filesize']})<br /><small class=\"modqueue_meta\">{$lang->post} <a href=\"{$link}\">{$attachment['postsubject']}</a></small>");

			$table->construct_cell("<a href=\"../attachment.php?aid={$attachment['aid']}\" target=\"_blank\">{$attachment['filename']}</a> ({$attachment['filesize']})<br /><small class=\"modqueue_meta\">{$lang->post} <a href=\"{$link}\" target=\"_blank\">{$attachment['postsubject']}</a></small>");

			$table->construct_cell($profile_link, array("class" => "align_center"));
$table->construct_cell("{$attachdate}, {$attachtime}", array("class" => "align_center"));


			$table->construct_cell($profile_link, array("class" => "align_center"));
$table->construct_cell("{$attachdate}, {$attachtime}", array("class" => "align_center"));