openrat-cms

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

show.tpl.src.xml (1344B)


      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>
      6 				<text key="name"></text>
      7 			</column>
      8 			<column>
      9 				<text raw=""></text>
     10 			</column>
     11 			<column>
     12 				<text raw=""></text>
     13 			</column>
     14 		</row>
     15 		<list list="el" extract="true">
     16 			<row class="data">
     17 				<column class="clickable">
     18 
     19 					<link type="open" name="var:name" action="model" id="var:id">
     20 						<image action="model"></image>
     21 						<text var="name" maxlength="25"></text>
     22 					</link>
     23 				</column>
     24 
     25 				<if false="var:is_default">
     26 					<column class="clickable">
     27 						<if present="id">
     28 							<link type="post" action="model" subaction="setdefault" id="var:id">
     29 								<text text="GLOBAL_make_default"></text>
     30 							</link>
     31 						</if>
     32 					</column>
     33 				</if>
     34 				<else>
     35 					<column>
     36 						<text text="GLOBAL_is_default" type="emphatic" />
     37 					</column>
     38 				</else>
     39 			</row>
     40 			<set var="select_url"></set>
     41 			<set var="default_url"></set>
     42 		</list>
     43 		<row class="data">
     44 			<column colspan="2" class="clickable">
     45 				<link type="dialog" subaction="add">
     46 					<image method="add" />
     47 					<text text="new" />
     48 				</link>
     49 			</column>
     50 		</row>
     51 	</table>
     52 </output>