Vergleich admin/modules/tools/modlog.php - 1.8.1 - 1.8.5

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 41Zeile 41
			$is_today = true;
$mybb->input['older_than'] = 1;
}

			$is_today = true;
$mybb->input['older_than'] = 1;
}

		$where = 'dateline < '.(TIME_NOW-((int)$mybb->input['older_than']*86400));

		$where = 'dateline < '.(TIME_NOW-($mybb->get_input('older_than', MyBB::INPUT_INT)*86400));


// Searching for entries by a particular user
if($mybb->input['uid'])
{


// Searching for entries by a particular user
if($mybb->input['uid'])
{

			$where .= " AND uid='".$mybb->get_input('uid', 1)."'";

			$where .= " AND uid='".$mybb->get_input('uid', MyBB::INPUT_INT)."'";

		}

// Searching for entries in a specific module

		}

// Searching for entries in a specific module

Zeile 115Zeile 115
	{
$mybb->input['older_than'] = '30';
}

	{
$mybb->input['older_than'] = '30';
}

	$form_container->output_row($lang->date_range, "", $lang->older_than.$form->generate_numeric_field('older_than', $mybb->input['older_than'], array('id' => 'older_than', 'style' => 'width: 30px')).' '.$lang->days, 'older_than');

	$form_container->output_row($lang->date_range, "", $lang->older_than.$form->generate_numeric_field('older_than', $mybb->input['older_than'], array('id' => 'older_than', 'style' => 'width: 50px', 'min' => 0)).' '.$lang->days, 'older_than');

	$form_container->end();
$buttons[] = $form->generate_submit_button($lang->prune_moderator_logs);
$form->output_submit_wrapper($buttons);

	$form_container->end();
$buttons[] = $form->generate_submit_button($lang->prune_moderator_logs);
$form->output_submit_wrapper($buttons);

Zeile 132Zeile 132

$page->output_nav_tabs($sub_tabs, 'mod_logs');



$page->output_nav_tabs($sub_tabs, 'mod_logs');


	$perpage = $mybb->get_input('perpage', 1);

	$perpage = $mybb->get_input('perpage', MyBB::INPUT_INT);

	if(!$perpage)
{
if(!$mybb->settings['threadsperpage'] || (int)$mybb->settings['threadsperpage'] < 1)

	if(!$perpage)
{
if(!$mybb->settings['threadsperpage'] || (int)$mybb->settings['threadsperpage'] < 1)

Zeile 148Zeile 148
	// Searching for entries by a particular user
if($mybb->input['uid'])
{

	// Searching for entries by a particular user
if($mybb->input['uid'])
{

		$where .= " AND l.uid='".$mybb->get_input('uid', 1)."'";

		$where .= " AND l.uid='".$mybb->get_input('uid', MyBB::INPUT_INT)."'";

	}

// Searching for entries in a specific forum
if($mybb->input['fid'] > 0)
{

	}

// Searching for entries in a specific forum
if($mybb->input['fid'] > 0)
{

		$where .= " AND l.fid='".$mybb->get_input('fid', 1)."'";

		$where .= " AND l.fid='".$mybb->get_input('fid', MyBB::INPUT_INT)."'";

	}

// Order?

	}

// Order?

Zeile 188Zeile 188
	// Figure out if we need to display multiple pages.
if($mybb->input['page'] != "last")
{

	// Figure out if we need to display multiple pages.
if($mybb->input['page'] != "last")
{

		$pagecnt = $mybb->get_input('page', 1);

		$pagecnt = $mybb->get_input('page', MyBB::INPUT_INT);

	}

$postcount = (int)$rescount;

	}

$postcount = (int)$rescount;

Zeile 329Zeile 329
	$form_container->output_row($lang->forum, "", $form->generate_forum_select('fid', $mybb->input['fid'], array('id' => 'fid', 'main_option' => $lang->all_forums)), 'fid');
$form_container->output_row($lang->forum_moderator, "", $form->generate_select_box('uid', $user_options, $mybb->input['uid'], array('id' => 'uid')), 'uid');
$form_container->output_row($lang->sort_by, "", $form->generate_select_box('sortby', $sort_by, $mybb->input['sortby'], array('id' => 'sortby'))." {$lang->in} ".$form->generate_select_box('order', $order_array, $order, array('id' => 'order'))." {$lang->order}", 'order');

	$form_container->output_row($lang->forum, "", $form->generate_forum_select('fid', $mybb->input['fid'], array('id' => 'fid', 'main_option' => $lang->all_forums)), 'fid');
$form_container->output_row($lang->forum_moderator, "", $form->generate_select_box('uid', $user_options, $mybb->input['uid'], array('id' => 'uid')), 'uid');
$form_container->output_row($lang->sort_by, "", $form->generate_select_box('sortby', $sort_by, $mybb->input['sortby'], array('id' => 'sortby'))." {$lang->in} ".$form->generate_select_box('order', $order_array, $order, array('id' => 'order'))." {$lang->order}", 'order');

	$form_container->output_row($lang->results_per_page, "", $form->generate_numeric_field('perpage', $perpage, array('id' => 'perpage')), 'perpage');

	$form_container->output_row($lang->results_per_page, "", $form->generate_numeric_field('perpage', $perpage, array('id' => 'perpage', 'min' => 1)), 'perpage');


$form_container->end();
$buttons[] = $form->generate_submit_button($lang->filter_moderator_logs);


$form_container->end();
$buttons[] = $form->generate_submit_button($lang->filter_moderator_logs);