Commit 1691d371871fc6edb7cceb373650e97f1ffe7c55
1 parent
e26a9a1f
Fix language a bit, and add a delete icon to delete fieldsets.
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3866 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
5 additions
and
3 deletions
templates/ktcore/metadata/listFieldsets.smarty
| 1 | -<h1>Document Fields</h1> | |
| 1 | +<h1>Document Fieldsets</h1> | |
| 2 | 2 | |
| 3 | 3 | { if $fieldsets} |
| 4 | -<h2>Existing generic document fields</h2> | |
| 4 | +<h2>Existing document fieldsets</h2> | |
| 5 | 5 | |
| 6 | 6 | <table class="pretty" cellspacing="0" cellpadding="0"> |
| 7 | 7 | <thead> |
| ... | ... | @@ -15,6 +15,8 @@ |
| 15 | 15 | {foreach from=$fieldsets item=oFieldset} |
| 16 | 16 | <tr> |
| 17 | 17 | <td> |
| 18 | + <a href="?action=delete&fFieldsetId={$oFieldset->getId()}"><img | |
| 19 | +border="0" src="{"icons/delete.png"|imgSrc}" title="Delete fieldset" /></a> | |
| 18 | 20 | <a href="?action=edit&fFieldsetId={$oFieldset->getId()}"> { $oFieldset->getName() } |
| 19 | 21 | </a> |
| 20 | 22 | </td> |
| ... | ... | @@ -43,7 +45,7 @@ |
| 43 | 45 | </table> |
| 44 | 46 | {/if} |
| 45 | 47 | |
| 46 | -<h2>Create a new document field set</h2> | |
| 48 | +<h2>Create a new document fieldset</h2> | |
| 47 | 49 | |
| 48 | 50 | <form method="POST" action="{$smarty.server.PHP_SELF}"> |
| 49 | 51 | <input type="hidden" name="action" value="new"> | ... | ... |