$editstring="<a title=\"$stredit\" href=\"".
$questionurl->out(false, array('id'=>$question->id)).
"\"><img src=\"$CFG->pixpath/t/edit.gif\" alt=\"".
- $stredit."\" /> </a>";
+ $stredit."\" /></a>";
} elseif (question_has_capability_on($question, 'view',
$question->category)){
echo "$reordercheckboxlabel".
$strpreview = get_string('previewquestion', 'quiz');
$strpreviewlabel="";
if($label){
- $strpreviewlabel = " ".get_string('preview', 'quiz');
+ $strpreviewlabel = get_string('preview', 'quiz');
}
$quizorcourseid = $quiz->id?('&quizid=' . $quiz->id):('&courseid=' .$COURSE->id);
return link_to_popup_window('/question/preview.php?id=' . $question->id . $quizorcourseid, 'questionpreview',
#mod-quiz-edit .questioncontentcontainer div.randomquestionqlist ul{
color:#555;
}
+#mod-quiz-edit div.question div.content div.singlequestion .questionpreview{
+ background-color:#eee;
+}
+
+#mod-quiz-edit div.question div.content .questionpreview a{
+ background-color:#eee;
+}
#mod-quiz-edit .questioncontentcontainer div.randomquestionqlist .totalquestionsinrandomqcategory{
color:#000;
}
#mod-quiz-review #middle-column {
height: 1%;
}
-#mod-quiz-edit div.question div.content .questionname,
-#categoryquestions .questionname{
+#mod-quiz-edit div.question div.content .questiontext,
+#mod-quiz-edit #categoryquestions .questionname{
/*ie6 shows this as an arrow if this is not specified*/
cursor: pointer;
}
+#mod-quiz-edit div.question div.content .questionname,
#mod-quiz-edit #categoryquestions .questiontext{
/*ie6 shows this as an arrow if this is not specified*/
cursor: pointer;
#mod-quiz-edit div.question div.content .questionname,#categoryquestions .questionname{
width:20%;
}
+#mod-quiz-edit .editq div.question div.content .randomquestioncategory a{
+ width:40%;
+}
+#mod-quiz-edit .reorder .questioncontentcontainer .randomquestioncategory label{
+ width: 35%;
+}
\ No newline at end of file
position:relative;
zoom:1;
padding-left:0.3em;
- max-width:50%;
+ max-width:40%;
overflow:hidden;
white-space:nowrap;
text-overflow:ellipsis;
margin-left:0.3em;
padding-left:0.2em;
padding-right:0.2em;
- background-color:#eee;
}
#mod-quiz-edit div.question div.content div.quiz_randomquestion .questionpreview{
margin:0;
padding:0;
}
+#mod-quiz-edit .reorder .questioncontentcontainer .quiz_randomquestion{
+
+ position:relative;
+}
+
+#mod-quiz-edit .reorder div.question div.content div.quiz_randomquestion{
+ line-height:1em;
+}
+
+#mod-quiz-edit .reorder .questioncontentcontainer .randomquestioncategory label{
+ max-width: 25%;
+ overflow:hidden;
+ padding-left:0.3em;
+ white-space:nowrap;
+ display:inline-block;
+}
+#mod-quiz-edit .reorder .questioncontentcontainer .randomquestionfromcategory label{
+ overflow:hidden;
+ white-space:nowrap;
+ display:inline-block;
+}
+
+#mod-quiz-edit .editq div.question div.content .randomquestioncategory{
+ position:relative;
+ display:inline-block;
+
+}
+
+#mod-quiz-edit .editq div.question div.content .randomquestioncategory a{
+ display:block;
+ max-width:15em;
+ overflow: hidden;
+ text-overflow:ellipsis;
+ -o-text-overflow:ellipsis;
+ white-space: nowrap;
+ float:left;
+ position:relative;
+}
+#mod-quiz-edit .editq div.question div.content .questionpreview{
+ float:left;
+}
+#mod-quiz-edit .editq div.question div.content .questionpreview a{
+ font-weight:normal;
+ margin-left:0em;
+ display:inline;
+ float:none;
+}
+#mod-quiz-edit .editq div.question div.content .randomquestioncategory .questionpreview img{
+ padding-right:0.3em;
+}
+
+#mod-quiz-edit .questioncontentcontainer div.randomquestionqlist ul li img{
+ padding-right:0.3em;
+}
#mod-quiz-edit .reorder .questioncontentcontainer .randomquestioncategory,