Revision 691
Added by doc almost 17 years ago
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 |
|
... | ... | |
67 | 72 |
if(SHOW_MENU) { |
68 | 73 |
?> |
69 | 74 |
<div class="menu"> |
70 |
<?php page_menu(0, 1, '<li class="menu_main"[class]>[a] [menu_title] [/a]</li>', '<ul>', '</ul>', '', ' style="font-weight: bold;"'); ?> |
|
75 |
<?php |
|
76 |
show_menu(); |
|
71 | 77 |
|
72 |
<?php |
|
73 | 78 |
if(FRONTEND_LOGIN == 'enabled' AND VISIBILITY != 'private' AND $wb->get_session('USER_ID') == '') { |
74 | 79 |
?> |
75 | 80 |
<form name="login" action="<?php echo LOGIN_URL; ?>" method="post" class="login_table"> |
Also available in: Unified diff
Website Header field in Settings now visible per default; Modified templates to display Website Header and to use show_menu instead of page_menu.