Commit 10a5d66a1188d6686e2b2b171560f938d83799cd

Authored by Neil Blakey-Milner
1 parent 37af88e2

Add (unused) edit unit template.


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4832 c91229c3-7414-0410-bfa2-8a42b809f60b
templates/ktcore/principals/editunit.smarty 0 → 100644
  1 +<h2>Edit Unit Details</h2>
  2 +
  3 +<p class="descriptiveText">{i18n arg_name=$edit_unit->getName()}Change
  4 +the system's information about unit <strong>#name</strong>{/i18n}</p>
  5 +
  6 +<form action="{$smarty.server.PHP_SELF}" method="POST">
  7 + <input type="hidden" name="action" value="saveUnit" />
  8 + <input type="hidden" name="unit_id" value="{$edit_unit->getId()}" />
  9 + <fieldset>
  10 + <legend>{i18n}Change Unit Details{/i18n}</legend>
  11 + <p class="descriptiveText">{i18n}Users may be classed together as Units and these units may be used to set security privileges throughout the document management system.{/i18n}</p>
  12 + {foreach item=oWidget from=$edit_fields}
  13 + {$oWidget->render()}
  14 + {/foreach}
  15 + <div class="form_actions">
  16 + <input type="submit" value="{i18n}save changes to unit{/i18n}" />
  17 + <a href="{addQS}action=main{/addQS}" class="ktCancelLink">{i18n}Cancel{/i18n}</a>
  18 + </div>
  19 + </fieldset>
  20 + </form>