summaryrefslogtreecommitdiff
path: root/server/src/server.cc
diff options
context:
space:
mode:
authordeva <deva>2009-02-18 15:14:50 +0000
committerdeva <deva>2009-02-18 15:14:50 +0000
commit74c69254be1bf8ac2d3e535efb54d3a62b95145d (patch)
treef5603b26b043fdef074a5cb9d8a5b19e97f49a05 /server/src/server.cc
parent41df494d727810c49c1f0f3e4ffb494f9b1b9a10 (diff)
Added title attribute to the courses/templates, and made them show as a header in the client.
Diffstat (limited to 'server/src/server.cc')
-rw-r--r--server/src/server.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/src/server.cc b/server/src/server.cc
index 1ea2020..24d1eb1 100644
--- a/server/src/server.cc
+++ b/server/src/server.cc
@@ -135,6 +135,8 @@ static std::string handleTransaction(Transaction *transaction,
answer += " <course name=\"";
answer += templ->course.attributes["name"];
+ answer += "\" title=\"";
+ answer += templ->course.attributes["title"];
answer += "\">\n";
bool foundmacro = false;