moved code up one level to eliminate the docs subdirectory
[acontent.git] / updater / include / patch_xml_template.inc.php
1 <?php\r
2 /************************************************************************/\r
3 /* AContent                                                             */\r
4 /************************************************************************/\r
5 /* Copyright (c) 2010                                                   */\r
6 /* Inclusive Design Institute                                           */\r
7 /*                                                                      */\r
8 /* This program is free software. You can redistribute it and/or        */\r
9 /* modify it under the terms of the GNU General Public License          */\r
10 /* as published by the Free Software Foundation.                        */\r
11 /************************************************************************/\r
12 \r
13 $patch_xml =\r
14 '<?xml version="1.0" encoding="ISO-8859-1"?> \r
15 <patch>\r
16         <system_patch_id>{system_patch_id}</system_patch_id>\r
17         <applied_version>{APPLIED_VERSION}</applied_version>\r
18         <description>{DESCRIPTION}</description>\r
19         <dependent_patches>\r
20 {DEPENDENT_PATCHES}\r
21         </dependent_patches>\r
22 \r
23         <sql>\r
24 {SQL}\r
25         </sql>\r
26 \r
27         <files>\r
28 {FILES}\r
29         </files>\r
30 </patch>';\r
31 \r
32 $dependent_patch_xml = \r
33 '               <dependent_patch>{DEPENDENT_PATCH}</dependent_patch>\r
34 ';      \r
35 \r
36 $patch_file_xml = \r
37 '               <file>\r
38                         <action>{ACTION}</action>\r
39                         <name>{NAME}</name>\r
40                         <location>{LOCATION}</location>\r
41 {ACTION_DETAILS}\r
42                 </file>\r
43 \r
44 ';      \r
45 \r
46 $patch_action_detail_xml = \r
47 '                       <action_detail>\r
48                                 <type>{TYPE}</type>\r
49                                 <code_from>{CODE_FROM}</code_from>\r
50                                 <code_to>{CODE_TO}</code_to>\r
51                         </action_detail>\r
52 \r
53 ';\r
54 ?>\r