From 77272458e7a8906d871b241b5385bbd0f783d861 Mon Sep 17 00:00:00 2001 From: deva Date: Thu, 30 Jul 2009 08:36:12 +0000 Subject: Removed the term 'course' everywhere, and replaced it by 'template'. This reduced/simplified the Template class structure a bit. --- server/src/transactionparser.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'server/src/transactionparser.cc') diff --git a/server/src/transactionparser.cc b/server/src/transactionparser.cc index 3135929..d4f7c76 100644 --- a/server/src/transactionparser.cc +++ b/server/src/transactionparser.cc @@ -78,14 +78,14 @@ void TransactionParser::startTag(std::string name, std::map< std::string, std::s if(name == "request") { Request r; - r.course = attributes["course"]; + r.templ = attributes["template"]; r.macro = attributes["macro"]; transaction->requests.push_back(r); } if(name == "commit") { Commit c; - c.course = attributes["course"]; + c.templ = attributes["template"]; c.macro = attributes["macro"]; c.version = attributes["version"]; transaction->commits.push_back(c); @@ -124,14 +124,14 @@ static char xml_minimal[] = static char xml_request[] = "\n" "\n" -" \n" +" \n" "\n" ; static char xml_commit[] = "\n" "\n" -" \n" +" \n" " \n" " \n" " \n" @@ -142,7 +142,7 @@ static char xml_commit[] = static char xml_fail[] = "\n" "\n" -" \n" +" \n" "\n" ; -- cgit v1.2.3