root/trunk/wifidog-auth/wifidog/templates/classes/MainUI_Display.tpl @ 1169

Revision 1169, 6.5 KB (checked in by benoitg, 6 years ago)
  • A few more steps towards a real user manager
  • Move password change to preferences.
  • InterfaceElements?: Begin moving away from a raw HTML generator and towards a more semantic one as discussed with Max Horvath.
Line 
1{*
2
3/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
4
5// +-------------------------------------------------------------------+
6// | WiFiDog Authentication Server                                     |
7// | =============================                                     |
8// |                                                                   |
9// | The WiFiDog Authentication Server is part of the WiFiDog captive  |
10// | portal suite.                                                     |
11// +-------------------------------------------------------------------+
12// | PHP version 5 required.                                           |
13// +-------------------------------------------------------------------+
14// | Homepage:     http://www.wifidog.org/                             |
15// | Source Forge: http://sourceforge.net/projects/wifidog/            |
16// +-------------------------------------------------------------------+
17// | This program is free software; you can redistribute it and/or     |
18// | modify it under the terms of the GNU General Public License as    |
19// | published by the Free Software Foundation; either version 2 of    |
20// | the License, or (at your option) any later version.               |
21// |                                                                   |
22// | This program is distributed in the hope that it will be useful,   |
23// | but WITHOUT ANY WARRANTY; without even the implied warranty of    |
24// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the     |
25// | GNU General Public License for more details.                      |
26// |                                                                   |
27// | You should have received a copy of the GNU General Public License |
28// | along with this program; if not, contact:                         |
29// |                                                                   |
30// | Free Software Foundation           Voice:  +1-617-542-5942        |
31// | 59 Temple Place - Suite 330        Fax:    +1-617-542-2652        |
32// | Boston, MA  02111-1307,  USA       gnu@gnu.org                    |
33// |                                                                   |
34// +-------------------------------------------------------------------+
35
36/**
37 * Definition of main HTML page
38 *
39 * @package    WiFiDogAuthServer
40 * @subpackage Templates
41 * @author     Max Horvath <max.horvath@maxspot.de>
42 * @copyright  2006 Max Horvath, maxspot GmbH, Benoit Grégoire, Technologies Coeus inc.
43 * @version    Subversion $Id: $
44 * @link       http://www.wifidog.org/
45 */
46
47*}
48<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
49<html>
50    <head>
51        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
52        <meta http-equiv="Pragma" content="no-cache">
53        <meta http-equiv="Expires" content="-1">
54        {$htmlHeaders}
55        <title>{$title}</title>
56        {foreach from=$stylesheetUrlArray item=stylesheetUrl}
57          <link rel="stylesheet" type="text/css" href="{$stylesheetUrl}">
58        {/foreach}
59                <script src="{$base_url_path}js/formutils.js" type="text/javascript"></script>
60                <script src="{$base_url_path}js/addEvent.js"  type="text/javascript"></script>
61                <script src="{$base_url_path}js/sweetTitles.js" type="text/javascript"></script>
62    </head>
63    <body id='page' class='{$page_name}'>
64        {if !empty($contentDisplayArray.page_header) || $debugRequested}
65                <div id='page_header'>
66            {if $debugRequested}
67                <pre>{$debugOutput}</pre>
68                {/if}
69                        {if !empty($contentDisplayArray.page_header)}
70                                {$contentDisplayArray.page_header}
71                {/if}
72                </div>
73        {/if}
74        <div id="page_body">
75        {if !empty($contentDisplayArray.left_area_top) ||  !empty($contentDisplayArray.left_area_middle) ||  !empty($contentDisplayArray.left_area_middle)}
76                <div id="left_area">
77                        {if !empty($contentDisplayArray.left_area_top)}
78                        <div id="left_area_top">
79                            {$contentDisplayArray.left_area_top}
80                        </div>
81                        {/if}
82                        {if !empty($contentDisplayArray.left_area_middle)}
83                        <div id="left_area_middle">
84                            {$contentDisplayArray.left_area_middle}
85                        </div>
86                        {/if}
87                        {if !empty($contentDisplayArray.left_area_bottom)}
88                        <div id="left_area_bottom">
89                            {$contentDisplayArray.left_area_bottom}
90                        </div>
91                        {/if}
92                </div>
93        {/if}
94        {if !empty($contentDisplayArray.main_area_top) ||  !empty($contentDisplayArray.main_area_middle) ||  !empty($contentDisplayArray.main_area_middle)}
95                <div id="main_area">
96                        {if !empty($contentDisplayArray.main_area_top)}
97                        <div id="main_area_top">
98                            {$contentDisplayArray.main_area_top}
99                        </div>
100                        {/if}
101                        {if !empty($contentDisplayArray.main_area_middle)}
102                        <div id="main_area_middle">
103                            {$contentDisplayArray.main_area_middle}
104                        </div>
105                        {/if}
106                        {if !empty($contentDisplayArray.main_area_bottom)}
107                        <div id="main_area_bottom">
108                            {$contentDisplayArray.main_area_bottom}
109                        </div>
110                        {/if}
111                </div>
112        {/if}
113          {if !empty($contentDisplayArray.right_area_top) ||  !empty($contentDisplayArray.right_area_middle) ||  !empty($contentDisplayArray.right_area_bottom)}
114                <div id="right_area">
115                        {if !empty($contentDisplayArray.right_area_top)}
116                        <div id="right_area_top">
117                            {$contentDisplayArray.right_area_top}
118                        </div>
119                        {/if}
120                        {if !empty($contentDisplayArray.right_area_middle)}
121                        <div id="right_area_middle">
122                            {$contentDisplayArray.right_area_middle}
123                        </div>
124                        {/if}
125                        {if !empty($contentDisplayArray.right_area_bottom)}
126                        <div id="right_area_bottom">
127                            {$contentDisplayArray.right_area_bottom}
128                        </div>
129                        {/if}
130                </div>
131        {/if}
132        </div>
133    {if !empty($contentDisplayArray.page_footer)}
134        <div id='page_footer'>
135                        {$contentDisplayArray.page_footer}
136        </div>
137    {/if}
138
139        {foreach from=$footerScripts item=currScript}
140          {$currScript}
141        {/foreach}
142    </body>
143</html>
Note: See TracBrowser for help on using the browser.