Skip to content

Commit

Permalink
Make some more information available to templates.
Browse files Browse the repository at this point in the history
  • Loading branch information
sacerdoti committed Mar 17, 2005
1 parent 867e486 commit 1e298d1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions monitor-core/web/header.php
Expand Up @@ -87,6 +87,9 @@
$cluster_url=rawurlencode($clustername);
$node_url=rawurlencode($hostname);

# Make some information available to templates.
$tpl->assign("cluster_url", $cluster_url);

if ($context=="cluster")
{
$tpl->assign("alt_view", "<a href=\"./?p=2&c=$cluster_url\">Physical View</a>");
Expand Down

0 comments on commit 1e298d1

Please sign in to comment.