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: moderation_queue.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 199 | Zeile 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 213 | Zeile 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 307 | Zeile 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 321 | Zeile 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 420 | Zeile 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"));
|