openrat-cms

# OpenRat Content Management System
git clone http://git.code.weiherhei.de/openrat-cms.git
Log | Files | Refs

diff.tpl.src.xml (1517B)


      1 <output xmlns="http://www.openrat.de/template" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      2 	xsi:schemaLocation="http://www.openrat.de/template ../../../../../../template-engine/components/template.xsd">
      3 	<table>
      4 		<row>
      5 			<column></column>
      6 			<column>
      7 				<text type="emphatic" text="GLOBAL_COMPARE"></text>
      8 				<text raw="_"></text>
      9 				<date date="var:date_left"></date>
     10 			</column>
     11 			<column></column>
     12 			<column>
     13 				<text type="emphatic" text="GLOBAL_WITH"></text>
     14 				<text raw="_"></text>
     15 				<date date="var:date_right"></date>
     16 			</column>
     17 		</row>
     18 		<row>
     19 			<column colspan="4"></column>
     20 		</row>
     21 		<list list="diff" extract="true">
     22 			<row class="diff">
     23 				<if present="left">
     24 					<column width="5%" class="line">
     25 						<text value="arrayvar:left:line" type="tt"></text>
     26 					</column>
     27 					<column width="45%" class="arrayvar:left:type">
     28 						<text value="arrayvar:left:text"></text>
     29 					</column>
     30 				</if>
     31 				<else><column colspan="2" class="help" width="50%"><text raw="_"></text></column></else>
     32 				<if present="right">
     33 					<column width="5%" class="line">
     34 						<text value="arrayvar:right:line" type="tt"></text>
     35 					</column>
     36 					<column width="45%" class="arrayvar:right:type">
     37 						<text value="arrayvar:right:text"></text>
     38 					</column>
     39 				</if>
     40 				<else><column colspan="2" class="help" width="50%"><text raw="_"></text></column></else>
     41 			</row>
     42 			<set var="left"></set>
     43 			<set var="right"></set>
     44 		</list>
     45 	</table>
     46 	<button text="BUTTON_BACK"></button>
     47 </output>