2009-12-09, 01:38 AM
Open /admin/modules/style/templates.php and find near line 531:
I have this in the 1.4.10 files that I downloaded before december 7 but I don't have it in the templates.php that I have downloaded from my FTP...
Look what I have in the line 528-531:
// Only allow users to move non-default templates to stop them from being able to delete it!
if($template['sid'] == "-2")
{
echo $form->generate_hidden_field("sid", "-2");
}
else
{
$form_container->output_row($lang->template_set, $lang->template_set_desc, $form->generate_select_box('sid', $template_sets, $sid));
}
I have this in the 1.4.10 files that I downloaded before december 7 but I don't have it in the templates.php that I have downloaded from my FTP...
Look what I have in the line 528-531:
$form_container = new FormContainer($lang->edit_template_breadcrumb.$template['title']);
$form_container->output_row($lang->template_name, $lang->template_name_desc, $form->generate_text_box('title', $template['title'], array('id' => 'title')), 'title');
$form_container->output_row($lang->template_set, $lang->template_set_desc, $form->generate_select_box('sid', $template_sets, $sid));
$form_container->output_row("", "", $form->generate_text_area('template', $template['template'], array('id' => 'template', 'class' => 'codepress mybb', 'style' => 'width: 100%; height: 500px;')));
$form_container->end();