changed git call from https to git readonly
[atutor.git] / mods / patcher / include / patch_xml_template.inc.php
1 <?php\r
2 \r
3 $patch_xml =\r
4 '<?xml version="1.0" encoding="ISO-8859-1"?> \r
5 <patch>\r
6         <atutor_patch_id>{ATUTOR_PATCH_ID}</atutor_patch_id>\r
7         <applied_version>{APPLIED_VERSION}</applied_version>\r
8         <description>{DESCRIPTION}</description>\r
9         <dependent_patches>\r
10 {DEPENDENT_PATCHES}\r
11         </dependent_patches>\r
12 \r
13         <sql>\r
14 {SQL}\r
15         </sql>\r
16 \r
17         <files>\r
18 {FILES}\r
19         </files>\r
20 </patch>';\r
21 \r
22 $dependent_patch_xml = \r
23 '               <dependent_patch>{DEPENDENT_PATCH}</dependent_patch>\r
24 ';      \r
25 \r
26 $patch_file_xml = \r
27 '               <file>\r
28                         <action>{ACTION}</action>\r
29                         <name>{NAME}</name>\r
30                         <location>{LOCATION}</location>\r
31 {ACTION_DETAILS}\r
32                 </file>\r
33 \r
34 ';      \r
35 \r
36 $patch_action_detail_xml = \r
37 '                       <action_detail>\r
38                                 <type>{TYPE}</type>\r
39                                 <code_from>{CODE_FROM}</code_from>\r
40                                 <code_to>{CODE_TO}</code_to>\r
41                         </action_detail>\r
42 \r
43 ';\r
44 ?>\r