From 92b092823c21af1339e0d42716dc856357f93e85 Mon Sep 17 00:00:00 2001 From: Scott Ostler Date: Tue, 4 Jan 2011 15:42:23 -0500 Subject: Added topics, refactored recipient handling --- template/log.st | 5 ++++- template/popular.st | 6 +++--- template/profile.st | 18 ++++++------------ template/rooms/chat.st | 4 ++-- template/single_message.st | 4 +++- template/tagged_dumps.st | 4 +++- template/topic.st | 39 +++++++++++++++++++++++++++++++++++++++ template/userlog.st | 4 +++- 8 files changed, 63 insertions(+), 21 deletions(-) create mode 100644 template/topic.st (limited to 'template') diff --git a/template/log.st b/template/log.st index 92a0f75..ab4eb53 100644 --- a/template/log.st +++ b/template/log.st @@ -3,7 +3,10 @@ dump.fm log $head()$ diff --git a/template/popular.st b/template/popular.st index 65eeece..c900dd9 100644 --- a/template/popular.st +++ b/template/popular.st @@ -2,10 +2,10 @@ dump.fm - $nick$'s popular $head()$ - - diff --git a/template/profile.st b/template/profile.st index 6b54c43..82c77e6 100644 --- a/template/profile.st +++ b/template/profile.st @@ -2,16 +2,16 @@ $nick$'s dump.fm - - + + $head()$ - - - + $if(avatar)$ @@ -124,11 +123,6 @@ jQuery(document).ready(function() { }$ - - -
$footer()$ diff --git a/template/rooms/chat.st b/template/rooms/chat.st index f7ca888..a8269a6 100644 --- a/template/rooms/chat.st +++ b/template/rooms/chat.st @@ -10,9 +10,9 @@ \ \:\/:/ \ \:\ /:/ \ \:\ \ \::/ \ \::/ \ \:\ \ \::/ \ \:\/:/ \ \:\ \ \:\ \ \:\ \ \:\ \__\/ \ \::/ \ \:\ \ \:\ \ \:\ \ \:\ - \__\/ \__\/ \__\/ \__\/ \__\/ + \__\/ \__\/ \__\/ \__\/ \__\/ \___\/ - (c)2010 dump.fm --> + (c)2011 dump.fm --> diff --git a/template/single_message.st b/template/single_message.st index 1428f2b..3bf49ac 100644 --- a/template/single_message.st +++ b/template/single_message.st @@ -3,7 +3,9 @@ dump.fm $head()$ diff --git a/template/tagged_dumps.st b/template/tagged_dumps.st index 44c4b5e..b488afb 100644 --- a/template/tagged_dumps.st +++ b/template/tagged_dumps.st @@ -4,7 +4,9 @@ $head()$ diff --git a/template/topic.st b/template/topic.st new file mode 100644 index 0000000..71451b2 --- /dev/null +++ b/template/topic.st @@ -0,0 +1,39 @@ + + + #$topic$ - dump.fm + $head()$ + + + + $banner()$ +
+
+
+

#$topic$

+

+
+
+ $if(dumps)$ + + $dumps: { d | $log_dump(dump=d)$ }$ + + $else$ + Topic #$topic$ doesn't exist yet! + $endif$ +
+
+
+ $footer()$ +
+
+
+ + + + + diff --git a/template/userlog.st b/template/userlog.st index c073ce3..4e67c82 100644 --- a/template/userlog.st +++ b/template/userlog.st @@ -3,7 +3,9 @@ $nick$'s dump.fm $head()$ -- cgit v1.2.3-70-g09d2