'; $view .= "\n\t".'
'.$lang['form_title'].'
'; ######## heading ########################## $view .= "\n\t".''.$help_icon.''.$lang['hint_heading'].''; $view .= "\n\t".''.$lang['heading'].''.tag('br'); $checked = ''; if($page['show_heading'] == '1'){ $checked = $strChecked; } $js = " onclick=\"window.document.page_params.heading.disabled = false;\""; $view .= "\n\t\t".tag('input type="radio" name="show_heading" value="1" id = "show_heading_yes"'.$js. $checked). ''; $checked = ''; $disabled = ''; if($page['show_heading'] !== '1'){ $checked = $strChecked; $disabled = $strDisabled; } $js = " onclick=\"window.document.page_params.heading.disabled = true;\""; $view .= "\n\t\t".tag('input type="radio" name="show_heading" value="0" id = "show_heading_no"'.$checked .$js). '' .tag('br'); $view .= "\n\t\t".tag('input type="text" size = "50" name="heading" id = "other_heading" value="'. str_replace('"', '"', $page['heading']).'"'.$disabled).tag('br'); $view .= "\n\t".tag('hr'); #### published ##################### $view .= "\n\t".''.$help_icon.''.$lang['hint_published'].''; $view .= "\n\t".''.$lang['published'] .''.tag('br'); $checked = ''; if($page['published'] !== '0'){ $checked = $strChecked; } $view .= "\n\t\t".tag('input type="radio" name="published" value="1" id = "published_yes"'.$checked).''; $checked = ''; if($page['published'] == '0'){ $checked = $strChecked; } $view .= "\n\t\t".tag('input type="radio" name="published" value="0" id = "published_no"'.$checked). '' .tag('br'); $view .= "\n\t".tag('hr'); #### linked to menu ##################### $view .= "\n\t".''.$help_icon.''.$lang['hint_linked_to_menu'].''; $view .= "\n\t".''.$lang['linked_to_menu'] .''.tag('br'); $checked = ''; if($page['linked_to_menu'] !== '0'){ $checked = $strChecked; } $view .= "\n\t\t".tag('input type="radio" name="linked_to_menu" value="1" id = "linked_to_menu_yes"'.$checked).''; $checked = ''; if($page['linked_to_menu'] == '0'){ $checked = $strChecked; } $view .= "\n\t\t".tag('input type="radio" name="linked_to_menu" value="0" id = "linked_to_menu_no"'.$checked). '' .tag('br'); $view .= "\n\t".tag('hr'); ### template chooser ############ if(isset($page['template']) && trim($page['template']) !== '') { $selected = ''; $template = $page['template']; } else { $selected = $strSelected; } $handle = opendir($pth['folder']['templates']); $templates_select = "\n".''; $view .= "\n"."\n\t".''.$help_icon.''.$lang['hint_template'].''; $view .= "\n\t".''.$lang['template'].''.tag('br').$templates_select .tag('br'); $view .= "\n\t".tag('hr'); ############# last edit ################## $view .= "\n\t".''.$help_icon.''.$lang['hint_last_edit'].''; $view .= "\n\t".''.$lang['show_last_edit'].''; $view .= tag('br'); $checked = ''; if($page['show_last_edit'] == '1'){ $checked = $strChecked; } $view .= "\n\t\t".tag('input type="radio" name="show_last_edit" value="1" id = "last_edit_yes"'.$checked). ''; $checked = ''; if($page['show_last_edit'] !== '1'){ $checked = $strChecked; } $view .= "\n\t\t".tag('input type="radio" name="show_last_edit" value="0" id="last_edit_no"'.$checked). '' .tag('br'); if($page['last_edit'] !== ''){ $view .= "\n\t\t".' ('.$lang['last_edit']; $view .= date($tx['lastupdate']['dateformat'],(int)$page['last_edit']).')'; } $view .= "\n\t".tag('hr'); ############# header_location ################## $view .= "\n\t".''.$help_icon.''.$lang['hint_header_location'].''; $view .= "\n\t".''.$lang['header_location'].''.tag('br'); $checked = ''; if($page['use_header_location'] == '1'){ $checked = $strChecked; } $js = " onclick=\"window.document.page_params.header_location.disabled = false;\""; $view .= "\n\t\t".tag('input type="radio" name="use_header_location" value="1" id="header_location_yes"'.$js. $checked). ''; $checked = ''; $disabled = ''; if($page['use_header_location'] !== '1'){ $checked = $strChecked; $disabled = $strDisabled; } $js = " onclick=\"window.document.page_params.header_location.disabled = true;\""; $view .= "\n\t\t".tag('input type="radio" name="use_header_location" value="0" id="header_location_no"'.$checked .$js). '' .tag('br'); $view .= "\n\t\t".tag('input type="text" size="50" name="header_location" id="other_header_location" value="'. str_replace('"', '"', $page['header_location']).'"'.$disabled).tag('br'); $view .= "\n\t"; ################################################ $view .= "\n\t".tag('input name = "save_page_data" type = "hidden"'); $view .= "\n\t".'