Commit 8e83d7b0232b48944f3641ad6fd318517d0d929d
1 parent
b6648616
This template is no longer used by anything.
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4340 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
0 additions
and
27 deletions
templates/ktcore/metadata/editable_metadata_fields.smarty deleted
| 1 | -<table class="prettysw" cellpadding="0" cellspacing="0"> | ||
| 2 | -{if !$metadata_prefix} | ||
| 3 | -{assign var="metadata_prefix" value="emd"} | ||
| 4 | -{/if} | ||
| 5 | -{if $caption} | ||
| 6 | -<caption colspan="2">{$caption}</caption> | ||
| 7 | -{/if} | ||
| 8 | -{if $fields} | ||
| 9 | -{ foreach item=oField from=$fields } | ||
| 10 | -<tr> | ||
| 11 | -<th>{$oField->getName()}</th> | ||
| 12 | -<td> | ||
| 13 | -{php} | ||
| 14 | -$oField = $this->_tpl_vars['oField']; | ||
| 15 | -$sPrefix = $this->_tpl_vars['metadata_prefix']; | ||
| 16 | -$sValue = $this->_tpl_vars['values'][$oField->getID()]; | ||
| 17 | -$this->assign('pattern', | ||
| 18 | - new PatternMetadata($oField->getName(), $sPrefix . $oField->getID(), $sValue)); | ||
| 19 | -{/php} | ||
| 20 | -{$pattern->render()} | ||
| 21 | -</td> | ||
| 22 | -</tr> | ||
| 23 | -{ /foreach } | ||
| 24 | -{else} | ||
| 25 | -<tr><td>No fields found</td></tr> | ||
| 26 | -{/if} | ||
| 27 | -</table> |