This repository has been archived on 2024-11-28. You can view files and clone it, but cannot push or open issues or pull requests.
Incam_SGD/templates/ktcore/principals/orgadmin.smarty

45 lines
1.0 KiB
Plaintext

<h2>{i18n}Orgnisation Administration{/i18n}</h2>
<p class="descriptiveText"><strong>FIXME</strong> Overview of Organisations.</p>
{if ($for_edit === true)}
<form action="{$smarty.server.PHP_SELF}" method="POST">
<fieldset>
<legend>{i18n}Change organisation details{/i18n}</legend>
asd
<input type="hidden" name="action" value="updateOrg" />
<input type="hidden" name="org_id" value="{$edit_org->getId()}" />
{foreach item=oWidget from=$edit_fields}
{$oWidget->render()}
{/foreach}
<div class="form_actions">
<input type="submit" value="{i18n}update organisation information{/i18n}" />
</div class="form_actions">
</fieldset>
</form>
{/if}
<table class="listing">
<thead>
<tr>
<th>{i18n}Organisation Name{/i18n}</th>
<th>{i18n}Edit{/i18n}</th>
</tr>
</thead>
<tbody>
{foreach item=oOrg from=$org_list}
<tr>
<td>{$oOrg->getName()}</td>
<td><a href="{addQS}org_id={$oOrg->getId()}{/addQS}" class="ktAction ktEdit">{i18n}Edit{/i18n}</a></td>
</tr>
{/foreach}
</tbody>
</table>