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">
2008-03-03 08:53:43 +01:00
<nextmatch-sortheader label="Type" id="mime" align="center"/>
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"/>
<nextmatch-sortheader id="uid" label="Owner"/>
<nextmatch-sortheader id="gid" label="Group"/>
<nextmatch-header label="Comment" id="comment"/>
2008-10-05 19:07:36 +02:00
<nextmatch-customfields readonly="true" id="customfields"/>
2008-03-02 22:44:15 +01:00
<hbox options="0,0">
<description value="Actions"/>
<button image="check" label="Check all" id="check_all" statustext="Check all" onclick="toggle_all(this.form,form::name('checked[]')); return false;" needed="1" align="right"/>
</hbox>
</row>
<row class="row">
2008-10-06 19:43:42 +02:00
<vfs-mime id="${row}[path]" align="center"/>
<vfs id="$row" no_lang="1"/>
<vfs-size id="${row}[size]" align="right"/>
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">
2008-11-09 17:33:09 +01:00
<button image="edit" label="Edit settings" id="edit[$row_cont[path]]" statustext="Rename, change permissions or ownership" 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;"/>
2010-05-09 16:08:36 +02:00
<buttononly options="mail_post_to" id="mail[$row_cont[path]]" onclick="open_mail('$row_cont[path]'); return false;" align="center"/>
2008-03-02 22:44:15 +01:00
<button id="delete[$row_cont[path]]" image="delete" label="Delete" statustext="Delete this file or directory" onclick="return confirm('Delete this file or directory');" align="center"/>
2009-04-09 16:05:14 +02:00
<checkbox id="checked[]" align="right" options=""$row_cont[path]""/>
2008-03-02 22:44:15 +01:00
</hbox>
</row>
</rows>
</grid>
</template>
2010-05-06 08:53:52 +02:00
<template id="filemanager.index" template="" lang="" group="0" version="1.7.003">
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>
2008-03-03 23:15:44 +01:00
<row disabled="!@nm[msg]">
2008-03-02 22:44:15 +01:00
<description span="all" class="redItalic" id="nm[msg]"/>
<description/>
</row>
<row>
<hbox span="all">
2009-04-30 10:09:50 +02:00
<image label="Up" src="goup" options="filemanager.filemanager_ui.index&path=.."/>
<image src="gohome" options="filemanager.filemanager_ui.index&path=~" label="Go to your home directory"/>
2010-05-11 17:02:30 +02:00
<vfs-name id="nm[path]" options="80,,1" label="Path" onchange="1" class="address"/>
2008-03-02 22:44:15 +01:00
<button id="button[go]" image="key_enter" label="Go to"/>
<image src="buttonseparator"/>
2008-11-09 17:33:09 +01:00
<button image="edit" label="Edit settings" id="edit[{$cont[nm][path]}]" statustext="Rename, change permissions or ownership" 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;"/>
2009-04-09 16:05:14 +02:00
<button id="button[createdir]" image="button_createdir" ro_image="createdir_disabled" label="Create directory" onclick="var dir = prompt(egw::lang('New directory')); if (!dir) return false; document.getElementById(form::name('nm[path]')).value=dir;"/>
<button image="link" ro_image="link_disabled" 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;"/>
<button id="button[paste]" image="editpaste" ro_image="editpaste_disabled" statustext="$cont[paste_tooltip]"/>
<button id="button[linkpaste]" image="linkpaste" ro_image="linkpaste_disabled" statustext="$cont[linkpaste_tooltip]"/>
2010-05-09 16:08:36 +02:00
<button id="button[mailpaste]" image="mailpaste" ro_image="mailpaste_disabled" statustext="$cont[mailpaste_tooltip]" onclick="open_mail('$cont[mailpaste_files]'); return false;"/>
2008-03-02 22:44:15 +01:00
</hbox>
</row>
<row>
<nextmatch options="filemanager.index.rows" span="all" id="nm"/>
</row>
<row>
<hbox>
2009-02-26 15:48:53 +01:00
<file id="upload[]" statustext="Select file to upload in current directory" onchange="xajax_doXMLHTTP('filemanager_ui::ajax_check_upload_target',this.id,this.value,'{$cont[nm][path]}');"/>
2008-03-02 22:44:15 +01:00
<button label="Upload" id="button[upload]"/>
</hbox>
<hbox align="right">
<menulist>
2010-05-06 08:53:52 +02:00
<menupopup id="action" options="Select action..." onchange="do_action(this);" no_lang="1"/>
2008-03-02 22:44:15 +01:00
</menulist>
<button image="arrow_ltr" label="Check all" id="check_all" statustext="Check all" onclick="toggle_all(this.form,form::name('nm[rows][checked][]')); return false;" needed="1" class="checkAllArrow"/>
</hbox>
</row>
</rows>
</grid>
</template>
</overlay>