Commit 2cc5ea2d authored by Simon Welsh's avatar Simon Welsh

Make title the index link, remove explict index link

git-svn-id: svn+ssh://lsgn/var/logbot-www@65 5f99df0c-6b0a-442a-b40a-040688e84a9d
parent e091ac79
......@@ -5,7 +5,7 @@ class :logs:info extends :x:element {
protected function render() {
$div = <div class="info">
<h1>{$this->getAttribute('channel')} IRC Log</h1>
<h1><a href="index.php">{$this->getAttribute('channel')} IRC Log</a></h1>
<logs:search />
</div>;
$div->appendChild($this->getChildren());
......
......@@ -18,7 +18,6 @@ if(isset($_GET['date']) && preg_match('#^20[0-9]{2}-[01][0-9]-[0-3][0-9]$#', $_G
$head = <logs:head robots="index,nofollow" />;
$body->appendChild(<logs:info>
<h2>IRC log for {date('j F Y', $time)}</h2>
<a href="index.php">Index</a>
</logs:info>);
$body->appendChild(<logs:timezone />);
......
......@@ -31,7 +31,6 @@ if($order) {
$body->appendChild(<logs:info>
{$header}
<a href="index.php">Index</a>
</logs:info>);
$body->appendChild(<logs:timezone />);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment