openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

edit.tpl.src.xml (2899B)


      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 	<group title="${message:page_pageelements}">
      4 		<table>
      5 			<row header="true">
      6 				<column header="true">
      7 					<image />
      8 					<text value="${message:name}"/>
      9 				</column>
     10 				<column header="true">
     11 					<text value="${message:type}"/>
     12 				</column>
     13 				<column />
     14 			</row>
     15 			<list list="${elements}" extract="true">
     16 				<row class="data">
     17 					<column class="act-clickable">
     18 						<link type="open" id="${id}" name="${name}" action="element">
     19 							<image elementtype="${type}"/>
     20 							<text value="${name}" title="${description}"/>
     21 						</link>
     22 					</column>
     23 					<column>
     24 						<text value="${message:el_${type}}"/>
     25 					</column>
     26 					<column>
     27 						<part class="button,button--active-on-hover,toolbar-icon,row--on-hover">
     28 							<image class="menu-icon" menu="more"/>
     29 							<part class="dropdown,button-value">
     30 								<part
     31 									class="dropdown-entry,act-clickable">
     32 									<link type="open" id="${id}" title="${message:menu_open}" action="element">
     33 										<image method="switch"/>
     34 										<text class="dropdown-text" value="${message:menu_open}"/>
     35 									</link>
     36 								</part>
     37 								<part
     38 									class="dropdown-entry,act-clickable">
     39 									<link type="dialog" id="${id}" title="${message:menu_prop_desc}" action="element"  subaction="prop">
     40 										<image method="prop"/>
     41 										<text class="dropdown-text" value="${message:menu_prop}"/>
     42 									</link>
     43 								</part>
     44 								<part
     45 									class="dropdown-entry,act-clickable">
     46 									<link type="dialog" id="${id}" title="${message:menu_advanced_desc}" action="element"  subaction="advanced">
     47 										<image method="advanced"/>
     48 										<text class="dropdown-text" value="${message:menu_advanced}"/>
     49 									</link>
     50 								</part>
     51 							</part>
     52 						</part>
     53 
     54 					</column>
     55 				</row>
     56 			</list>
     57 			<if empty="${elements}">
     58 				<row>
     59 					<column colspan="2">
     60 						<text value="${message:NOT_FOUND}"/>
     61 					</column>
     62 					<column />
     63 				</row>
     64 			</if>
     65 			<row class="data">
     66 				<column colspan="2" class="act-clickable">
     67 					<link type="dialog" subaction="addel" action="template" id="${templateid}">
     68 						<image method="add"/>
     69 						<text value="${message:menu_template_addel}"/>
     70 					</link>
     71 				</column>
     72 				<column />
     73 			</row>
     74 		</table>
     75 	</group>
     76 
     77 	<list list="${models}" extract="true">
     78 		<group title="${message:model} ${name}">
     79 			<part class="act-clickable">
     80 				<text value="${source}" escape="true" type="code" maxlength="200"/>
     81 				<newline/>
     82 				<link type="edit" subaction="src" var1="modelid" value1="${modelid}" class="form-button">
     83 					<image action="template"/>
     84 					<text value="${message:edit}"/>
     85 				</link>
     86 			</part>
     87 		</group>
     88 	</list>
     89 </output>