Vergleich admin/modules/config/attachment_types.php - 1.8.13 - 1.8.26

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 99Zeile 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 383Zeile 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 605Zeile 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 642Zeile 642
	if($attachment_type['enabled'] == 1)
{
$update_array['enabled'] = 0;

	if($attachment_type['enabled'] == 1)
{
$update_array['enabled'] = 0;

		$phrase = $lang->success_activated_attachment_type;

		$phrase = $lang->success_deactivated_attachment_type;

	}

$plugins->run_hooks('admin_config_attachment_types_toggle_status_commit');

	}

$plugins->run_hooks('admin_config_attachment_types_toggle_status_commit');

Zeile 652Zeile 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 717Zeile 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>");