| 1 | <?xml version="1.0" encoding="UTF-8"?> |
|---|
| 2 | <dictionary> |
|---|
| 3 | <item key="dtml"><![CDATA[<!-- BO bodyContentZMSCustom_workflowHighlightChangesLib --> |
|---|
| 4 | |
|---|
| 5 | |
|---|
| 6 | <!-- EO bodyContentZMSCustom_workflowHighlightChangesLib --> |
|---|
| 7 | ]]></item> |
|---|
| 8 | <item key="enabled" type="int">1</item> |
|---|
| 9 | <item key="key"><![CDATA[workflowHighlightChangesLib]]></item> |
|---|
| 10 | <item key="value" type="dictionary"><dictionary> |
|---|
| 11 | <item key="__obj_attrs__" type="list"><list> |
|---|
| 12 | <item type="dictionary"><dictionary> |
|---|
| 13 | <item key="custom"><![CDATA[<!--// BO getCustomBodyContent //--> |
|---|
| 14 | |
|---|
| 15 | <dtml-with context> |
|---|
| 16 | <dtml-if "isPreviewRequest( REQUEST)"> |
|---|
| 17 | <dtml-call "REQUEST.set('subclass','')"> |
|---|
| 18 | <dtml-if "inObjStates( [ 'STATE_NEW'], REQUEST)"> |
|---|
| 19 | <dtml-call "REQUEST.set('subclass',subclass+' new')"> |
|---|
| 20 | <dtml-elif "inObjStates( [ 'STATE_DELETED'], REQUEST)"> |
|---|
| 21 | <dtml-call "REQUEST.set('subclass',subclass+' deleted')"> |
|---|
| 22 | <dtml-elif "inObjStates( [ 'STATE_MODIFIED'], REQUEST)"> |
|---|
| 23 | <dtml-call "REQUEST.set('subclass',subclass+' modified')"> |
|---|
| 24 | </dtml-if> |
|---|
| 25 | <dtml-if "len(subclass)>0"> |
|---|
| 26 | <dtml-return "'<div class='+QUOT+'ZMSObject'+subclass+QUOT+'>'+html+'</div>'"> |
|---|
| 27 | </dtml-if> |
|---|
| 28 | </dtml-if> |
|---|
| 29 | <dtml-return html> |
|---|
| 30 | </dtml-with> |
|---|
| 31 | |
|---|
| 32 | <!--// EO getCustomBodyContent //--> |
|---|
| 33 | ]]></item> |
|---|
| 34 | <item key="default"/> |
|---|
| 35 | <item key="id"><![CDATA[getCustomBodyContent]]></item> |
|---|
| 36 | <item key="keys" type="list"><list> |
|---|
| 37 | </list> |
|---|
| 38 | </item> |
|---|
| 39 | <item key="mandatory" type="int">0</item> |
|---|
| 40 | <item key="multilang" type="int">0</item> |
|---|
| 41 | <item key="name"><![CDATA[Get custom body-content]]></item> |
|---|
| 42 | <item key="repetitive" type="int">0</item> |
|---|
| 43 | <item key="type"><![CDATA[DTML Method]]></item> |
|---|
| 44 | </dictionary> |
|---|
| 45 | </item> |
|---|
| 46 | </list> |
|---|
| 47 | </item> |
|---|
| 48 | <item key="acquired" type="int">0</item> |
|---|
| 49 | <item key="name"><![CDATA[Worfklow: Highlight-Changes]]></item> |
|---|
| 50 | <item key="package"/> |
|---|
| 51 | <item key="type"><![CDATA[ZMSLibrary]]></item> |
|---|
| 52 | </dictionary> |
|---|
| 53 | </item> |
|---|
| 54 | </dictionary> |
|---|