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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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