Project

General

Profile

« Previous | Next » 

Revision 694

Added by doc almost 17 years ago

removed all stuff other than page_content from the blank template

View differences:

index.php
28 28
	exit(0);
29 29
}
30 30

  
31
?>
32
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
33
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
34
<head>
35
<title><?php page_title(); ?></title>
36
<meta http-equiv="Content-Type" content="text/html; charset=<?php if(defined('DEFAULT_CHARSET')) { echo DEFAULT_CHARSET; } else { echo 'utf-8'; }?>" />
37
<meta name="description" content="<?php page_description(); ?>" />
38
<meta name="keywords" content="<?php page_keywords(); ?>" />
39
<link href="<?php echo TEMPLATE_DIR; ?>/screen.css" rel="stylesheet" type="text/css" media="screen" />
40
<?php
41
// this allows to include the optional module files (frontend.css, frontend.js) into the head section
42
if(function_exists('register_frontend_modfiles')) {
43
  register_frontend_modfiles('css');
44
  register_frontend_modfiles('js');
45
} ?>
46
<?php 
47
// this allows to add custom information to the head section of your template (WB-->Settings-->Website Header)
48
echo WEBSITE_HEADER; 
49
?>
50
</head>
31
page_content();
51 32

  
52

  
53
<body>
54
<?php 
55
	// display menu
56
	show_menu();
57
	
58
	// display page content
59
	page_content(); 
60
	
61
	// display website footer
62
	page_footer();
63
?>
64
</body>
65
</html>
33
?>

Also available in: Unified diff