Commit: a6df021cb33eb861473336df127323f64a5cbcb4

Author: gwoo | Date: 2010-04-03 12:14:49 -0700
adding page titles
diff --git a/views/logs/index.html.php b/views/logs/index.html.php index a91bf34..c584bf3 100644 --- a/views/logs/index.html.php +++ b/views/logs/index.html.php @@ -1,10 +1,12 @@ <?php if (empty($logs)): ?> +<?php $this->title('Channels'); ?> <ul class="channels"> <?php foreach ((array)$channels as $channel): ?> <li><?=$this->html->link('#' . $channel, 'bot/' . $channel); ?></li> <?php endforeach;?> </ul> <?php else: ?> +<?php $this->title("Logs for {$channel}"); ?> <ul> <?php foreach ((array)$logs as $date): ?> <li> diff --git a/views/logs/view.html.php b/views/logs/view.html.php index 211003d..946d3ab 100644 --- a/views/logs/view.html.php +++ b/views/logs/view.html.php @@ -1,3 +1,4 @@ +<?php $this->title("Logs for {$channel} on {$date}"); ?> <table class="messages"> <?php foreach ($log as $i => $line): ?> <?php