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 62 <table class="listing">
63 63 <thead>
64 64 <tr>
65   - <th colspan="2">{i18n}Name{/i18n}</th>
  65 + <th>{i18n}Name{/i18n}</th>
66 66 <th>{i18n}Description{/i18n}</th>
67 67 <th>{i18n}Edit{/i18n}</th>
  68 + <th>{i18n}Delete{/i18n}</th>
68 69 </tr>
69 70 </thead>
70 71  
71 72 <tbody>
72 73 {foreach item=oLinkType from=$links}
73 74 <tr class="{cycle values=even,odd}">
74   - <td>
75   - <input type="checkbox" name="fLinksToDelete[]" value="{$oLinkType->iId}" />
76   - </td>
77 75 <td>{$oLinkType->getName()}</td>
78 76 <td class="descriptiveText">{$oLinkType->getDescription()}</td>
79 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 79 </tr>
81 80 {/foreach}
82 81 </tbody>
... ...