[113] | 1 | <?php |
---|
[225] | 2 | /* |
---|
| 3 | * |
---|
| 4 | * This file is part of Jobmonarch |
---|
| 5 | * |
---|
| 6 | * Copyright (C) 2006 Ramon Bastiaans |
---|
| 7 | * |
---|
| 8 | * Jobmonarch is free software; you can redistribute it and/or modify |
---|
| 9 | * it under the terms of the GNU General Public License as published by |
---|
| 10 | * the Free Software Foundation; either version 2 of the License, or |
---|
| 11 | * (at your option) any later version. |
---|
| 12 | * |
---|
| 13 | * Jobmonarch is distributed in the hope that it will be useful, |
---|
| 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
| 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
| 16 | * GNU General Public License for more details. |
---|
| 17 | * |
---|
| 18 | * You should have received a copy of the GNU General Public License |
---|
| 19 | * along with this program; if not, write to the Free Software |
---|
| 20 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
---|
| 21 | * |
---|
[231] | 22 | * SVN $Id: footer.php 241 2006-04-07 10:42:02Z bastiaans $ |
---|
[225] | 23 | */ |
---|
| 24 | |
---|
[113] | 25 | $tpl = new TemplatePower( "templates/footer.tpl" ); |
---|
| 26 | $tpl->prepare(); |
---|
| 27 | $tpl->assign("webfrontend-version",$version["webfrontend"]); |
---|
[241] | 28 | //$tpl->assign("togaweb-version", "0.1.1"); |
---|
| 29 | //$tpl->assign("togaarch-version", "0.1.1"); |
---|
| 30 | //$tpl->assign("togaplug-version", "0.1.1"); |
---|
[113] | 31 | |
---|
| 32 | if ($version["gmetad"]) { |
---|
| 33 | $tpl->assign("webbackend-component", "gmetad"); |
---|
| 34 | $tpl->assign("webbackend-version",$version["gmetad"]); |
---|
| 35 | } |
---|
| 36 | elseif ($version["gmond"]) { |
---|
| 37 | $tpl->assign("webbackend-component", "gmond"); |
---|
| 38 | $tpl->assign("webbackend-version", $version["gmond"]); |
---|
| 39 | } |
---|
| 40 | |
---|
| 41 | $tpl->assign("parsetime", sprintf("%.4f", $parsetime) . "s"); |
---|
| 42 | |
---|
| 43 | $tpl->printToScreen(); |
---|
| 44 | ?> |
---|