Project

General

Profile

« Previous | Next » 

Revision 691

Added by doc almost 17 years ago

Website Header field in Settings now visible per default; Modified templates to display Website Header and to use show_menu instead of page_menu.

View differences:

index.php
39 39
<link href="<?php echo TEMPLATE_DIR; ?>/screen.css" rel="stylesheet" type="text/css" media="screen" />
40 40
<link href="<?php echo TEMPLATE_DIR; ?>/print.css" rel="stylesheet" type="text/css" media="print" />
41 41
<?php
42
// this allows to include the optional module files (frontend.css, frontend.js) into the head section
42 43
if(function_exists('register_frontend_modfiles')) {
43 44
  register_frontend_modfiles('css');
44 45
  register_frontend_modfiles('js');
45 46
} ?>
47
<?php 
48
// this allows to add custom information to the head section of your template (WB-->Settings-->Website Header)
49
echo WEBSITE_HEADER; 
50
?>
46 51
</head>
47 52
<body>
48 53

  
......
61 66
	<td class="menu">
62 67
		<?php if(SHOW_MENU) { /* Only shown menu if we need to */ ?>	
63 68
			Menu: <br />
64
			<?php page_menu(); ?>
69
			<?php show_menu(); ?>
65 70
		<?php } ?>
66 71
		
67 72
		<?php if(SHOW_SEARCH) { /* Only show search box if search is enabled */ ?>

Also available in: Unified diff