source: trunk/web/addons/job_monarch/footer.php @ 225

Last change on this file since 225 was 225, checked in by bastiaans, 18 years ago

ALL:

  • added GPL
File size: 1.4 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 */
23
24$tpl = new TemplatePower( "templates/footer.tpl" );
25$tpl->prepare();
26$tpl->assign("webfrontend-version",$version["webfrontend"]);
27$tpl->assign("togaweb-version", "0.1");
28$tpl->assign("togaarch-version", "0.1");
29$tpl->assign("togaplug-version", "0.1");
30
31if ($version["gmetad"]) {
32   $tpl->assign("webbackend-component", "gmetad");
33   $tpl->assign("webbackend-version",$version["gmetad"]);
34}
35elseif ($version["gmond"]) {
36   $tpl->assign("webbackend-component", "gmond");
37   $tpl->assign("webbackend-version", $version["gmond"]);
38}
39
40$tpl->assign("parsetime", sprintf("%.4f", $parsetime) . "s");
41
42$tpl->printToScreen();
43?>
Note: See TracBrowser for help on using the repository browser.