|
@@ -83,11 +83,10 @@ $(function() {
|
|
|
});
|
|
|
|
|
|
var icons = {
|
|
|
- header: "ui-icon-circle-arrow-e",
|
|
|
- headerSelected: "ui-icon-circle-arrow-s"
|
|
|
+ header: "ui-icon-circle-arrow-e",
|
|
|
+ headerSelected: "ui-icon-circle-arrow-s"
|
|
|
};
|
|
|
|
|
|
-
|
|
|
|
|
|
$("div > div > div > .edition > div > a").click(function() {
|
|
|
|
|
@@ -103,7 +102,7 @@ $(function() {
|
|
|
autoHeight: false,
|
|
|
active: false,
|
|
|
collapsible: true,
|
|
|
- header: ".header_operations",
|
|
|
+ header: ".header_operations"
|
|
|
})
|
|
|
|
|
|
.sortable({
|
|
@@ -189,18 +188,18 @@ if (!$inATest) {
|
|
|
|
|
|
$questionName = Display::tag('div', '<a href="#" title = "'.$title.'">'.$move.' '.Text::cut($title, 42).'</a>', array('style'=>$styleQuestion));
|
|
|
|
|
|
-
|
|
|
+
|
|
|
list($typeImg, $typeExpl) = $objQuestionTmp->get_type_icon_html();
|
|
|
|
|
|
$question_media = null;
|
|
|
if (!empty($objQuestionTmp->parent_id)) {
|
|
|
$objQuestionMedia = Question::read($objQuestionTmp->parent_id);
|
|
|
- $question_media = Display::label($objQuestionMedia->question, 'info');
|
|
|
+ $question_media = ' '.Display::label($objQuestionMedia->question, 'success');
|
|
|
}
|
|
|
|
|
|
$questionType = Display::tag('div', Display::return_icon($typeImg, $typeExpl, array(), ICON_SIZE_MEDIUM), array('style' => $styleType));
|
|
|
|
|
|
-
|
|
|
+
|
|
|
$category_labels = Testcategory::return_category_labels($objQuestionTmp->category_list, $category_list);
|
|
|
|
|
|
if (empty($category_labels)) {
|
|
@@ -208,7 +207,7 @@ if (!$inATest) {
|
|
|
}
|
|
|
$questionCategory = Display::tag('div', '<a href="#" style="padding:0px; margin:0px;">'.$category_labels.$question_media.'</a>', array('style'=>$styleCat));
|
|
|
|
|
|
-
|
|
|
+
|
|
|
$txtQuestionLevel = $objQuestionTmp->level;
|
|
|
if (empty($objQuestionTmp->level)) {
|
|
|
$txtQuestionLevel = '-';
|
|
@@ -222,7 +221,6 @@ if (!$inATest) {
|
|
|
echo '<div class="header_operations">';
|
|
|
echo $questionName;
|
|
|
echo $questionType;
|
|
|
-
|
|
|
echo $questionCategory;
|
|
|
echo $questionLevel;
|
|
|
echo $questionScore;
|