openrat-cms

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

show.tpl.src.xml (1395B)


      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 class="headline">
      5 			<column header="true">
      6 				<text key="TYPE"></text>
      7 			</column>
      8 			<column header="true">
      9 				<text key="NAME"></text>
     10 			</column>
     11 			<column header="true">
     12 				<text key="LASTCHANGE"></text>
     13 			</column>
     14 		</row>
     15 		<if present="up_url">
     16 			<row class="data clickable">
     17 				<column>
     18 					<image action="folder" />
     19 				</column>
     20 				<column url="var:up_url">
     21 					<text raw=".."></text>
     22 				</column>
     23 				<column>
     24 					<text raw=""></text>
     25 				</column>
     26 			</row>
     27 		</if>
     28 		<list list="object" extract="true">
     29 			<row class="data">
     30 				<column  id="var:id" name="var:name" action="var:type" title="var:desc" class="var:class">
     31 					<image type="var:icon"></image>
     32 					<text var="name"></text>
     33 					<text raw="_"></text>
     34 				</column>
     35 				<column>
     36 					<date date="var:date"></date>
     37 				</column>
     38 			</row>
     39 		</list>
     40 		<if empty="object">
     41 			<row>
     42 				<column colspan="2">
     43 					<text text="GLOBAL_NOT_FOUND"></text>
     44 				</column>
     45 			</row>
     46 		</if>
     47 	</table>
     48 
     49 	<part class="clickable">
     50 
     51 		<link type="view" action="folder" subaction="create" class="or-link-btn">
     52 			<image action="new" />
     53 			<text key="new"></text>
     54 		</link>
     55 	</part>
     56 </output>