Files
adanar/app/xml/questions.xml
arlemp@selectel.ru c5003b00cf add files
2023-08-05 11:59:48 +03:00

178 lines
3.7 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?xml version="1.0" encoding="UTF8"?>
<items>
<main>
<table>questions</table>
<order>question_id DESC</order>
<increment>question_id</increment>
<title>Контент. Вопрос-Ответ</title>
</main>
<item>
<column>question_id</column>
<title>ID</title>
<type>increment</type>
<view>
<table>True</table>
<form>False</form>
</view>
<hint>Порядковый номер вопроса</hint>
</item>
<item>
<column>title</column>
<title>Заголовок</title>
<type>text</type>
<col>60</col>
<view>
<table>True</table>
<form>True</form>
</view>
<hint>Заголовок стаьи</hint>
</item>
<item>
<column>questpart_id</column>
<title>Подрубрика</title>
<type>lookup</type>
<col>60</col>
<lookup>
<table>questparts</table>
<id>part_id</id>
<column>partname</column>
<order>partname</order>
</lookup>
<filter>True</filter>
<view>
<table>True</table>
<form>True</form>
</view>
<filter>True</filter>
</item>
<item>
<column>number_id</column>
<title></title>
<type>lookup</type>
<lookup>
<table>numbers</table>
<id>number_id</id>
<column>numberAll</column>
<order>number_id DESC</order>
</lookup>
<view>
<table>True</table>
<form>True</form>
</view>
<hint>Текущий номер</hint>
<filter>True</filter>
<null>без номера</null>
</item>
<item>
<column>question</column>
<title>Вопрос</title>
<type>textarea</type>
<col>60</col>
<row>10</row>
<view>
<table>False</table>
<form>True</form>
</view>
<hint>Текст стаьти</hint>
</item>
<item>
<column>clientname</column>
<title>Пользователь</title>
<type>text</type>
<col>60</col>
<view>
<table>True</table>
<form>True</form>
</view>
<hint>Заголовок стаьи</hint>
</item>
<item>
<column>clientadress</column>
<title>Место жительства</title>
<type>text</type>
<col>60</col>
<view>
<table>False</table>
<form>True</form>
</view>
<hint>Заголовок стаьи</hint>
</item>
<item>
<column>client_mail</column>
<title>Электронная почта пользователя</title>
<type>text</type>
<col>60</col>
<view>
<table>False</table>
<form>True</form>
</view>
<hint>Заголовок стаьи</hint>
</item>
<item>
<column>client_contact</column>
<title>Контактная информация о пользователе</title>
<type>text</type>
<col>60</col>
<view>
<table>False</table>
<form>True</form>
</view>
<hint>Заголовок стаьи</hint>
</item>
<item>
<column>answer</column>
<title>Ответ</title>
<type>textareatiny</type>
<col>100</col>
<row>40</row>
<view>
<table>False</table>
<form>True</form>
</view>
<hint>Текст статьи</hint>
</item>
<item>
<column>authorname</column>
<title>Автор ответа</title>
<type>text</type>
<col>60</col>
<row>40</row>
<view>
<table>False</table>
<form>True</form>
</view>
<hint>Текст статьи</hint>
</item>
<item>
<column>action</column>
<title>Публикация</title>
<type>checkbox</type>
<col>60</col>
<view>
<table>True</table>
<form>True</form>
</view>
<hint>Публиковать</hint>
</item>
<item>
<column>img</column>
<title>фотография</title>
<view>
<table>False</table>
<form>True</form>
</view>
<type>file</type>
<folder>images/questions</folder>
</item>
<item>
<column>comment_date</column>
<title>Дата публикации</title>
<type>date</type>
<col>60</col>
<view>
<table>False</table>
<form>True</form>
</view>
<hint>Заголовок стаьи</hint>
</item>
</items>