Location: PHPKode > projects > AContent > updater/include/patch_xml_template.inc.php
<?php
/************************************************************************/
/* AContent                                                             */
/************************************************************************/
/* Copyright (c) 2010                                                   */
/* Inclusive Design Institute                                           */
/*                                                                      */
/* This program is free software. You can redistribute it and/or        */
/* modify it under the terms of the GNU General Public License          */
/* as published by the Free Software Foundation.                        */
/************************************************************************/

$patch_xml =
'<?xml version="1.0" encoding="ISO-8859-1"?> 
<patch>
	<system_patch_id>{system_patch_id}</system_patch_id>
	<applied_version>{APPLIED_VERSION}</applied_version>
	<description>{DESCRIPTION}</description>
	<dependent_patches>
{DEPENDENT_PATCHES}
	</dependent_patches>

	<sql>
{SQL}
	</sql>

	<files>
{FILES}
	</files>
</patch>';

$dependent_patch_xml = 
'		<dependent_patch>{DEPENDENT_PATCH}</dependent_patch>
';	

$patch_file_xml = 
'		<file>
			<action>{ACTION}</action>
			<name>{NAME}</name>
			<location>{LOCATION}</location>
{ACTION_DETAILS}
		</file>

';	

$patch_action_detail_xml = 
'			<action_detail>
				<type>{TYPE}</type>
				<code_from>{CODE_FROM}</code_from>
				<code_to>{CODE_TO}</code_to>
			</action_detail>

';
?>
Return current item: AContent