Change from legacy-options sub-type to type_filter

This commit is contained in:
Hadi Nategh 2018-07-19 17:07:08 +02:00
parent 64a3560549
commit 7c01fa533b
8 changed files with 10 additions and 82 deletions

View File

@ -323,12 +323,12 @@
</template>
<template id="addressbook.edit.custom" template="" lang="" group="0" version="1.9.001">
<box width="100%" overflow="auto">
<customfields options="$cont[tid],$cont[no_private_cfs]"/>
<customfields options=",$cont[no_private_cfs]" type_filter="$cont[tid]"/>
</box>
</template>
<template id="addressbook.edit.custom_private" template="" lang="" group="0" version="1.9.001">
<box width="100%" overflow="auto">
<customfields id="private_cfs" options="$cont[tid],1"/>
<customfields id="private_cfs" options=",1" type_filter="$cont[tid]"/>
</box>
</template>
<template id="addressbook.edit.history" template="" lang="" group="0" version="1.9.001">

View File

@ -275,7 +275,7 @@
<rows>
<row>
<box width="100%" overflow="auto">
<customfields options="$cont[tid],$cont[no_private_cfs]"/>
<customfields options=",$cont[no_private_cfs]" type_filter="$cont[tid]"/>
</box>
</row>
</rows>
@ -290,7 +290,7 @@
<rows>
<row>
<box width="100%" overflow="auto">
<customfields id="private_cfs" options="$cont[tid],1"/>
<customfields id="private_cfs" options=",1" type_filter="$cont[tid]"/>
</box>
</row>
</rows>

View File

@ -158,19 +158,7 @@
</grid>
</template>
<template id="calendar.edit.custom" template="" lang="" group="0" version="1.4.001">
<grid width="100%">
<columns>
<column width = "120"/>
<column/>
</columns>
<rows>
<row>
<box width="100%" overflow="auto">
<customfields options="@info_type"/>
</box>
</row>
</rows>
</grid>
<customfields/>
</template>
<template id="calendar.edit.links" template="" lang="" group="0" version="1.0.1.001">
<grid width="100%">

View File

@ -193,19 +193,7 @@
</grid>
</template>
<template id="filemanager.file.custom" template="" lang="" group="0" version="1.5.001">
<grid width="100%">
<columns>
<column width = "120"/>
<column/>
</columns>
<rows>
<row>
<box width="100%" overflow="auto">
<customfields options="@info_type"/>
</box>
</row>
</rows>
</grid>
<customfields/>
</template>
<template id="filemanager.file" template="" lang="" group="0" version="1.9.001">
<grid border="1" width="100%">

View File

@ -57,19 +57,7 @@
</grid>
</template>
<template id="infolog.edit.customfields" template="" lang="" group="0" version="1.0.1.001">
<grid width="100%">
<columns>
<column width = "120"/>
<column/>
</columns>
<rows>
<row>
<box width="100%" overflow="auto">
<customfields options="@info_type"/>
</box>
</row>
</rows>
</grid>
<customfields type_filter="@info_type"/>
</template>
<template id="infolog.edit.details" template="" lang="" group="0" version="1.9.001">
<grid width="100%">

View File

@ -54,19 +54,7 @@
</grid>
</template>
<template id="infolog.view.customfields" template="" lang="" group="0" version="1.0.1.001">
<grid width="100%">
<columns>
<column width = "120"/>
<column/>
</columns>
<rows>
<row>
<box width="100%" overflow="auto">
<customfields options="@info_type"/>
</box>
</row>
</rows>
</grid>
<customfields type_filter="@info_type"/>
</template>
<template id="infolog.view.details" template="" lang="" group="0" version="1.9.001">
<grid width="100%">

View File

@ -64,19 +64,7 @@
</grid>
</template>
<template id="timesheet.edit.customfields" template="" lang="" group="0" version="1.5.001">
<grid width="100%">
<columns>
<column width = "120"/>
<column/>
</columns>
<rows>
<row>
<box width="100%" overflow="auto">
<customfields options="@info_type"/>
</box>
</row>
</rows>
</grid>
<customfields/>
</template>
<template id="timesheet.edit.ownership" template="" lang="" group="0" version="16.1.00">
<grid width="100%">

View File

@ -46,19 +46,7 @@
<textbox multiline="true" id="ts_description" rows="9" cols="70" class="et2_fullWidth" height="250" resize_ratio="0"/>
</template>
<template id="timesheet.view.customfields" template="" lang="" group="0" version="1.5.001">
<grid width="100%">
<columns>
<column width = "120"/>
<column/>
</columns>
<rows>
<row>
<box width="100%" overflow="auto">
<customfields options="@info_type"/>
</box>
</row>
</rows>
</grid>
</template>
<template id="timesheet.view.ownership" template="" lang="" group="0" version="16.1.00">
<grid width="100%">