source: trunk/includes/main_footer.php @ 247

Revision 247, 1.3 KB checked in by sque, 11 months ago (diff)

Add "community" concept on config and installation.
Improve home page, by adding a general welcome text (Closes #149).
Design and integrate favicon on frontend and installer.

Line 
1<?php
2/*
3 * WiND - Wireless Nodes Database
4 *
5 * Copyright (C) 2005 Nikolaos Nikalexis <winner@cube.gr>
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; version 2 dated June, 1991.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
19 *
20 */
21
22class footer {
23       
24        var $hide=FALSE;
25
26        function output() {
27                global $db, $php_start, $main, $vars;
28                if ($this->hide) return;
29                $this->tpl['php_time'] = getmicrotime() - $php_start;
30                $this->tpl['mysql_time'] = $db->total_time;
31                $this->tpl['wind_version'] = format_version($vars['info']['version']);
32                if (isset($main->userdata->privileges['admin']) && $main->userdata->privileges['admin'] === TRUE && $vars['debug']['enabled'] == TRUE) {
33                        $this->tpl['debug_mysql'] = ROOT_PATH."debug/mysql.php?".get_qs();
34                }
35                return template($this->tpl, __FILE__);
36        }
37       
38}
Note: See TracBrowser for help on using the repository browser.