source: trunk/server/www/app/views/layouts/default.ctp @ 234

Last change on this file since 234 was 234, checked in by sander, 11 years ago

Merge the design branch to the trunk

File size: 3.5 KB
Line 
1<?php
2/* SVN FILE: $Id: default.ctp 7945 2008-12-19 02:16:01Z gwoo $ */
3/**
4 *
5 * PHP versions 4 and 5
6 *
7 * CakePHP(tm) :  Rapid Development Framework (http://www.cakephp.org)
8 * Copyright 2005-2008, Cake Software Foundation, Inc. (http://www.cakefoundation.org)
9 *
10 * Licensed under The MIT License
11 * Redistributions of files must retain the above copyright notice.
12 *
13 * @filesource
14 * @copyright     Copyright 2005-2008, Cake Software Foundation, Inc. (http://www.cakefoundation.org)
15 * @link          http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project
16 * @package       cake
17 * @subpackage    cake.cake.libs.view.templates.layouts
18 * @since         CakePHP(tm) v 0.10.0.1076
19 * @version       $Revision: 7945 $
20 * @modifiedby    $LastChangedBy: gwoo $
21 * @lastmodified  $Date: 2008-12-18 20:16:01 -0600 (Thu, 18 Dec 2008) $
22 * @license       http://www.opensource.org/licenses/mit-license.php The MIT License
23 */
24?>
25<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
26<html xmlns="http://www.w3.org/1999/xhtml">
27<head>
28        <?php echo $html->charset(); ?>
29        <title>
30                <?php __('Officeshots.org: Test ODF compatibility:'); ?>
31                <?php echo $title_for_layout; ?>
32        </title>
33        <?php
34                echo $html->meta('icon');
35
36                echo $html->css('cake.generic');
37                echo $html->css('cake.override');
38
39                echo $scripts_for_layout;
40        ?>
41</head>
42<body>
43        <div id="container">
44                <div id="header" style="background-image: url(/img/places/icon-home.png);">
45                        <h1><?php echo $html->link('Officeshots', '/'); ?></h1>
46                        <div id="lang-select">
47                                <?php echo $html->image('flags/catalonia.png', array('alt' => 'Català', 'title' => 'Català', 'url' => '/lang/cat', 'class' => ($language == 'cat' ? 'active' : '')));?>
48                                <?php echo $html->image('flags/cn.png', array('alt' => '简䜓字', 'title' => '简䜓字', 'url' => '/lang/chi', 'class' => ($language == 'chi' ? 'active' : '')));?>
49                                <?php echo $html->image('flags/gb.png', array('alt' => 'English', 'title' => 'English', 'url' => '/lang/eng', 'class' => ($language == 'eng' ? 'active' : '')));?>
50                                <?php echo $html->image('flags/es.png', array('alt' => 'Español', 'title' => 'Español', 'url' => '/lang/spa', 'class' => ($language == 'spa' ? 'active' : '')));?>
51                                <?php echo $html->image('flags/fr.png', array('alt' => 'Français', 'title' => 'Français', 'url' => '/lang/fre', 'class' => ($language == 'fre' ? 'active' : '')));?>
52                                <?php echo $html->image('flags/nl.png', array('alt' => 'Nederlands', 'title' => 'Nederlands', 'url' => '/lang/nld', 'class' => ($language == 'nld' ? 'active' : '')));?>
53                        </div>
54                        <p id="top-controllers">
55                                <a href="/"><?php __('Home'); ?></a>
56                                <a href="/pages/contribute"><?php __('Contribute'); ?></a>
57                                <?php foreach ($topControllers as $controllerName => $controllerPath): ?>
58                                        <a href="<?php echo $controllerPath; ?>"><?php echo $controllerName; ?></a>
59                                <?php endforeach; ?>
60                        </p>
61                </div>
62                <div id="content">
63
64                        <?php $session->flash(); ?>
65
66                        <?php echo $content_for_layout; ?>
67
68                </div>
69                <div id="footer">
70                        <p id="bottom-controllers">
71                                <a href="/"><?php __('Home'); ?></a>
72                                <a href="/pages/about"><?php __('About'); ?></a>
73                                <a href="/pages/disclaimer"><?php __('Disclaimer'); ?></a>
74                                <?php foreach ($bottomControllers as $controllerName => $controllerPath): ?>
75                                        <a href="<?php echo $controllerPath; ?>"><?php echo $controllerName; ?></a>
76                                <?php endforeach; ?>
77                        </p>
78                </div>
79        </div>
80        <?php echo $cakeDebug; ?>
81</body>
82</html>
Note: See TracBrowser for help on using the repository browser.