Vergleich admin/modules/config/help_documents.php - 1.6.0 - 1.6.1

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 289Zeile 289
				$sql_array = array(
"name" => $db->escape_string($mybb->input['name']),
"description" => $db->escape_string($mybb->input['description']),

				$sql_array = array(
"name" => $db->escape_string($mybb->input['name']),
"description" => $db->escape_string($mybb->input['description']),

					"usetranslation" => 0,

					"usetranslation" => intval($mybb->input['usetranslation']),

					"enabled" => intval($mybb->input['enabled']),
"disporder" => intval($mybb->input['disporder'])
);

					"enabled" => intval($mybb->input['enabled']),
"disporder" => intval($mybb->input['disporder'])
);

Zeile 329Zeile 329
			$mybb->input['description'] = $section['description'];
$mybb->input['disporder'] = $section['disporder'];
$mybb->input['enabled'] = $section['enabled'];

			$mybb->input['description'] = $section['description'];
$mybb->input['disporder'] = $section['disporder'];
$mybb->input['enabled'] = $section['enabled'];

 
			$mybb->input['usetranslation'] = $section['usetranslation'];

		}

$form = new Form("index.php?module=config-help_documents&action=edit", "post", "edit");

echo $form->generate_hidden_field("sid", $mybb->input['sid']);

		}

$form = new Form("index.php?module=config-help_documents&action=edit", "post", "edit");

echo $form->generate_hidden_field("sid", $mybb->input['sid']);

 
		echo $form->generate_hidden_field("usetranslation", $mybb->input['usetranslation']);

		
$form_container = new FormContainer($lang->edit_section." ({$lang->id} ".intval($mybb->input['sid']).")");
$form_container->output_row($lang->title." <em>*</em>", "", $form->generate_text_box('name', $mybb->input['name'], array('id' => 'name')), 'name');

		
$form_container = new FormContainer($lang->edit_section." ({$lang->id} ".intval($mybb->input['sid']).")");
$form_container->output_row($lang->title." <em>*</em>", "", $form->generate_text_box('name', $mybb->input['name'], array('id' => 'name')), 'name');