source: trunk/docs/examples/contact_form/header.ihtml @ 479

Last change on this file since 479 was 479, checked in by anonymous, 10 years ago

Convert tabs to spaces, and lineendings to LF in all files.

File size: 1.0 KB
Line 
1<<?php echo '?xml version="1.0" encoding="' . $app->getParam('character_set') . '"?'; ?>>
2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5<head>
6    <meta http-equiv="content-type" content="text/html; charset=<?php echo $app->getParam('character_set'); ?>" />
7    <title><?php printf('%s %s %s', $app->getParam('site_name'), $nav->getParam('path_delimiter'), strip_tags($nav->getPath('head_title'))) ?></title>
8</head>
9<body<?php echo $nav->get('body_id') ? ' id="' . $nav->get('body_id') . '"' : ''; ?>>
10    <div id="header">
11        <ul class="nav">
12            <li><a href="/one" class="first">One</a></li>
13            <li><a href="/two">Two</a></li>
14            <li><a href="/three">Three</a></li>
15        </ul>
16    </div>
17    <?php if ($nav->getParam('body_title')) { ?>
18        <h1><?php echo $nav->get('body_title'); ?></h1>
19    <?php } ?>
20    <?php $app->printRaisedMessages(); ?>
21       
Note: See TracBrowser for help on using the repository browser.