Automatic installer.php lang files by installer_builder (20070726)
[moodle-linuxchix.git] / question / format / qti2 / templates / extendedText_simpleEssay.tpl
blob76d7d23ee26afdf992ced7d35e4aa057ea757797
1 {if $courselevelexport}<?xml version="1.0" encoding="UTF-8"?>{/if}
2 <assessmentItem xmlns="http://www.imsglobal.org/xsd/imsqti_item_v2p0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.imsglobal.org/xsd/imsqti_item_v2p0 ./imsqti_item_v2p0.xsd" identifier="{$assessmentitemidentifier}" title="{$assessmentitemtitle}" adaptive="false" timeDependent="false">
3         <responseDeclaration identifier="{$questionid}" cardinality="single" baseType="string"/>
4         <outcomeDeclaration identifier="SCORE" cardinality="single" baseType="integer"/>
5         <itemBody>
6             <div class="assesmentItemBody">
7                 <p>{$questionText}</p>
8                 </div>
9                 <div class="interactive.extendedText">
10                         <extendedTextInteraction responseIdentifier="{$questionid}" expectedLength="600">
11                         </extendedTextInteraction>
12                 </div>
13         {if $question_has_image == 1}
14                 <div class="media">
15             {if $hassize == 1}
16                         <object type="{$question->mediamimetype}" data="{$question->mediaurl}" width="{$question->mediax}" height="{$question->mediay}" />
17                 {else}
18                         <object type="{$question->mediamimetype}" data="{$question->mediaurl}" />     
19                 {/if}
20                 </div>
21         {/if}
22         </itemBody>
23 {if $question->feedback != ''}
24         <modalFeedback outcomeIdentifier="FEEDBACK" identifier="{$questionid}" showHide="hide">{$question->feedback}</modalFeedback>
25         <modalFeedback outcomeIdentifier="FEEDBACK" identifier="{$questionid}" showHide="show">{$question->feedback}</modalFeedback>
26 {/if}
27 </assessmentItem>