<?xml version="1.0" encoding="utf-8"?>
<!--
	/**************************************************************************\
	* Simple Groupware 0.724                                                   *
	* http://www.simple-groupware.de                                           *
	* Copyright (C) 2002-2011 by Thomas Bley                                   *
	* ------------------------------------------------------------------------ *
	*  This program is free software; you can redistribute it and/or           *
	*  modify it under the terms of the GNU General Public License Version 2   *
	*  as published by the Free Software Foundation; only version 2            *
	*  of the License, no 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       *
	*  Version 2 along with this program; if not, write to the Free Software   *
	*  Foundation, Inc., 59 Temple Place - Suite 330, Boston,                  *
	*  MA  02111-1307, USA.                                                    *
	\**************************************************************************/
-->
<table modulename="{t}Modules{/t}" limit="20" default_view="display" orderby="name" order="asc" sql_handler="modules">
  <view name="display" displayname="{t}Display{/t}">
  </view>
  <view name="details" displayname="{t}Details{/t}" showinsingleview="true" tfield_1="filename">
  </view>
  
  <field name="id" displayname="{t}Id{/t}" simple_type="id" hidden="true">
  </field>
  <field name="name" displayname="{t}Name{/t}" simple_type="textarea">
    <linktext views="display" value="#index.php?view=details&amp;iframe=1&amp;item[]=@id@"/>
  </field>
  <field name="modulename" displayname="{t}Module{/t}" simple_type="text">
  </field>
  <field name="filename" displayname="{t}File{/t}" simple_type="text">
  </field>
  <field name="filemtime" displayname="{t}Modified{/t}" simple_type="datetime">
    <onlyin views="details" />
    <filter views="all" function="shortdateformat" />
  </field>
  <field name="filectime" displayname="{t}Created{/t}" simple_type="datetime">
    <onlyin views="details" />
    <filter views="all" function="shortdateformat" />
  </field>
  <field name="filecontent" displayname="{t}Content{/t}" simple_type="htmlarea">
    <onlyin views="details" />
    <filter views="all" function="lib_modules::get_filecontent" />
  </field>
</table>