Vergleich admin/inc/functions_view_manager.php - 1.8.6 - 1.8.26

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 64Zeile 64
			{
$mybb->input['fields'] = explode(",", $mybb->input['fields_js']);
}

			{
$mybb->input['fields'] = explode(",", $mybb->input['fields_js']);
}

			if(count($mybb->input['fields']) <= 0)

			if(!is_array($mybb->input['fields']) || count($mybb->input['fields']) <= 0)

			{
$errors[] = $lang->error_no_view_fields;
}

			{
$errors[] = $lang->error_no_view_fields;
}

Zeile 254Zeile 254
				$mybb->input['fields'] = explode(",", $mybb->input['fields_js']);
}


				$mybb->input['fields'] = explode(",", $mybb->input['fields_js']);
}


			if(count($mybb->input['fields']) <= 0)

			if(!is_array($mybb->input['fields']) || count($mybb->input['fields']) <= 0)

			{
$errors[] = $lang->error_no_view_fields;
}

			{
$errors[] = $lang->error_no_view_fields;
}

Zeile 363Zeile 363

$form_container->output_row($lang->set_as_default_view, "", $form->generate_yes_no_radio("isdefault", $mybb->input['isdefault'], array('yes' => 1, 'no' => 0)));



$form_container->output_row($lang->set_as_default_view, "", $form->generate_yes_no_radio("isdefault", $mybb->input['isdefault'], array('yes' => 1, 'no' => 0)));


		if(count($sort_options) > 0)

		if(is_array($sort_options) && count($sort_options) > 0)

		{
$sort_directions = array(
"asc" => $lang->ascending,

		{
$sort_directions = array(
"asc" => $lang->ascending,

Zeile 575Zeile 575
				$view_type = "group";
if($view['username'])
{

				$view_type = "group";
if($view['username'])
{

					$created = "<br /><small>{$lang->created_by} {$view['username']}</small>";


					$username = htmlspecialchars_uni($view['username']);
$created = "<br /><small>{$lang->created_by} {$username}</small>";

				}
}
else

				}
}
else