openrat-cms

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

info.tpl.src.xml (3745B)


      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 	<form>
      4 		<group>
      5 			<part class="line">
      6 				<part class="label">
      7 					<text text="global_name"></text>
      8 				</part>
      9 				<part class="input">
     10 					<text var="name" class="name" />
     11 				</part>
     12 			</part>
     13 			<part class="line">
     14 				<part class="label">
     15 					<text text="global_filename"></text>
     16 				</part>
     17 				<part class="input">
     18 					<text var="filename" class="filename" />
     19 				</part>
     20 			</part>
     21 			<part class="line">
     22 				<part class="label">
     23 					<text text="file_extension"></text>
     24 				</part>
     25 				<part class="input">
     26 					<text var="extension" class="extension" />
     27 				</part>
     28 			</part>
     29 			<part class="line">
     30 				<part class="label">
     31 					<text text="global_description"></text>
     32 				</part>
     33 				<part class="input">
     34 					<text var="description" />
     35 				</part>
     36 			</part>
     37 		</group>
     38 
     39 		<group title="message:additional_info">
     40 			<part class="line">
     41 				<part class="label">
     42 					<label for="full_filename">
     43 						<text text="global_full_filename"></text>
     44 					</label>
     45 				</part>
     46 				<part class="input">
     47 					<text var="full_filename"></text>
     48 				</part>
     49 			</part>
     50 			<part class="line">
     51 				<part class="label">
     52 					<label for="size">
     53 						<text text="FILE_SIZE"></text>
     54 					</label>
     55 				</part>
     56 				<part class="input">
     57 				</part>
     58 				<text var="size"></text>
     59 			</part>
     60 			<part class="line">
     61 				<part class="label">
     62 					<label for="mimetype">
     63 						<text text="FILE_mimetype"></text>
     64 					</label>
     65 				</part>
     66 				<part class="input">
     67 					<text var="mimetype"></text>
     68 					<newline></newline>
     69 					<link class="action" action="file" subaction="size">
     70 						<text key="menu_file_size"></text>
     71 					</link>
     72 				</part>
     73 			</part>
     74 			<part class="line">
     75 				<part class="label">
     76 					<text text="message:id"></text>
     77 				</part>
     78 				<part class="input">
     79 					<text var="objectid"></text>
     80 				</part>
     81 			</part>
     82 			<if present="cache_filename">
     83 				<part class="line">
     84 					<part class="label">
     85 						<label for="cache_filename">
     86 							<text text="CACHE_FILENAME"></text>
     87 						</label>
     88 					</part>
     89 					<part class="input">
     90 						<text var="cache_filename"></text>
     91 						<newline></newline>
     92 						<image icon="el_date"></image>
     93 						<date date="var:cache_filemtime"></date>
     94 					</part>
     95 				</part>
     96 			</if>
     97 			<part class="line">
     98 				<part class="label">
     99 					<label for="pages">
    100 						<text text="FILE_PAGES"></text>
    101 					</label>
    102 				</part>
    103 				<part class="input">
    104 					<table>
    105 						<list list="pages" extract="true">
    106 							<row>
    107 								<column>
    108 									<link url="var:url" target="cms_main">
    109 										<image type="page"></image>
    110 										<text var="name"></text>
    111 									</link>
    112 								</column>
    113 							</row>
    114 						</list>
    115 					</table>
    116 					<if empty="pages">
    117 						<text text="GLOBAL_NOT_FOUND"></text>
    118 					</if>
    119 				</part>
    120 			</part>
    121 		</group>
    122 		<group title="message:prop_userinfo">
    123 			<part class="line">
    124 				<part class="label">
    125 					<text text="global_created"></text>
    126 				</part>
    127 				<part class="input">
    128 					<image elementtype="date"></image>
    129 					<date date="var:create_date"></date>
    130 					<newline></newline>
    131 					<image action="user"></image>
    132 					<user user="var:create_user"></user>
    133 				</part>
    134 			</part>
    135 			<part class="line">
    136 				<part class="label">
    137 					<text text="global_lastchange"></text>
    138 				</part>
    139 				<part class="input">
    140 					<image elementtype="date"></image>
    141 					<date date="var:lastchange_date"></date>
    142 					<newline></newline>
    143 					<image action="user"></image>
    144 					<user user="var:lastchange_user"></user>
    145 				</part>
    146 			</part>
    147 		</group>
    148 	</form>
    149 </output>