Commit 0628e0ae authored by Simon Welsh's avatar Simon Welsh

Fixes IRC link

git-svn-id: svn+ssh://lsgn/var/logbot-www@49 5f99df0c-6b0a-442a-b40a-040688e84a9d
parent 27adc4f1
......@@ -7,8 +7,9 @@ class :log:foot extends :x:element {
string server = '';
protected function render() {
$url = 'irc://' . $this->getAttribute('server') . '/' . substr($this->getAttribute('channel'), 1);
return <p>
These logs were automatically created by <b>{$this->getAttribute('nick')}</b> on <a href="irc://{$this->getAttribute('server')}/{substr($this->getAttribute('channel'), 1)}">{$this->getAttribute('server')}</a>.
These logs were automatically created by <b>{$this->getAttribute('nick')}</b> on <a href={$url}>{$this->getAttribute('server')}</a>.
This site is powered by <a href="">code</a> available under a <a href="LICENSE">BSD license</a>.
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