Zeile 99 | Zeile 99 |
---|
$plugins->run_hooks("admin_config_attachment_types_add_commit");
// Log admin action
|
$plugins->run_hooks("admin_config_attachment_types_add_commit");
// Log admin action
|
log_admin_action($atid, htmlspecialchars_uni($mybb->input['extension']));
| log_admin_action($atid, $mybb->input['extension']);
|
$cache->update_attachtypes();
| $cache->update_attachtypes();
|
Zeile 383 | Zeile 383 |
---|
$db->update_query("attachtypes", $updated_type, "atid='{$attachment_type['atid']}'");
// Log admin action
|
$db->update_query("attachtypes", $updated_type, "atid='{$attachment_type['atid']}'");
// Log admin action
|
log_admin_action($attachment_type['atid'], htmlspecialchars_uni($mybb->input['extension']));
| log_admin_action($attachment_type['atid'], $mybb->input['extension']);
|
$cache->update_attachtypes();
| $cache->update_attachtypes();
|
Zeile 605 | Zeile 605 |
---|
$cache->update_attachtypes();
// Log admin action
|
$cache->update_attachtypes();
// Log admin action
|
log_admin_action($attachment_type['atid'], htmlspecialchars_uni($attachment_type['extension']));
| log_admin_action($attachment_type['atid'], $attachment_type['extension']);
|
flash_message($lang->success_attachment_type_deleted, 'success'); admin_redirect("index.php?module=config-attachment_types");
| flash_message($lang->success_attachment_type_deleted, 'success'); admin_redirect("index.php?module=config-attachment_types");
|
Zeile 652 | Zeile 652 |
---|
$cache->update_attachtypes();
// Log admin action
|
$cache->update_attachtypes();
// Log admin action
|
log_admin_action($atid, htmlspecialchars_uni($attachment_type['extension']), $update_array['enabled']);
| log_admin_action($atid, $attachment_type['extension'], $update_array['enabled']);
|
flash_message($phrase, 'success'); admin_redirect('index.php?module=config-attachment_types');
| flash_message($phrase, 'success'); admin_redirect('index.php?module=config-attachment_types');
|
Zeile 717 | Zeile 717 |
---|
$phrase = $lang->enable; $icon = "off.png\" alt=\"({$lang->alt_disabled})\" title=\"{$lang->alt_disabled}"; }
|
$phrase = $lang->enable; $icon = "off.png\" alt=\"({$lang->alt_disabled})\" title=\"{$lang->alt_disabled}"; }
|
| $attachment_type['extension'] = htmlspecialchars_uni($attachment_type['extension']);
|
$table->construct_cell($attachment_type['icon'], array("width" => 1)); $table->construct_cell("<strong>.{$attachment_type['extension']}</strong>");
| $table->construct_cell($attachment_type['icon'], array("width" => 1)); $table->construct_cell("<strong>.{$attachment_type['extension']}</strong>");
|