Vergleich admin/modules/tools/warninglog.php - 1.8.8 - 1.8.25

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 345Zeile 345
		$per_page = (int)$mybb->input['filter']['per_page'];
}
$start = ($view_page-1) * $per_page;

		$per_page = (int)$mybb->input['filter']['per_page'];
}
$start = ($view_page-1) * $per_page;

 
	$pages = ceil($total_warnings / $per_page);
if($view_page > $pages)
{
$start = 0;
$view_page = 1;
}

	// Build the base URL for pagination links
$url = 'index.php?module=tools-warninglog';
if(is_array($mybb->input['filter']) && count($mybb->input['filter']))

	// Build the base URL for pagination links
$url = 'index.php?module=tools-warninglog';
if(is_array($mybb->input['filter']) && count($mybb->input['filter']))

Zeile 425Zeile 431
		$title = htmlspecialchars_uni($title);
if($row['points'] > 0)
{

		$title = htmlspecialchars_uni($title);
if($row['points'] > 0)
{

			$points = '+'.$row['points'];

			$row['points'] = "+{$row['points']}";

		}

		}

 
		$points = $lang->sprintf($lang->warning_points, $row['points']);


$table->construct_cell($username_link);


$table->construct_cell($username_link);

		$table->construct_cell("{$title} ({$points})");

		$table->construct_cell("{$title} {$points}");

		$table->construct_cell($issued_date, array("class" => "align_center"));
$table->construct_cell($expire_date.$revoked_text, array("class" => "align_center"));
$table->construct_cell($mod_username_link);

		$table->construct_cell($issued_date, array("class" => "align_center"));
$table->construct_cell($expire_date.$revoked_text, array("class" => "align_center"));
$table->construct_cell($mod_username_link);