fix somehow wrong legacy-options for customfields widget

This commit is contained in:
ralf 2023-02-06 16:31:14 +01:00
parent 5ade68dd76
commit 330ffe73df
5 changed files with 8 additions and 8 deletions

View File

@ -316,12 +316,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">
<et2-box width="100%" overflow="auto"> <et2-box width="100%" overflow="auto">
<customfields use-private="$cont[no_private_cfs]" type_filter="$cont[tid]"/> <customfields private="$cont[no_private_cfs]" type_filter="$cont[tid]"/>
</et2-box> </et2-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">
<et2-box width="100%" overflow="auto"> <et2-box width="100%" overflow="auto">
<customfields id="private_cfs" use-private="1" type_filter="$cont[tid]"/> <customfields id="private_cfs" private="1" type_filter="$cont[tid]"/>
</et2-box> </et2-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

@ -270,7 +270,7 @@
<rows> <rows>
<row> <row>
<et2-box width="100%" overflow="auto"> <et2-box width="100%" overflow="auto">
<customfields use-private="$cont[no_private_cfs]" type_filter="$cont[tid]"/> <customfields private="$cont[no_private_cfs]" type_filter="$cont[tid]"/>
</et2-box> </et2-box>
</row> </row>
</rows> </rows>
@ -285,7 +285,7 @@
<rows> <rows>
<row> <row>
<et2-box width="100%" overflow="auto"> <et2-box width="100%" overflow="auto">
<customfields id="private_cfs" use-private="1" type_filter="$cont[tid]"/> <customfields id="private_cfs" private="1" type_filter="$cont[tid]"/>
</et2-box> </et2-box>
</row> </row>
</rows> </rows>

View File

@ -145,7 +145,7 @@ function send_template()
'groupbox' => 'cellpadding,cellspacing,keep', 'groupbox' => 'cellpadding,cellspacing,keep',
'checkbox' => 'selected_value,unselected_value,ro_true,ro_false', 'checkbox' => 'selected_value,unselected_value,ro_true,ro_false',
'radio' => 'set_value,ro_true,ro_false', 'radio' => 'set_value,ro_true,ro_false',
'customfields' => 'sub-type,use-private,field-names', 'customfields' => 'type_filter,private,fields',
'date' => 'data_format,ignore', 'date' => 'data_format,ignore',
// Legacy option "mode" was never implemented in et2 // Legacy option "mode" was never implemented in et2
'description' => 'bold-italic,link,activate_links,label_for,link_target,link_popup_size,link_title', 'description' => 'bold-italic,link,activate_links,label_for,link_target,link_popup_size,link_title',

View File

@ -159,7 +159,7 @@
<et2-description span="all" value="customfields"></et2-description> <et2-description span="all" value="customfields"></et2-description>
</row> </row>
<row> <row>
<customfields span="all" sub-type="@info_type" readonly="true"/> <customfields span="all" type_filter="@info_type" readonly="true"/>
</row> </row>
<row> <row>
<template span="all" id="infolog.edit.print.project"/> <template span="all" id="infolog.edit.print.project"/>

View File

@ -44,7 +44,7 @@
<et2-textarea id="ts_description" rows="9" cols="70" height="250" resizeRatio="0"></et2-textarea> <et2-textarea id="ts_description" rows="9" cols="70" height="250" resizeRatio="0"></et2-textarea>
</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">
<customfields sub-type="@info_type" /> <customfields type_filter="@info_type" />
</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%">