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

Revision 1012, 6.1 KB (checked in by benoitg, 7 years ago)
  • Fix bug where right_area_bottom content wouldn't be displayed.
  • Minor CSS cleanup
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: change_password.php 914 2006-01-23 05:25:43Z max-horvath $
44 * @link       http://www.wifidog.org/
45 */
46
47*}
48
49<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
50
51<html>
52
53    <head>
54        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
55        <meta http-equiv="Pragma" content="no-cache">
56        <meta http-equiv="Expires" content="-1">
57        {$htmlHeaders}
58
59        <title>{$title}</title>
60
61                <link rel="stylesheet" type="text/css" href="{$stylesheetURL}">
62
63        <style type="text/css">
64            {include file="$stylesheetParsedFile"}
65        </style>
66    </head>
67
68    <body id='page' class='{$page_name}'>
69        {if !empty($contentArray.page_header) || $debugRequested}
70                <div class='page_header'>
71            {if $debugRequested}
72                <pre>{$debugOutput}</pre>
73                {/if}
74                </div>
75        {/if}
76
77
78        <div id="page_body">
79        {if !empty($contentArray.left_area_top) ||  !empty($contentArray.left_area_middle) ||  !empty($contentArray.left_area_middle)}
80                <div id="left_area">
81                        {if !empty($contentArray.left_area_top)}
82                        <div id="left_area_top">
83                            {$contentArray.left_area_top}
84                        </div>
85                        {/if}
86                        {if !empty($contentArray.left_area_middle)}
87                        <div id="left_area_middle">
88                            {$contentArray.left_area_middle}
89                        </div>
90                        {/if}
91                        {if !empty($contentArray.left_area_bottom)}
92                        <div id="left_area_bottom">
93                            {$contentArray.left_area_bottom}
94                        </div>
95                        {/if}   
96                </div>
97        {/if}
98       
99        {if !empty($contentArray.main_area_top) ||  !empty($contentArray.main_area_middle) ||  !empty($contentArray.main_area_middle)}
100                <div id="main_area">
101                        {if !empty($contentArray.main_area_top)}
102                        <div id="main_area_top">
103                            {$contentArray.main_area_top}
104                        </div>
105                        {/if}
106                        {if !empty($contentArray.main_area_middle)}
107                        <div id="main_area_middle">
108                            {$contentArray.main_area_middle}
109                        </div>
110                        {/if}
111                        {if !empty($contentArray.main_area_bottom)}
112                        <div id="main_area_bottom">
113                            {$contentArray.main_area_bottom}
114                        </div>
115                        {/if}   
116                </div>
117        {/if}       
118
119          {if !empty($contentArray.right_area_top) ||  !empty($contentArray.right_area_middle) ||  !empty($contentArray.right_area_bottom)}
120                <div id="right_area">
121                        {if !empty($contentArray.right_area_top)}
122                        <div id="right_area_top">
123                            {$contentArray.right_area_top}
124                        </div>
125                        {/if}
126                        {if !empty($contentArray.right_area_middle)}
127                        <div id="right_area_middle">
128                            {$contentArray.right_area_middle}
129                        </div>
130                        {/if}
131                        {if !empty($contentArray.right_area_bottom)}
132                        <div id="right_area_bottom">
133                            {$contentArray.right_area_bottom}
134                        </div>
135                        {/if}   
136                </div>
137        {/if}   
138        </div>
139    {if !empty($contentArray.page_footer)}
140        <div class='page_footer'>
141                        {$contentArray.page_footer}
142        </div>
143    {/if}
144
145        {foreach from=$footerScripts item=currScript}
146          {$currScript}
147        {/foreach}
148    </body>
149</html>
Note: See TracBrowser for help on using the browser.