manage.smarty 636 Bytes
<h2>{i18n}Authentication Sources{/i18n}</h2>

{if $providers}
<form method="POST">
<fieldset><legend>{i18n}Add an authentication source{/i18n}</legend>
<input type="hidden" name="action" value="newsource" />

{foreach from=$fields item=oWidget}
  {$oWidget->render()}
{/foreach}

<div class="form_actions ">
  <input type="submit" name="submit" value="{i18n}Add a new source{/i18n}" />
</div>
</fieldset>
</form>
{/if}

{if $sources}
<h3>{i18n}Existing sources{/i18n}</h3>

<ul>
{foreach from=$sources item=oSource}
  <li><a href="?action=viewsource&source_id={$oSource->getId()}">{$oSource->getName()}</a></li>
{/foreach}
</ul>
{/if}