openrat-cms

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

advanced.tpl.src.xml (2823B)


      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 action="folder" subaction="edit">
      4 		<table>
      5 			<row class="headline">
      6 				<column class="help">
      7 					<!-- 
      8 					<text key="SELECT"></text>
      9 				 -->
     10 					<checkbox name="checkall" />
     11 				</column>
     12 				<column class="help">
     13 					<text key="GLOBAL_TYPE"></text>
     14 					<text raw="_/_"></text>
     15 					<text key="GLOBAL_NAME"></text>
     16 				</column>
     17 			</row>
     18 			<list list="object" extract="true">
     19 				<row class="data">
     20 					<column width="1%">
     21 						<if true="var:writable">
     22 							<checkbox name="var:id"></checkbox>
     23 						</if>
     24 						<if false="writable">
     25 							<text raw="_"></text>
     26 						</if>
     27 					</column>
     28 					<column class="clickable">
     29 						<label for="var:id">
     30 							<link type="open" name="var:name" action="var:type" id="var:objectid">
     31 								<image action="var:icon"></image>
     32 								<text var="name" maxlength="40"></text>
     33 								<text raw="_"></text>
     34 							</link>
     35 						</label>
     36 					</column>
     37 				</row>
     38 			</list>
     39 			<if empty="object">
     40 				<row>
     41 					<column colspan="2">
     42 						<text text="GLOBAL_NOT_FOUND"></text>
     43 					</column>
     44 				</row>
     45 			</if>
     46 
     47 			<row class="data">
     48 				<column>
     49 					<text raw="_" />
     50 				</column>
     51 				<column colspan="2" class="clickable">
     52 					<link type="dialog" action="folder" subaction="create">
     53 						<image method="add"></image>
     54 						<text key="menu_folder_create"></text>
     55 					</link>
     56 				</column>
     57 			</row>
     58 		</table>
     59 					<group title="message:options">
     60 						<set var="type" value="var:defaulttype"></set>
     61 						<list list="actionlist" value="actiontype">
     62 							<part class="line">
     63 								<part class="label">
     64 								</part>
     65 								<part class="input">
     66 									<radio name="type" value="var:actiontype"></radio>
     67 									<label for="type" value="var:actiontype">
     68 										<text raw="_"></text>
     69 										<text key="var:actiontype" prefix="FOLDER_SELECT_"></text>
     70 									</label>
     71 								</part>
     72 							</part>
     73 						</list>
     74 							<part class="line">
     75 								<part class="label">
     76 								</part>
     77 								<part class="input">
     78 									<text raw="____" />
     79 									<checkbox name="confirm" required="true" />
     80 									<label for="confirm">
     81 										<text key="CONFIRM_DELETE"></text>
     82 									</label>
     83 								</part>
     84 							</part>
     85 						
     86 						<part class="line">
     87 							<part class="label">
     88 								<text key="FOLDER_SELECT_TARGET_FOLDER" />
     89 							</part>
     90 							<part class="input">
     91 								<selector types="folder" param="targetobjectid" name="var:rootfoldername"
     92 									id="var:rootfolderid" folderid="var:rootfolderid" />
     93 							</part>
     94 						</part>
     95 					</group>
     96 	</form>
     97 	<insert script="mark" inline="true"></insert>
     98 </output>