root/trunk/wifidog-auth/wifidog/templates/classes/MainUI_ToolContent.tpl @ 1020

Revision 1020, 4.6 KB (checked in by benoitg, 7 years ago)
  • Revert Rob's SYSTEM_PATH change. Sorry about that. The devs spent hours to finally get the PATH stuff consistent and fixing the countless bugs that this process introduced. Maybe some links still need to use BASE_URL_PATH instead of BASE_SSL_PATH, (or vice-versa) but it was on purpose that SYSTEM_PATH was not made available to Smarty. We already have 3 defines to be used for links and html refs, that's enough BASE_SSL_PATH should be used to enter SSL mode (if available) BASE_NON_SSL_PATH should be used to break out of SSL mode of when we explicitely do not want someting to be referenced over http BASE_URL_PATH should be used in all other cases to avoid needless SSL warning
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 * Content of tool pane
38 *
39 * @package    WiFiDogAuthServer
40 * @subpackage Templates
41 * @author     Max Horvath <max.horvath@maxspot.de>
42 * @copyright  2006 Max Horvath, maxspot GmbH
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{if $sectionSTART}
50{*
51    BEGIN section START
52*}
53        <div class="tool_user_info">
54            <span class="tool_user_info">
55                {if $isValidUser}
56                    <p>{"Logged in as"|_}: {$username}</p>
57                    <a class="administration" href="{$base_ssl_path}user_profile.php"><img class="administration" src="{$base_url_path}images/profile.gif">{"My Profile"|_}</a>
58                    <a class="administration" href="{$base_ssl_path}login/?logout=true{$logoutParameters}"><img class="administration" src="{$base_url_path}images/logout.gif">{"Logout"|_}</a>
59                {else}
60                                        {if !$shrinkLeftArea}
61                    <p>
62                        {"I am not logged in."|_}<br>
63                        <a href="{$base_ssl_path}login/{$loginParameters}">{"Login"|_}</a>
64                    </p>
65                                        {/if}
66
67                    <a class="administration" href="{$networkHomepageURL}"><img class="administration" src="{$base_url_path}images/lien_ext.gif">{$networkName}</a>
68                    <a class="administration" href="{$base_url_path}faq.php"><img class="administration" src="{$base_url_path}images/where.gif">{"Where am I?"|_}</a>
69                {/if}
70            </span>
71        </div>
72
73        <div class="navigation">
74            <span class="navigation">{$networkName} {"Building your wireless community"|_}</span>
75        </div>
76
77        <div class="language">
78            <form class="language" name="lang_form" method="post" action="{$formAction}">
79                {"Language"|_}:
80                <select name="wifidog_language" onchange="javascript: document.lang_form.submit();">
81                    {foreach from=$languageChooser item=currLanguage}
82                        {$currLanguage}
83                    {/foreach}
84                </select>
85            </form>
86        </div>
87
88        <div class="tool_content">
89            {$toolContent}
90        </div>
91
92                {if !$shrinkLeftArea}
93        <div class="avis">
94            <span class="avis">
95                {$accountInformation}
96                {$techSupportInformation}
97            </span>
98        </div>
99                {/if}
100{*
101    END section START
102*}
103{/if}
Note: See TracBrowser for help on using the browser.