2008-03-02 22:44:15 +01:00
<?xml version="1.0"?>
<!-- $Id$ -->
<overlay>
2010-05-06 08:53:52 +02:00
<template id="filemanager.index.rows" template="" lang="" group="0" version="1.7.002">
2008-03-02 22:44:15 +01:00
<grid width="100%">
<columns>
<column/>
<column width="30%"/>
<column/>
<column width="120"/>
2008-03-03 08:53:43 +01:00
<column width="120"/>
2008-03-02 22:44:15 +01:00
<column/>
<column/>
<column/>
<column/>
2008-10-05 19:07:36 +02:00
<column/>
2008-03-03 13:16:11 +01:00
<column width="70"/>
2008-03-02 22:44:15 +01:00
</columns>
<rows>
<row class="th">
2011-06-30 15:07:55 +02:00
<nextmatch-sortheader align="center" label="Type" id="mime"/>
2008-03-02 22:44:15 +01:00
<nextmatch-sortheader label="Name" id="name"/>
<nextmatch-sortheader label="Size" id="size"/>
<nextmatch-sortheader label="Modified" id="mtime"/>
2008-03-03 08:53:43 +01:00
<nextmatch-sortheader label="Created" id="ctime"/>
2008-03-02 22:44:15 +01:00
<nextmatch-sortheader label="Permissions" id="mode"/>
2011-06-30 15:07:55 +02:00
<nextmatch-sortheader label="Owner" id="uid"/>
<nextmatch-sortheader label="Group" id="gid"/>
2008-03-02 22:44:15 +01:00
<nextmatch-header label="Comment" id="comment"/>
2011-06-30 15:07:55 +02:00
<nextmatch-customfields id="customfields" readonly="true"/>
2008-03-02 22:44:15 +01:00
<hbox options="0,0">
2011-06-30 15:07:55 +02:00
<nextmatch-header label="Actions" id="legacy_actions"/>
2011-11-09 16:20:19 +01:00
<button align="right" statustext="Check all" label="Check all" id="check_all" needed="1" onclick="egw_globalObjectManager.getObjectById('filemanager.index.rows').toggleAllSelected(); return false;" image="check"/>
2008-03-02 22:44:15 +01:00
</hbox>
</row>
2011-11-09 16:20:19 +01:00
<row class="row $row_cont[class]">
2012-03-28 01:09:16 +02:00
<vfs-mime align="center" id="$row"/>
2008-10-06 19:43:42 +02:00
<vfs id="$row" no_lang="1"/>
2011-06-30 15:07:55 +02:00
<vfs-size align="right" id="${row}[size]"/>
2008-03-02 22:44:15 +01:00
<date-time id="${row}[mtime]" readonly="true"/>
2008-03-03 08:53:43 +01:00
<date-time id="${row}[ctime]" readonly="true"/>
2008-10-06 19:43:42 +02:00
<vfs-mode id="${row}[mode]"/>
<vfs-uid id="${row}[uid]" no_lang="1"/>
<vfs-gid id="${row}[gid]" no_lang="1"/>
2008-03-02 22:44:15 +01:00
<description id="${row}[comment]"/>
2010-05-06 08:53:52 +02:00
<customfields-list id="$row" class="customfields"/>
2008-03-02 22:44:15 +01:00
<hbox align="right">
2011-06-30 15:07:55 +02:00
<button statustext="Rename, change permissions or ownership" label="Edit settings" id="edit[$row_cont[path]]" onclick="window.open(egw::link('/index.php','menuaction=filemanager.filemanager_ui.file&path=$row_cont[path]'),'fileprefs','dependent=yes,width=495,height=425,scrollbars=yes,status=yes'); return false;" image="edit"/>
<buttononly align="center" id="mail[$row_cont[path]]" onclick="open_mail('$row_cont[path]'); return false;" options="mail_post_to"/>
<button align="center" statustext="Delete this file or directory" label="Delete" id="delete[$row_cont[path]]" onclick="return confirm('Delete this file or directory');" image="delete"/>
<checkbox align="right" id="checked[]" options=""$row_cont[path]""/>
2008-03-02 22:44:15 +01:00
</hbox>
</row>
</rows>
</grid>
</template>
2012-01-05 15:19:51 +01:00
<template id="filemanager.index" template="" lang="" group="0" version="1.9.002">
2008-10-07 07:33:52 +02:00
<grid width="100%">
2008-03-02 22:44:15 +01:00
<columns>
<column width="250"/>
<column/>
</columns>
<rows>
2011-08-27 19:54:56 +02:00
<row>
2011-06-30 15:07:55 +02:00
<description id="nm[msg]" span="all" class="redItalic"/>
2008-03-02 22:44:15 +01:00
<description/>
</row>
<row>
<hbox span="all">
2011-11-09 16:20:19 +01:00
<image label="Up" src="goup" href="filemanager.filemanager_ui.index&path=.."/>
<image label="Go to your home directory" src="gohome" href="filemanager.filemanager_ui.index&path=~"/>
2011-06-30 15:07:55 +02:00
<vfs-name label="Path" id="nm[path]" onchange="1" options="80,,1" class="address"/>
<button label="Go to" id="button[go]" image="key_enter"/>
2008-03-02 22:44:15 +01:00
<image src="buttonseparator"/>
2011-06-30 15:07:55 +02:00
<button statustext="Rename, change permissions or ownership" label="Edit settings" id="edit[{$cont[nm][path]}]" onclick="window.open(egw::link('/index.php','menuaction=filemanager.filemanager_ui.file&path={$cont[nm][path]}'),'fileprefs','dependent=yes,width=495,height=425,scrollbars=yes,status=yes'); return false;" image="edit"/>
<button label="Create directory" id="button[createdir]" onclick="var dir = prompt(egw::lang('New directory')); if (!dir) return false; document.getElementById(form::name('nm[path]')).value=dir;" image="button_createdir" ro_image="createdir_disabled"/>
<button label="Create a link" id="button[symlink]" onclick="var link = prompt(egw::lang('Link target')); if (!link) return false; document.getElementById(form::name('nm[path]')).value=link;" image="link" ro_image="link_disabled"/>
2012-01-05 15:19:51 +01:00
<button statustext="call:clipboard_tooltip(this);" id="button[paste]" onclick="return clipboard_files.length > 0;" image="editpaste" ro_image="editpaste_disabled"/>
<button statustext="call:clipboard_tooltip(this);" id="button[linkpaste]" onclick="return clipboard_files.length > 0;" image="linkpaste" ro_image="linkpaste_disabled"/>
<button statustext="call:clipboard_tooltip(this);" id="button[mailpaste]" onclick="if (clipboard_files.length) open_mail(); return false;" image="mailpaste" ro_image="mailpaste_disabled"/>
2011-06-30 15:07:55 +02:00
<button label="File a file" onclick="window.open(egw::link('/index.php','menuaction=stylite.stylite_filemanager.upload'),'_blank','dependent=yes,width=550,height=350,scrollbars=yes,status=yes'); return false;" image="upload"/>
2008-03-02 22:44:15 +01:00
</hbox>
</row>
<row>
2011-06-30 15:07:55 +02:00
<nextmatch id="nm" options="filemanager.index.rows" span="all"/>
</row>
<row valign="bottom" disabled="!@nm[selectcols]=/legacy_actions/">
2011-08-27 19:54:56 +02:00
<description font_style="1"/>
2011-06-30 15:07:55 +02:00
<hbox align="right">
<buttononly statustext="Select action" label="Select action" id="legacy_actions" onclick="if (!egw_globalObjectManager.getObjectById('filemanager.index.rows').executeActionImplementation(this, 'popup')) alert(egw::lang('You need to select some entries first!')); return false;;"/>
2011-11-09 16:20:19 +01:00
<button statustext="Check all" label="Check all" id="check_all" needed="1" onclick="egw_globalObjectManager.getObjectById('filemanager.index.rows').toggleAllSelected(); return false;" image="arrow_ltr" class="checkAllArrow"/>
2011-06-30 15:07:55 +02:00
</hbox>
2008-03-02 22:44:15 +01:00
</row>
<row>
<hbox>
2011-07-01 09:49:58 +02:00
<file statustext="Select file to upload in current directory" id="upload[]" onchange="check_files(this);"/>
2008-03-02 22:44:15 +01:00
<button label="Upload" id="button[upload]"/>
</hbox>
2011-06-30 15:07:55 +02:00
<description/>
2008-03-02 22:44:15 +01:00
</row>
</rows>
</grid>
2011-06-30 15:07:55 +02:00
<styles>
input[type='file'] {
width: 50ex
}
</styles>
2008-03-02 22:44:15 +01:00
</template>
</overlay>