Commit 6be1d9659d4ccb76a0ed415cf0921a8d78dca6cb

Authored by bshuttle
1 parent 32f2d651

make link-deletion consistent with other types.


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4642 c91229c3-7414-0410-bfa2-8a42b809f60b
templates/ktcore/document/admin/linktypesadmin.smarty
@@ -62,21 +62,20 @@ links of that type within the system.{/i18n}</p> @@ -62,21 +62,20 @@ links of that type within the system.{/i18n}</p>
62 <table class="listing"> 62 <table class="listing">
63 <thead> 63 <thead>
64 <tr> 64 <tr>
65 - <th colspan="2">{i18n}Name{/i18n}</th> 65 + <th>{i18n}Name{/i18n}</th>
66 <th>{i18n}Description{/i18n}</th> 66 <th>{i18n}Description{/i18n}</th>
67 <th>{i18n}Edit{/i18n}</th> 67 <th>{i18n}Edit{/i18n}</th>
  68 + <th>{i18n}Delete{/i18n}</th>
68 </tr> 69 </tr>
69 </thead> 70 </thead>
70 71
71 <tbody> 72 <tbody>
72 {foreach item=oLinkType from=$links} 73 {foreach item=oLinkType from=$links}
73 <tr class="{cycle values=even,odd}"> 74 <tr class="{cycle values=even,odd}">
74 - <td>  
75 - <input type="checkbox" name="fLinksToDelete[]" value="{$oLinkType->iId}" />  
76 - </td>  
77 <td>{$oLinkType->getName()}</td> 75 <td>{$oLinkType->getName()}</td>
78 <td class="descriptiveText">{$oLinkType->getDescription()}</td> 76 <td class="descriptiveText">{$oLinkType->getDescription()}</td>
79 <td><a href="{$smarty.server.PHP_SELF}?action=edit&fLinkTypeId={$oLinkType->iId}" class="ktAction ktEdit">{i18n}edit link type{/i18n}</a></td> 77 <td><a href="{$smarty.server.PHP_SELF}?action=edit&fLinkTypeId={$oLinkType->iId}" class="ktAction ktEdit">{i18n}edit link type{/i18n}</a></td>
  78 + <td><a href="{$smarty.server.PHP_SELF}?action=delete&fLinksToDelete[]={$oLinkType->iId}" class="ktAction ktDelete">{i18n}edit link type{/i18n}</a></td>
80 </tr> 79 </tr>
81 {/foreach} 80 {/foreach}
82 </tbody> 81 </tbody>