adding some strings
[moodle-linuxchix.git] / question / format / qti2 / templates / imsmanifest.tpl
blob570d35a7cf6d505f632699fc160d78835f26fb54
1 <?xml version="1.0" encoding="UTF-8"?>
2 <manifest xmlns="http://www.imsglobal.org/xsd/imscp_v1p1" xmlns:imsmd="http://www.imsglobal.org/xsd/imsmd_v1p2" xmlns:imsqti="http://www.imsglobal.org/xsd/imsqti_item_v2p0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" identifier="{$manifestidentifier}" xsi:schemaLocation="http://www.imsglobal.org/xsd/imscp_v1p1 imscp_v1p1.xsd   http://www.imsglobal.org/xsd/imsmd_v1p2 imsmd_v1p2p2.xsd  http://www.imsglobal.org/xsd/imsqti_item_v2p0 ./imsqti_item_v2p0.xsd">
3         <metadata>
4                 <schema>ADL SCORM</schema>
5                 <schemaversion>1.2</schemaversion>
6                 <lom xmlns="http://www.imsglobal.org/xsd/imsmd_v1p2" 
7                         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
8                         xsi:schemaLocation="http://www.imsglobal.org/xsd/imsmd_v1p2 imsmd_v1p2p2.xsd">
9                 <general>
10                                 <title><langstring xml:lang="{$lang}">{$quiztitle}</langstring></title>
11                                 <description><langstring xml:lang="{$lang}">{$quizinfo}</langstring></description>
12                                 <keyword><langstring xml:lang="{$lang}">{$quizkeywords}</langstring></keyword>
13                         </general>
14                 </lom>
15                 {if $quiz_level_export == 1}
16                 <imsqti:var id="submiturl">{$submiturl}</imsqti:var>
17                 <imsqti:var id="userid">{$userid}</imsqti:var>
18                 <imsqti:var id="username">{$username}</imsqti:var>
19                 <imsqti:var id="id">{$quiz->id}</imsqti:var>
20                 <imsqti:var id="course">{$quiz->course}</imsqti:var>
21                 <imsqti:var id="timeopen">{$quiztimeopen}</imsqti:var>
22                 <imsqti:var id="timeclose">{$quiztimeclose}</imsqti:var>
23                 <imsqti:var id="timelimit">{$quiz->timelimit}</imsqti:var>
24                 <imsqti:var id="shufflequestions">{$quiz->shufflequestions}</imsqti:var>
25                 <imsqti:var id="shuffleanswers">{$quiz->shuffleanswers}</imsqti:var>
26                 <imsqti:var id="attempts">{$quiz->attempts}</imsqti:var>
27                 <imsqti:var id="attemptbuildsonlast">{$quiz->attemptonlast}</imsqti:var>
28                 <imsqti:var id="grademethod">{$grademethod}</imsqti:var>
29                 <imsqti:var id="feedback">{$quiz->feedback}</imsqti:var>
30                 <imsqti:var id="feedbackcorrectanswers">{$quiz->correctanswers}</imsqti:var>
31                 <imsqti:var id="maxgrade">{$quiz->grade}</imsqti:var>
32                 <imsqti:var id="rawpointspossible">{$quiz->sumgrades}</imsqti:var>
33                 <imsqti:var id="password">{$quiz->password}</imsqti:var>
34                 <imsqti:var id="subnet">{$quiz->subnet}</imsqti:var>
35                 <imsqti:var id="coursefullname">{$course->fullname}</imsqti:var>
36                 <imsqti:var id="courseshortname">{$course->shortname}</imsqti:var>
37                 {/if}
38         </metadata>
39         <organizations/>
40         <resources>
41         {section name=question loop=$questions}
42                 <resource identifier="category{$questions[question].category}-question{$questions[question].id}" type="imsqti_item_xmlv2p0" {if $externalfiles == 1}href="./category{$questions[question].category}-question{$questions[question].id}.xml"{/if}>
43                         <metadata>
44                                 <schema>IMS QTI Item</schema>
45                                 <schemaversion>2.0</schemaversion>
46                                 <imsmd:lom>
47                                         <imsmd:general>
48                                                 <imsmd:identifier>category{$questions[question].category}-question{$questions[question].id}</imsmd:identifier>
49                                                 <imsmd:title>
50                                                         <imsmd:langstring xml:lang="{$lang}">{$questions[question].name}</imsmd:langstring>
51                                                 </imsmd:title>
52                                                 <imsmd:description>
53                                                         <imsmd:langstring xml:lang="en">Question {$questions[question].id} from category {$questions[question].category}</imsmd:langstring>
54                                                 </imsmd:description>
55                                         </imsmd:general>
56                                         <imsmd:lifecycle>
57                                                 <imsmd:version>
58                                                         <imsmd:langstring xml:lang="en">1.0</imsmd:langstring>
59                                                 </imsmd:version>
60                                                 <imsmd:status>
61                                                         <imsmd:source>
62                                                                 <imsmd:langstring xml:lang="en">LOMv1.0</imsmd:langstring>
63                                                         </imsmd:source>
64                                                         <imsmd:value>
65                                                                 <imsmd:langstring xml:lang="en">Draft</imsmd:langstring>
66                                                         </imsmd:value>
67                                                 </imsmd:status>
68                                         </imsmd:lifecycle>
69                                 </imsmd:lom>
70                                 <imsqti:qtiMetadata>
71                                         <imsqti:timeDependent>false</imsqti:timeDependent>
72                                         <imsqti:interactionType>{$questions[question].qtiinteractiontype}</imsqti:interactionType>
73                                         <imsqti:canComputerScore>{$questions[question].qtiscoreable}</imsqti:canComputerScore>
74                                         <imsqti:feedbackType>nonadaptive</imsqti:feedbackType>
75                                         <imsqti:solutionAvailable>{$questions[question].qtisolutionavailable}</imsqti:solutionAvailable>
76                                 </imsqti:qtiMetadata>
77                         </metadata>
78                         {if $questions[question].image != ''}
79                         <file href="{$questions[question].mediaurl}" />
80                         {/if}
81                         {$questions[question].exporttext}
82                 </resource>
83                 {/section}
84         </resources>
85 </manifest>