Commit 73a4d2a32437bfe50d40d5547eb0fceeff7a3fc1
1 parent
e2de44db
Replace static templates with behaviour based on passed-in values.
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3796 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
3 changed files
with
9 additions
and
6 deletions
templates/ktcore/metadata/conditional/ajax_complex_get_active_fields.smarty
templates/ktcore/metadata/conditional/ajax_complex_get_behaviour_list.smarty
| 1 | 1 | <behaviourList> |
| 2 | - <behaviour value="10" label="Changed Behaviour 1"/> | |
| 3 | - <behaviour value="11" label="Changed Behaviour 2"/> | |
| 2 | +{foreach from=$aBehaviours item=oBehaviour} | |
| 3 | + <behaviour value="{$oBehaviour->getId()}" label="{$oBehaviour->getName()|escape}" /> | |
| 4 | +{/foreach} | |
| 4 | 5 | </behaviourList> | ... | ... |
templates/ktcore/metadata/conditional/ajax_complex_get_item_list.smarty