"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "Upload/admin/modules/tools/warninglog.php" between
mybb_1822.zip and mybb_1823.zip

About: MyBB is a multilingual, standards-compliant and free forum (discussion board) software.

warninglog.php  (mybb_1822):warninglog.php  (mybb_1823)
skipping to change at line 433 skipping to change at line 433
$expire_date = $lang->never; $expire_date = $lang->never;
} }
$title = $row['title']; $title = $row['title'];
if(empty($row['title'])) if(empty($row['title']))
{ {
$title = $row['custom_title']; $title = $row['custom_title'];
} }
$title = htmlspecialchars_uni($title); $title = htmlspecialchars_uni($title);
if($row['points'] > 0) 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_cent er")); $table->construct_cell($issued_date, array("class" => "align_cent er"));
$table->construct_cell($expire_date.$revoked_text, array("class" => "align_center")); $table->construct_cell($expire_date.$revoked_text, array("class" => "align_center"));
$table->construct_cell($mod_username_link); $table->construct_cell($mod_username_link);
$table->construct_cell("<a href=\"index.php?module=tools-warningl og&amp;action=view&amp;wid={$row['wid']}\">{$lang->view}</a>", array("class" => "align_center")); $table->construct_cell("<a href=\"index.php?module=tools-warningl og&amp;action=view&amp;wid={$row['wid']}\">{$lang->view}</a>", array("class" => "align_center"));
$table->construct_row(); $table->construct_row();
} }
if($table->num_rows() == 0) if($table->num_rows() == 0)
{ {
$table->construct_cell($lang->no_warning_logs, array("colspan" => "6")); $table->construct_cell($lang->no_warning_logs, array("colspan" => "6"));
 End of changes. 3 change blocks. 
2 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)