Vergleich admin/modules/config/calendars.php - 1.8.7 - 1.8.26

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 26Zeile 26
	$sub_tabs['add_calendar'] = array(
'title' => $lang->add_calendar,
'link' => "index.php?module=config-calendars&action=add",

	$sub_tabs['add_calendar'] = array(
'title' => $lang->add_calendar,
'link' => "index.php?module=config-calendars&action=add",

 
		'description' => $lang->add_calendar_desc

	);
}


	);
}


Zeile 42Zeile 43
		if(!trim($mybb->input['name']))
{
$errors[] = $lang->error_missing_name;

		if(!trim($mybb->input['name']))
{
$errors[] = $lang->error_missing_name;

		}

		}


if(!isset($mybb->input['disporder']))
{


if(!isset($mybb->input['disporder']))
{

Zeile 68Zeile 69
			$plugins->run_hooks("admin_config_calendars_add_commit_start");

$cid = $db->insert_query("calendars", $calendar);

			$plugins->run_hooks("admin_config_calendars_add_commit_start");

$cid = $db->insert_query("calendars", $calendar);





			$plugins->run_hooks("admin_config_calendars_add_commit_end");

// Log admin action

			$plugins->run_hooks("admin_config_calendars_add_commit_end");

// Log admin action

Zeile 91Zeile 92

$page->add_breadcrumb_item($lang->add_calendar);
$page->output_header($lang->calendars." - ".$lang->add_calendar);


$page->add_breadcrumb_item($lang->add_calendar);
$page->output_header($lang->calendars." - ".$lang->add_calendar);


$sub_tabs['add_calendar'] = array(
'title' => $lang->add_calendar,
'link' => "index.php?module=config-calendars&action=add",
'description' => $lang->add_calendar_desc
);

 

$page->output_nav_tabs($sub_tabs, 'add_calendar');
$form = new Form("index.php?module=config-calendars&action=add", "post");


$page->output_nav_tabs($sub_tabs, 'add_calendar');
$form = new Form("index.php?module=config-calendars&action=add", "post");



 

if($errors)
{


if($errors)
{