diff --git a/Theme/Backend/qa-question.tpl.php b/Theme/Backend/qa-question.tpl.php
index 9ec63fa..9261a97 100755
--- a/Theme/Backend/qa-question.tpl.php
+++ b/Theme/Backend/qa-question.tpl.php
@@ -37,7 +37,7 @@ echo $this->getData('nav')->render();
{
"key": 1, "listener": "click", "action": [
{"key": 1, "type": "event.prevent"},
- {"key": 2, "type": "message.request", "uri": "= UriFactory::build('{/base}/{/lang}/{/api}qa/question/vote?id=' . $question->getId());?>&type=1", "method": "PUT", "request_type": "json"}
+ {"key": 2, "type": "message.request", "uri": "= UriFactory::build('{/api}qa/question/vote?id=' . $question->getId());?>&type=1", "method": "PUT", "request_type": "json"}
]
}
]' href="#">
@@ -49,7 +49,7 @@ echo $this->getData('nav')->render();
{
"key": 1, "listener": "click", "action": [
{"key": 1, "type": "event.prevent"},
- {"key": 2, "type": "message.request", "uri": "= UriFactory::build('{/base}/{/lang}/{/api}qa/question/vote?id=' . $question->getId());?>&type=-1", "method": "PUT", "request_type": "json"}
+ {"key": 2, "type": "message.request", "uri": "= UriFactory::build('{/api}qa/question/vote?id=' . $question->getId());?>&type=-1", "method": "PUT", "request_type": "json"}
]
}
]' href="#">
@@ -75,17 +75,17 @@ echo $this->getData('nav')->render();
getMedia(); foreach ($files as $file) : ?>
- = $file->name; ?>
+ = $file->name; ?>
-
+
+
@@ -105,11 +105,11 @@ echo $this->getData('nav')->render();
{
"key": 1, "listener": "click", "action": [
{"key": 1, "type": "event.prevent"},
- {"key": 2, "type": "message.request", "uri": "= UriFactory::build('{/base}/{/lang}/{/api}qa/answer/vote?id=' . $answer->getId());?>&type=1", "method": "PUT", "request_type": "json"}
+ {"key": 2, "type": "message.request", "uri": "= UriFactory::build('{/api}qa/answer/vote?id=' . $answer->getId());?>&type=1", "method": "PUT", "request_type": "json"}
]
}
]' href="#">
-
+
= $answer->getVoteScore(); ?>
Score
@@ -117,11 +117,11 @@ echo $this->getData('nav')->render();
{
"key": 1, "listener": "click", "action": [
{"key": 1, "type": "event.prevent"},
- {"key": 2, "type": "message.request", "uri": "= UriFactory::build('{/base}/{/lang}/{/api}qa/answer/vote?id=' . $answer->getId());?>&type=-1", "method": "PUT", "request_type": "json"}
+ {"key": 2, "type": "message.request", "uri": "= UriFactory::build('{/api}qa/answer/vote?id=' . $answer->getId());?>&type=-1", "method": "PUT", "request_type": "json"}
]
}
]' href="#">
-
+