File modules/cms/ui/themes/default/html/views/folder/edit.tpl.src.xml

Last commit: Fri Dec 3 23:27:44 2021 +0100	dankert	New: Only allowed methods are shown in the dropdown menu; Some security enhancements.
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 header="true"> 5 <column header="true" class="table-column-action"> 6 <text value="${message:TYPE}"/> 7 </column> 8 <column header="true" class="table-column-auto"> 9 <text value="${message:NAME}"/> 10 </column> 11 <column header="true" class="-visible-on-desktop,table-column-date"> 12 <text value="${message:LASTCHANGE}"/> 13 </column> 14 <column header="true" class="table-column-action"> 15 </column> 16 </row> 17 <if present="parentid"> 18 <row class="data,act-clickable"> 19 <column> 20 <link type="open" id="${parentid}" name="" action="folder"> 21 <image action="folder"/> 22 </link> 23 </column> 24 <column> 25 <text value=".."/> 26 </column> 27 <column/> 28 <column/> 29 </row> 30 </if> 31 <list list="${object}" extract="true"> 32 <row class="data"> 33 <column class=""> 34 <image action="${icon}"/> 35 </column> 36 <column class="act-clickable"> 37 <link type="open" id="${id}" name="${name}" action="${type}" title="${desc}"> 38 <text value="${name}"/> 39 </link> 40 </column> 41 <column class="-visible-on-desktop"> 42 <date date="${date}"/> 43 </column> 44 <column> 45 <part class="button,button--active-on-hover,toolbar-icon,row--on-hover"> 46 <image class="menu-icon" menu="more"/> 47 <part class="dropdown,button-value"> 48 <part 49 class="dropdown-entry,act-clickable"> 50 <link type="open" id="${id}" title="${message:menu_open}" action="${type}"> 51 <image method="switch"/> 52 <text class="dropdown-text" value="${message:menu_open}"/> 53 </link> 54 </part> 55 <part 56 class="dropdown-entry,act-clickable"> 57 <link type="dialog" id="${id}" title="${message:menu_info_desc}" action="${type}" 58 subaction="info"> 59 <image method="info"/> 60 <text class="dropdown-text" value="${message:menu_info}"/> 61 </link> 62 </part> 63 <part 64 class="dropdown-entry,act-clickable"> 65 <link type="dialog" id="${id}" title="${message:menu_prop_desc}" action="${type}" 66 subaction="prop"> 67 <image method="prop"/> 68 <text class="dropdown-text" value="${message:menu_prop}"/> 69 </link> 70 </part> 71 <part 72 class="dropdown-entry,act-clickable"> 73 <link type="dialog" id="${id}" title="${message:menu_preview_desc}" action="${type}" 74 subaction="preview"> 75 <image method="preview"/> 76 <text class="dropdown-text" value="${message:menu_preview}"/> 77 </link> 78 </part> 79 <part 80 class="dropdown-entry,act-clickable"> 81 <link type="dialog" id="${id}" title="${message:menu_pub_desc}" action="${type}" 82 subaction="pub"> 83 <image method="pub"/> 84 <text class="dropdown-text" value="${message:menu_pub}"/> 85 </link> 86 </part> 87 </part> 88 </part> 89 90 </column> 91 </row> 92 </list> 93 <if empty="${object}"> 94 <row> 95 <column colspan="2"> 96 <text value="${message:NOT_FOUND}"/> 97 </column> 98 </row> 99 </if> 100 </table> 101 102 <if value="${add}"> 103 <part class="act-clickable,button-knob"> 104 <link type="dialog" action="folder" subaction="add"> 105 <image method="new"/> 106 <text value="${message:add}"/> 107 </link> 108 </part> 109 </if> 110 </output>
Download modules/cms/ui/themes/default/html/views/folder/edit.tpl.src.xml
History Fri, 3 Dec 2021 23:27:44 +0100 dankert New: Only allowed methods are shown in the dropdown menu; Some security enhancements. Tue, 9 Mar 2021 08:22:53 +0100 Jan Dankert UI-Fix: Do not show dates on mobiles as they consume too much space. Mon, 8 Mar 2021 15:04:16 +0100 Jan Dankert UI Fixes: Table filter should not hide the table header; open actual object in navigation tree; load dialog name from link text. Mon, 8 Mar 2021 01:24:06 +0100 Jan Dankert New: Action menu on many lists; tables have now a fixed layout Thu, 4 Mar 2021 02:40:48 +0100 Jan Dankert New: Link parent folder. Sat, 31 Oct 2020 02:41:43 +0100 Jan Dankert Fix: Language key "new" is crashing in PHP 5.x. Mon, 26 Oct 2020 21:36:14 +0100 Jan Dankert Rename css class 'clickable' to 'act-clickable'; enhanced view 'info' for projects. Wed, 21 Oct 2020 00:26:06 +0200 Jan Dankert Using fieldsets in all templates (replacing the old '') Sat, 10 Oct 2020 01:29:41 +0200 Jan Dankert Refactoring: Only using CSS classes with the 'or-'-prefix. Mon, 5 Oct 2020 23:32:06 +0200 Jan Dankert UI: Nicer buttons Mon, 17 Aug 2020 22:52:37 +0200 Jan Dankert Cleanup: Killing the old odd 'GLOBAL_' message prefixes. Mon, 17 Aug 2020 22:22:54 +0200 Jan Dankert Cleanup: Templates with text component should only use 'value'. Sat, 16 May 2020 01:08:40 +0200 Jan Dankert Refactoring: Switching the ValueExpressions in the templates to the new VariableResolver for supporting nested variables like ${message:prefix_${key}}. Sun, 23 Feb 2020 23:21:22 +0100 Jan Dankert Fix: Path to template.xsd has changed on the last refactoring. Sun, 23 Feb 2020 04:01:30 +0100 Jan Dankert Refactoring with Namespaces for the cms modules, part 1: moving.