<?xml version="1.0" encoding="UTF8"?>
<items>
<main>
	<table>photobank</table>
	<order>dateinsert</order>
	<order_type>DESC</order_type>
	<increment>photo_id</increment>
	<title>Контент. Фотобанк</title>
	<search>keywords</search>
</main>
<item>
	<column>photo_id</column>
	<title>ID</title>
	<type>increment</type>
	<view>
		<table>True</table>
		<form>False</form>
	</view>
	<hint>Порядковый номер новости</hint>
</item>
<item>
	<column>photofile</column>
	<title>Фото</title>
	<view>
		<table>True</table>
		<form>True</form>
	</view>
	<type>file</type>
	<folder>pub/images/photobank</folder>
</item>
<item>
	<column>category_id</column>
	<title>Тематика</title>
	<type>lookup</type>
	<lookup>
		<table>photocategory</table>
		<id>category_id</id>
		<column>categoryname</column>
		<order>categoryname</order>
	</lookup>
	<view>
		<table>True</table>
		<form>True</form>
	</view>
	<filter>True</filter>
</item>
<item>
	<column>keywords</column>
	<title>Ключевые слова</title>
	<type>textarea</type>
	<row>2</row>
	<col>100</col>
	<view>
		<table>True</table>
		<form>True</form>
	</view>
</item>
<item>
	<column>cright</column>
	<title>Копирайт</title>
	<type>text</type>
	<col>100</col>
	<view>
		<table>True</table>
		<form>True</form>
	</view>
</item>
<item>
	<column>dateinsert</column>
	<title>Дата / Время</title>
	<type>datetime</type>
	<view>
		<table>True</table>
		<form>True</form>
	</view>
</item>
<item>
	<column>active</column>
	<title>Пб</title>
	<type>checkbox</type>
	<default>1</default>
	<col>100</col>
	<view>
		<table>True</table>
		<form>True</form>
	</view>
</item>
<item>
	<column>user_id</column>
	<title>Авт.</title>
	<type>lookup</type>
	<lookup>
		<table>users</table>
		<id>user_id</id>
		<column>name</column>
		<fcolumn>name</fcolumn>
		<order>initials</order>
	</lookup>
	<view>
		<table>True</table>
		<form>False</form>
	</view>
	<filter>True</filter>
</item>
<item>
	<column>user_id</column>
	<type>user</type>
	<access>
		<groups>edition</groups>
	</access>
	<user_type>insert</user_type>
	<view>
		<table>False</table>
		<form>True</form>
	</view>
</item>
</items>
