Commit 1ca1a335916eddbba8596d99758b882855b1ad3f

Authored by Neil Blakey-Milner
1 parent e66ce73a

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
templates/ktcore/metadata/listFieldsets.smarty
1 -<h1>Document Fields</h1> 1 +<h1>Document Fieldsets</h1>
2 2
3 { if $fieldsets} 3 { if $fieldsets}
4 -<h2>Existing generic document fields</h2> 4 +<h2>Existing document fieldsets</h2>
5 5
6 <table class="pretty" cellspacing="0" cellpadding="0"> 6 <table class="pretty" cellspacing="0" cellpadding="0">
7 <thead> 7 <thead>
@@ -15,6 +15,8 @@ @@ -15,6 +15,8 @@
15 {foreach from=$fieldsets item=oFieldset} 15 {foreach from=$fieldsets item=oFieldset}
16 <tr> 16 <tr>
17 <td> 17 <td>
  18 + <a href="?action=delete&fFieldsetId={$oFieldset->getId()}"><img
  19 +border="0" src="{"icons/delete.png"|imgSrc}" title="Delete fieldset" /></a>
18 <a href="?action=edit&fFieldsetId={$oFieldset->getId()}"> { $oFieldset->getName() } 20 <a href="?action=edit&fFieldsetId={$oFieldset->getId()}"> { $oFieldset->getName() }
19 </a> 21 </a>
20 </td> 22 </td>
@@ -43,7 +45,7 @@ @@ -43,7 +45,7 @@
43 </table> 45 </table>
44 {/if} 46 {/if}
45 47
46 -<h2>Create a new document field set</h2> 48 +<h2>Create a new document fieldset</h2>
47 49
48 <form method="POST" action="{$smarty.server.PHP_SELF}"> 50 <form method="POST" action="{$smarty.server.PHP_SELF}">
49 <input type="hidden" name="action" value="new"> 51 <input type="hidden" name="action" value="new">