<?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}Wiki{/t}" default_view="display" orderby="wikiname" order="asc" limit="20" enable_new="true" enable_edit="true" enable_delete="true" enable_empty="true" quick_add="wikiname,data">
  <view name="display" displayname="{t}Display{/t}">
  </view>
  <view name="details" displayname="{t}Details{/t}" show_preview="true" template_mode="flat" tfield_1="wikiname">
  </view>
  
  <field name="wikiname" displayname="{t}Name{/t}" simple_type="text" is_unique="true" required="true">
    <linktext views="display" value="index.php?view=details&amp;item[]=@id@"/>
  </field>
  <field name="data" displayname="{t}Data{/t}" simple_type="wikiarea">
    <filter views="display" function="truncate|250"/>
  </field>
  <field name="description" displayname="{t}Description{/t}" simple_type="textarea">
    <notin views="display"/>
  </field>
  <field name="image" displayname="{t}Image{/t}" simple_type="files" simple_file_size="5M" simple_size="10">
    <validate function="fileupload|jpg,jpeg,gif,png"/>
	<notin views="display" />
  </field>
  <field name="attachment" displayname="{t}Attachment{/t}" simple_type="files" simple_file_size="10M" simple_size="10">
	<notin views="display"/>
  </field>
</table>