openrat-cms

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

show.tpl.src.xml (1554B)


      1 <output xmlns="http://www.openrat.de/template" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openrat.de/template ../../../../../../../template_engine/components/template.xsd">
      2   <table>
      3     <row header="true">
      4       <column header="true">
      5         <text value="${message:TYPE}"/>
      6       </column>
      7       <column header="true">
      8         <text value="${message:NAME}"/>
      9       </column>
     10       <column header="true">
     11         <text value="${message:LASTCHANGE}"/>
     12       </column>
     13     </row>
     14     <if present="up_url">
     15       <row class="data,act-clickable">
     16         <column>
     17           <image action="folder"/>
     18         </column>
     19         <column url="${up_url}">
     20           <text value=".."/>
     21         </column>
     22         <column>
     23           <text value=""/>
     24         </column>
     25       </row>
     26     </if>
     27     <list list="${object}" extract="true">
     28       <row class="data">
     29         <column id="${id}" name="${name}" action="${type}" title="${desc}" class="${class}">
     30           <image type="${icon}"/>
     31           <text value="${name}"/>
     32           <text value=" "/>
     33         </column>
     34         <column>
     35           <date date="${date}"/>
     36         </column>
     37       </row>
     38     </list>
     39     <if empty="${object}">
     40       <row>
     41         <column colspan="2">
     42           <text value="${message:NOT_FOUND}"/>
     43         </column>
     44       </row>
     45     </if>
     46   </table>
     47   <part class="act-clickable">
     48     <link type="view" action="folder" subaction="create" class="btn">
     49       <image action="new"/>
     50       <text value="${message:add}"/>
     51     </link>
     52   </part>
     53 </output>