File: template.php

package info (click to toggle)
bamboo 1.2-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 580 kB
  • ctags: 1,338
  • sloc: php: 4,061; makefile: 44; sh: 36
file content (46 lines) | stat: -rw-r--r-- 1,188 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<?php require_once("topnav.php"); ?>
<html>
<head>
  <title><?echo $page->get('title-prefix') . $page->title ?></title>
  <?= stylesheet(__FILE__) ?>
  <!-- <link rel="SHORTCUT ICON" HREF="/favicon.ico"> -->
</head>
<body>
<div id=container>
<div id=breadcrumbs>&nbsp;
	<?= isset($breadcrumbs) ? $breadcrumbs : '' ?>
</div>
<table id=columns cellspacing=0 cellpadding=0 border=0>
  <tr id=row>
    <td valign=top id=leftcolumn><div id=navtree>
      <?php include("leftnav.php"); ?>
    </td></div>
    <td valign=top id=rightcolumn>
      <div id=content>
        <?= $content ?>
      </div>
    </td>
  </tr>
</table> 

<?php if (!$robot) { ?>
<div id=controls>
  <ol>
    <li class=first><?= alink('?auth=logout','logout') ?></li>
    <li><?= alink('?a=source','source') ?></li>
    <li><?= alink('?a=print','printable') ?></li>
    <li><?= alink('?a=edit','<u>e</u>dit', 'accesskey=e') ?></li>
    <li><?= alink('?a=edit&ea=info','<u>i</u>nfo', 'accesskey=i') ?></li>
  </ol>
</div>
<?php } ?>

<div id='lang'><?= $robot ? '' : Lang::getform("$root$page->path") ?></div>

<div id=extra1></div>
<div id=extra2></div>
<div id=extra3></div>
<div id=extra4></div>

</div></body>
</html>