Zeile 6 | Zeile 6 |
---|
* Website: http://mybb.com * License: http://mybb.com/about/license *
|
* Website: http://mybb.com * License: http://mybb.com/about/license *
|
* $Id: help_documents.php 5016 2010-06-12 00:24:02Z RyanGordon $
| * $Id: help_documents.php 5297 2010-12-28 22:01:14Z Tomm $
|
*/
// Disallow direct access to this file for security reasons
| */
// Disallow direct access to this file for security reasons
|
Zeile 289 | Zeile 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 329 | Zeile 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');
|