Vergleich admin/modules/config/calendars.php - 1.8.4 - 1.8.6

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 58Zeile 58
				"eventlimit" => $mybb->get_input('eventlimit', MyBB::INPUT_INT),
"showbirthdays" => $mybb->get_input('showbirthdays', MyBB::INPUT_INT),
"moderation" => $mybb->get_input('moderation', MyBB::INPUT_INT),

				"eventlimit" => $mybb->get_input('eventlimit', MyBB::INPUT_INT),
"showbirthdays" => $mybb->get_input('showbirthdays', MyBB::INPUT_INT),
"moderation" => $mybb->get_input('moderation', MyBB::INPUT_INT),

				"allowhtml" => $db->escape_string($mybb->input['allowhtml']),
"allowmycode" => $db->escape_string($mybb->input['allowmycode']),
"allowimgcode" => $db->escape_string($mybb->input['allowimgcode']),
"allowvideocode" => $db->escape_string($mybb->input['allowvideocode']),
"allowsmilies" => $db->escape_string($mybb->input['allowsmilies'])

				"allowhtml" => $mybb->get_input('allowhtml', MyBB::INPUT_INT),
"allowmycode" => $mybb->get_input('allowmycode', MyBB::INPUT_INT),
"allowimgcode" => $mybb->get_input('allowimgcode', MyBB::INPUT_INT),
"allowvideocode" => $mybb->get_input('allowvideocode', MyBB::INPUT_INT),
"allowsmilies" => $mybb->get_input('allowsmilies', MyBB::INPUT_INT)

			);

$plugins->run_hooks("admin_config_calendars_add_commit_start");

			);

$plugins->run_hooks("admin_config_calendars_add_commit_start");

Zeile 308Zeile 308
				"eventlimit" => $mybb->get_input('eventlimit', MyBB::INPUT_INT),
"showbirthdays" => $mybb->get_input('showbirthdays', MyBB::INPUT_INT),
"moderation" => $mybb->get_input('moderation', MyBB::INPUT_INT),

				"eventlimit" => $mybb->get_input('eventlimit', MyBB::INPUT_INT),
"showbirthdays" => $mybb->get_input('showbirthdays', MyBB::INPUT_INT),
"moderation" => $mybb->get_input('moderation', MyBB::INPUT_INT),

				"allowhtml" => $db->escape_string($mybb->input['allowhtml']),
"allowmycode" => $db->escape_string($mybb->input['allowmycode']),
"allowimgcode" => $db->escape_string($mybb->input['allowimgcode']),
"allowvideocode" => $db->escape_string($mybb->input['allowvideocode']),
"allowsmilies" => $db->escape_string($mybb->input['allowsmilies'])

				"allowhtml" => $mybb->get_input('allowhtml', MyBB::INPUT_INT),
"allowmycode" => $mybb->get_input('allowmycode', MyBB::INPUT_INT),
"allowimgcode" => $mybb->get_input('allowimgcode', MyBB::INPUT_INT),
"allowvideocode" => $mybb->get_input('allowvideocode', MyBB::INPUT_INT),
"allowsmilies" => $mybb->get_input('allowsmilies', MyBB::INPUT_INT)

			);

$plugins->run_hooks("admin_config_calendars_edit_commit");


			);

$plugins->run_hooks("admin_config_calendars_edit_commit");


			$db->update_query("calendars", $updated_calendar, "cid = '".$mybb->get_input('cid', MyBB::INPUT_INT)."'");

			$db->update_query("calendars", $updated_calendar, "cid='{$calendar['cid']}'");


// Log admin action
log_admin_action($calendar['cid'], $mybb->input['name']);


// Log admin action
log_admin_action($calendar['cid'], $mybb->input['name']);