Zeile 542 | Zeile 542 |
---|
$errors[] = $lang->error_missing_type_title; }
|
$errors[] = $lang->error_missing_type_title; }
|
if(!is_numeric($mybb->input['points']) || $mybb->input['points'] > $mybb->settings['maxwarningpoints'] || $mybb->input['points'] < 0)
| if(!is_numeric($mybb->input['points']) || $mybb->input['points'] > $mybb->settings['maxwarningpoints'] || $mybb->input['points'] <= 0)
|
{ $errors[] = $lang->sprintf($lang->error_missing_type_points, $mybb->settings['maxwarningpoints']); }
| { $errors[] = $lang->sprintf($lang->error_missing_type_points, $mybb->settings['maxwarningpoints']); }
|
Zeile 744 | Zeile 744 |
---|
while($type = $db->fetch_array($query)) { $type['name'] = htmlspecialchars_uni($type['title']);
|
while($type = $db->fetch_array($query)) { $type['name'] = htmlspecialchars_uni($type['title']);
|
$table->construct_cell("<a href=\"index.php?module=config-warning&action=edit_type&tid={$type['tid']}\"><strong>{$type['title']}</strong></a>");
| $table->construct_cell("<a href=\"index.php?module=config-warning&action=edit_type&tid={$type['tid']}\"><strong>{$type['name']}</strong></a>");
|
$table->construct_cell("{$type['points']}", array("class" => "align_center")); $expiration = fetch_friendly_expiration($type['expirationtime']); $lang_str = "expiration_".$expiration['period'];
| $table->construct_cell("{$type['points']}", array("class" => "align_center")); $expiration = fetch_friendly_expiration($type['expirationtime']); $lang_str = "expiration_".$expiration['period'];
|