Zeile 170 | Zeile 170 |
---|
$per_page = 15; if($mybb->input['page'] > 0) {
|
$per_page = 15; if($mybb->input['page'] > 0) {
|
$current_page = $mybb->get_input('page', 1);
| $current_page = $mybb->get_input('page', MyBB::INPUT_INT);
|
$start = ($current_page-1)*$per_page; $pages = $unapproved_threads / $per_page; $pages = ceil($pages);
| $start = ($current_page-1)*$per_page; $pages = $unapproved_threads / $per_page; $pages = ceil($pages);
|
Zeile 229 | Zeile 229 |
---|
} else {
|
} else {
|
$profile_link = build_profile_link($thread['username'], $thread['uid'], "_blank");
| $profile_link = build_profile_link(htmlspecialchars_uni($thread['username']), $thread['uid'], "_blank");
|
}
$thread['postmessage'] = nl2br(htmlspecialchars_uni($thread['postmessage']));
| }
$thread['postmessage'] = nl2br(htmlspecialchars_uni($thread['postmessage']));
|
Zeile 305 | Zeile 305 |
---|
$per_page = 15; if($mybb->input['page'] > 0) {
|
$per_page = 15; if($mybb->input['page'] > 0) {
|
$current_page = $mybb->get_input('page', 1);
| $current_page = $mybb->get_input('page', MyBB::INPUT_INT);
|
$start = ($current_page-1)*$per_page; $pages = $unapproved_posts / $per_page; $pages = ceil($pages);
| $start = ($current_page-1)*$per_page; $pages = $unapproved_posts / $per_page; $pages = ceil($pages);
|
Zeile 374 | Zeile 374 |
---|
} else {
|
} else {
|
$profile_link = build_profile_link($post['username'], $post['uid'], "_blank");
| $profile_link = build_profile_link(htmlspecialchars_uni($post['username']), $post['uid'], "_blank");
|
}
$post['message'] = nl2br(htmlspecialchars_uni($post['message']));
| }
$post['message'] = nl2br(htmlspecialchars_uni($post['message']));
|
Zeile 457 | Zeile 457 |
---|
$per_page = 15; if($mybb->input['page'] > 0) {
|
$per_page = 15; if($mybb->input['page'] > 0) {
|
$current_page = $mybb->get_input('page', 1);
| $current_page = $mybb->get_input('page', MyBB::INPUT_INT);
|
$start = ($current_page-1)*$per_page; $pages = $unapproved_attachments / $per_page; $pages = ceil($pages);
| $start = ($current_page-1)*$per_page; $pages = $unapproved_attachments / $per_page; $pages = ceil($pages);
|
Zeile 510 | Zeile 510 |
---|
$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'], "_blank");
| $profile_link = build_profile_link(htmlspecialchars_uni($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}\" target=\"_blank\">{$attachment['postsubject']}</a></small>"); $table->construct_cell($profile_link, array("class" => "align_center"));
| $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"));
|