]> git.mxchange.org Git - shipsimu.git/blobdiff - application/shipsimu/templates/game/contract/base_contract.xml
Renamed 'ship-simu' to 'shipsimu' + added 'core' and symlink to core/inc
[shipsimu.git] / application / shipsimu / templates / game / contract / base_contract.xml
diff --git a/application/shipsimu/templates/game/contract/base_contract.xml b/application/shipsimu/templates/game/contract/base_contract.xml
new file mode 100644 (file)
index 0000000..bb59563
--- /dev/null
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+A general contract
+
+@author                Roland Haeder <webmaster@ship-simu.org>
+@version       0.0.0
+@copyright     Copyright (c) 2007, 2008 Roland Haeder, 2009 Ship-Simu Developer Team
+@license       GNU GPL 3.0 or any newer version
+@link          http://www.ship-simu.org
+
+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, either version 3 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>
+//-->
+<contract>
+       <!-- Parties of a contract are listed here. At least two, of course. //-->
+       <contract-party-list party-count="{?coutract_party_count?}">
+               <!-- All contract parties are enlisted with this tag. //-->
+               <contract-party>
+                       <!-- The signer's data, for signer_type please refer to signer_types.xml //-->
+                       <signer id="{?signer_id?}" type="{?signer_type?}" />
+               </contract-party>
+       </contract-party-list>
+       <!-- General contract data like data of signature or cancelation //-->
+       <contract-data id="{?id?}" type="{?type?}">
+               <!-- When this contract was signed. //-->
+               <signed timestamp="{?signed_timestamp?}" />
+               <!-- And when it was canceled. //-->
+               <canceled timestamp="{?canceled_timestamp?}" />
+               <!-- A short reason for cancelation. //-->
+               <cancelation-reason>
+                       <![CDATA[{?cancelation_reason?}]]>
+               </cancelation-reason>
+               <!-- A free-text description. //-->
+               <description>
+                       <![CDATA[{?description?}]]>
+               </description>
+       </contract-data>
+       <!-- The subject-(matter) of a contract. If this changes, the contract
+            needs to be renewed. //-->
+       <contract-subject>
+               <!-- @TODO We need to make this more XML than free text. //-->
+               <![CDATA[{?subject?}]]>
+       </contract-subject>
+</contract>