From 74c69254be1bf8ac2d3e535efb54d3a62b95145d Mon Sep 17 00:00:00 2001 From: deva Date: Wed, 18 Feb 2009 15:14:50 +0000 Subject: Added title attribute to the courses/templates, and made them show as a header in the client. --- server/src/server.cc | 2 ++ server/xml/macros/B.3.1.2.xml | 2 +- server/xml/macros/B.3.1.3.xml | 2 +- server/xml/templates/amd_behandling.xml | 2 +- server/xml/templates/amd_forunders.xml | 2 +- server/xml/templates/amd_kontrolunders.xml | 5 +++-- 6 files changed, 9 insertions(+), 6 deletions(-) (limited to 'server') 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.attributes["name"]; + answer += "\" title=\""; + answer += templ->course.attributes["title"]; answer += "\">\n"; bool foundmacro = false; diff --git a/server/xml/macros/B.3.1.2.xml b/server/xml/macros/B.3.1.2.xml index d21ba92..2391b0e 100644 --- a/server/xml/macros/B.3.1.2.xml +++ b/server/xml/macros/B.3.1.2.xml @@ -7,7 +7,7 @@ - +