From: Roland Häder Date: Wed, 30 Jan 2013 21:23:06 +0000 (+0000) Subject: Removed answer-status from XML templates as it will become generic X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=beae377fbf962c602d5a505e53d35dad6d7c211c;p=hub.git Removed answer-status from XML templates as it will become generic --- diff --git a/application/hub/main/filter/tags/answer/class_PackageRequestNodeListAnswerTagFilter.php b/application/hub/main/filter/tags/answer/class_PackageRequestNodeListAnswerTagFilter.php index bca37da04..a271bde08 100644 --- a/application/hub/main/filter/tags/answer/class_PackageRequestNodeListAnswerTagFilter.php +++ b/application/hub/main/filter/tags/answer/class_PackageRequestNodeListAnswerTagFilter.php @@ -33,8 +33,9 @@ class PackageRequestNodeListAnswerTagFilter extends BaseNodeFilter implements Fi // Init array $this->dataXmlNodes = array( - XmlRequestNodeListAnswerTemplateEngine::REQUEST_DATA_SESSION_ID => '', - XmlRequestNodeListAnswerTemplateEngine::REQUEST_DATA_NODE_LIST => '', + XmlRequestNodeListAnswerTemplateEngine::REQUEST_DATA_SESSION_ID => '', + XmlRequestNodeListAnswerTemplateEngine::REQUEST_DATA_NODE_LIST => '', + XmlRequestNodeListAnswerTemplateEngine::REQUEST_DATA_ANSWER_STATUS => '', ); } diff --git a/application/hub/main/template/answer/requests/class_XmlRequestNodeListAnswerTemplateEngine.php b/application/hub/main/template/answer/requests/class_XmlRequestNodeListAnswerTemplateEngine.php index ec365a4aa..ea2f1ea75 100644 --- a/application/hub/main/template/answer/requests/class_XmlRequestNodeListAnswerTemplateEngine.php +++ b/application/hub/main/template/answer/requests/class_XmlRequestNodeListAnswerTemplateEngine.php @@ -24,8 +24,9 @@ */ class XmlRequestNodeListAnswerTemplateEngine extends BaseXmlTemplateEngine implements CompileableTemplate, Registerable { // Constants for array elements - const REQUEST_DATA_SESSION_ID = 'session-id'; - const REQUEST_DATA_NODE_LIST = 'node-list'; + const REQUEST_DATA_SESSION_ID = 'session-id'; + const REQUEST_DATA_NODE_LIST = 'node-list'; + const REQUEST_DATA_ANSWER_STATUS = 'answer-status'; /** * Protected constructor diff --git a/application/hub/templates/xml/answer/announcement/announcement_answer.xml b/application/hub/templates/xml/answer/announcement/announcement_answer.xml index 706869311..36c790182 100644 --- a/application/hub/templates/xml/answer/announcement/announcement_answer.xml +++ b/application/hub/templates/xml/answer/announcement/announcement_answer.xml @@ -70,9 +70,4 @@ along with this program. If not, see //--> {?your_session_id?} - - {?answer_status?}