source: trunk/web2/addons/job_monarch/footer.php @ 562

Last change on this file since 562 was 532, checked in by ramonb, 16 years ago

web2:

  • added Web 2.0 test branch
File size: 1.5 KB
Line 
1<?php
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 *
22 * SVN $Id: footer.php 241 2006-04-07 10:42:02Z bastiaans $
23 */
24
25$tpl = new TemplatePower( "templates/footer.tpl" );
26$tpl->prepare();
27$tpl->assign("webfrontend-version",$version["webfrontend"]);
28//$tpl->assign("togaweb-version", "0.1.1");
29//$tpl->assign("togaarch-version", "0.1.1");
30//$tpl->assign("togaplug-version", "0.1.1");
31
32if ($version["gmetad"]) {
33   $tpl->assign("webbackend-component", "gmetad");
34   $tpl->assign("webbackend-version",$version["gmetad"]);
35}
36elseif ($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?>
Note: See TracBrowser for help on using the repository browser.