davadmin/admin/templates/en/directories.html
Jan Dittberner 77cc35dfb4 fixes #9
addresses #18
addresses #17
 * create an english translation of the templates
 * change the template directory for smarty depending on the language
 * move existing templates to german subdirectory
2007-12-02 21:13:47 +00:00

66 lines
2.9 KiB
HTML

{*
* Directory page template.
*
* @author Jan Dittberner <jan@dittberner.info>
* @version $Id$
* @license GPL
* @package DAVAdmin
*
* Copyright (c) 2007 Jan Dittberner
*
* This file is part of DAVAdmin.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
* 02110-1301 USA.
*}
{include file="header.html" title="Directory management"}
<script type="text/javascript" src="scripts/helper.js"></script>
<script type="text/javascript" src="scripts/autocomplete.js"></script>
<script type="text/javascript" src="scripts/directories.js"></script><div id="content">
<h1>WebDAV administration</h1>
<h2>Directory management</h2>
<table id="dirtable">
<thead>
<tr><th id="hcol-directory">Directory</th><th id="hcol-groups">Groups</th><th id="hcol-files">included files (count and size)</th><th /></tr>
</thead>
<tbody>
{foreach item=dir from=$directories}
<tr id="dir{$dir.name}">
<td>{$dir.name}</td>
<td>{foreach item=group from=$dir.groups name=dirloop}{$group}{if !$smarty.foreach.dirloop.last}, {/if}{/foreach}</td>
<td>{$dir.filecount}, {$dir.filesize}</td>
<td><a id="edit{$dir.name}" class="editlink" href="#" title="Edit this directory's group assignments."><img class="actionicon" src="images/groups.png" width="16" height="16" alt="Groups"/></a>{if $dir.maydelete}<a id="delete{$dir.name}" class="deletelink" href="#" title="Delete this directory"><img class="actionicon" src="images/delete.png" width="16" height="16" alt="delete" /></a>{/if}</td>
</tr>
{foreachelse}
<tr><td colspan="4">there are no directories</td></tr>
{/foreach}
</tbody>
<tfoot>
<tr><td colspan="4"><a id="newdir" class="newlink" href="#" title="Create new directory"><img class="actionicon" src="images/newdirectory.png" width="16" height="16" alt="new" /></a></td></tr>
</tfoot>
</table>
<h3>Icon description</h3>
<dl>
<dt><img src="images/groups.png" width="16" height="16" alt="groups" /></dt>
<dd>Edit this directory's group assignments.</dd>
<dt><img src="images/delete.png" width="16" height="16" alt="delete" /></dt>
<dd>Delete this directory</dd>
<dt><img src="images/newdirectory.png" width="16" height="16" alt="new" /></dt>
<dd>Create new directory</dd>
</dl>
<div id="footer"><a href="index.php">Back</a></div>
</div>
<div id="direditor"></div>
{include file="footer.html"}