Skip to content

Instantly share code, notes, and snippets.

@owalmirneto
Last active December 19, 2015 09:49
Show Gist options
  • Save owalmirneto/5935515 to your computer and use it in GitHub Desktop.
Save owalmirneto/5935515 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<module>
<name>Etapa Educativa</name>
<table>activities</table>
<table_pk>id</table_pk>
<real_name>mimoportal_activities</real_name>
<options>
<multiLang>false</multiLang>
<tableSortField>id</tableSortField>
<tableSortOrder>DESC</tableSortOrder>
<limitResult>50</limitResult>
<paginationNumLinks>15</paginationNumLinks>
<operations>insert,edit,delete</operations>
<ordenation>
<status>true</status>
<dbFieldName>ordenation</dbFieldName>
</ordenation>
</options>
<elements>
<element>
<type>text</type>
<dbFieldName>title</dbFieldName>
<gridFieldName>Título</gridFieldName>
<gridVisible>true</gridVisible>
<formVisible>true</formVisible>
<searchable>true</searchable>
<maxLenght>140</maxLenght>
<inlineStyle>width:650px;height:25px;font-size:15px;</inlineStyle>
<extraAttributes>class="validate[required]"</extraAttributes>
<required>true</required>
</element>
<element>
<type>selectfromtable</type>
<hasRelation>false</hasRelation>
<dbFieldName>attractions_id</dbFieldName>
<gridFieldName>Ministrante</gridFieldName>
<gridVisible>false</gridVisible>
<formVisible>true</formVisible>
<searchable>true</searchable>
<required>false</required>
<inlineStyle>width: 350px;</inlineStyle>
<options multiple="false" table="attractions" field_key_value="id"
field_show="title" field_order="title" field_order_type="ASC" />
</element>
<element>
<type>selectfromtable</type>
<hasRelation>false</hasRelation>
<dbFieldName>cities_id</dbFieldName>
<gridFieldName>Cidade</gridFieldName>
<gridVisible>true</gridVisible>
<formVisible>true</formVisible>
<searchable>true</searchable>
<required>false</required>
<inlineStyle>width: 350px;</inlineStyle>
<options multiple="false" table="cities" field_key_value="id"
field_show="name" field_order="name" field_order_type="ASC" />
</element>
<element>
<type>selectfromtable</type>
<hasRelation>false</hasRelation>
<dbFieldName>courses_id</dbFieldName>
<gridFieldName>Curso</gridFieldName>
<gridVisible>true</gridVisible>
<formVisible>true</formVisible>
<searchable>true</searchable>
<required>false</required>
<inlineStyle>width: 350px;</inlineStyle>
<options multiple="false" table="courses" field_key_value="id"
field_show="name" field_order="name" field_order_type="ASC" />
</element>
<element>
<type>textarea</type>
<dbFieldName>text</dbFieldName>
<gridFieldName>Texto</gridFieldName>
<gridVisible>false</gridVisible>
<formVisible>true</formVisible>
<searchable>true</searchable>
<required>true</required>
</element>
<element>
<type>date</type>
<dbFieldName>date</dbFieldName>
<gridFieldName>Data 1</gridFieldName>
<gridVisible>true</gridVisible>
<formVisible>true</formVisible>
<searchable>true</searchable>
<maxLenght>10</maxLenght>
<extraAttributes>class="validate[required] frm-date"</extraAttributes>
<required>true</required>
</element>
<element>
<type>date</type>
<formVisible>true</formVisible>
<dbFieldName>second_day</dbFieldName>
<gridFieldName>Data 2</gridFieldName>
<extraAttributes>class="frm-date"</extraAttributes>
<maxLenght>10</maxLenght>
</element>
<element>
<type>text</type>
<dbFieldName>start_at</dbFieldName>
<gridFieldName>Hora de Início</gridFieldName>
<gridVisible>true</gridVisible>
<formVisible>true</formVisible>
<searchable>true</searchable>
<maxLenght>140</maxLenght>
<extraAttributes>class="frm-time"</extraAttributes>
<required>false</required>
</element>
<element>
<type>text</type>
<dbFieldName>end_at</dbFieldName>
<gridFieldName>Hora de Término</gridFieldName>
<gridVisible>true</gridVisible>
<formVisible>true</formVisible>
<searchable>true</searchable>
<maxLenght>140</maxLenght>
<extraAttributes>class="frm-time"</extraAttributes>
<required>false</required>
</element>
<element>
<type>text</type>
<dbFieldName>vacancies</dbFieldName>
<gridFieldName>Vagas</gridFieldName>
<gridVisible>true</gridVisible>
<formVisible>true</formVisible>
<searchable>true</searchable>
<inlineStyle>width:250px;</inlineStyle>
</element>
<element>
<type>text</type>
<dbFieldName>local</dbFieldName>
<gridFieldName>Local</gridFieldName>
<gridVisible>false</gridVisible>
<formVisible>true</formVisible>
<searchable>true</searchable>
<inlineStyle>width:300px;</inlineStyle>
</element>
<element>
<type>text</type>
<dbFieldName>address</dbFieldName>
<gridFieldName>Endereço</gridFieldName>
<gridVisible>false</gridVisible>
<formVisible>true</formVisible>
<searchable>true</searchable>
<inlineStyle>width:650px;</inlineStyle>
</element>
</elements>
<formButtons>
<insert>
<button name="insert_mod_text" value="Inserir etapa" type="submit" />
<button name="insert_mod_text" value="Cancelar" type="button" />
</insert>
<edit>
<button name="edit_mod_text" value="Salvar Alterações" type="submit" />
<button name="edit_mod_text" value="Cancelar alterações" type="button" />
</edit>
</formButtons>
<navigate>
<menu name="Nova etapa" path="insert" />
<menu name="Listar todas" path="lists" />
</navigate>
</module>
<element>
<type>date</type>
<dbFieldName>date</dbFieldName>
<gridFieldName>Data 1</gridFieldName>
<gridVisible>true</gridVisible>
<formVisible>true</formVisible>
<searchable>true</searchable>
<maxLenght>10</maxLenght>
<extraAttributes>class="validate[required] frm-date"</extraAttributes>
<required>true</required>
</element>
<element>
<type>date</type>
<formVisible>true</formVisible>
<dbFieldName>second_day</dbFieldName>
<gridFieldName>Data 2</gridFieldName>
<extraAttributes>class="frm-date"</extraAttributes>
<maxLenght>10</maxLenght>
</element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment