source: trunk/web/addons/toga/footer.php @ 126

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

web/addons/toga/footer.php,
web/addons/toga/header.php,
web/addons/toga/logo_ned.gif,
web/addons/toga/styles.css:

  • Header/footer/stylesheet for Toga
  • Sara logo

web/addons/toga/overview.php:

  • Empty skeleton for future overview page of Toga

web/addons/toga/index.php:

  • Setup header/footer/etc
  • Include overview.php

web/addons/toga/templates:

  • Templates used by Toga

web/templates/toga/cluster_extra.tpl:

  • Link to index.php instead of overview.php
File size: 625 bytes
Line 
1<?php
2$tpl = new TemplatePower( "templates/footer.tpl" );
3$tpl->prepare();
4$tpl->assign("webfrontend-version",$version["webfrontend"]);
5$tpl->assign("togaweb-version", "0.1");
6$tpl->assign("togaarch-version", "0.1");
7$tpl->assign("togaplug-version", "0.1");
8
9if ($version["gmetad"]) {
10   $tpl->assign("webbackend-component", "gmetad");
11   $tpl->assign("webbackend-version",$version["gmetad"]);
12}
13elseif ($version["gmond"]) {
14   $tpl->assign("webbackend-component", "gmond");
15   $tpl->assign("webbackend-version", $version["gmond"]);
16}
17
18$tpl->assign("parsetime", sprintf("%.4f", $parsetime) . "s");
19
20$tpl->printToScreen();
21?>
Note: See TracBrowser for help on using the repository browser.