Commit 48cb3be68e851b30ad30d9c52471239c24c870bb
1 parent
afb9b806
Template for authentication management
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4166 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
28 additions
and
0 deletions
templates/ktcore/authentication/manage.smarty
0 → 100644
| 1 | +<h2>Authentication Sources</h2> | ||
| 2 | + | ||
| 3 | +{if $providers} | ||
| 4 | +<form method="POST"> | ||
| 5 | +<fieldset><legend>Add an authentication source</legend> | ||
| 6 | +<input type="hidden" name="action" value="newsource" /> | ||
| 7 | + | ||
| 8 | +{foreach from=$fields item=oWidget} | ||
| 9 | + {$oWidget->render()} | ||
| 10 | +{/foreach} | ||
| 11 | + | ||
| 12 | +<div class="form_actions "> | ||
| 13 | + <input type="submit" name="submit" value="Add a new source"> | ||
| 14 | +</div> | ||
| 15 | +</fieldset> | ||
| 16 | +</form> | ||
| 17 | +{/if} | ||
| 18 | + | ||
| 19 | +{if $aSources} | ||
| 20 | +<h3>Existing sources</h3> | ||
| 21 | + | ||
| 22 | +<ul> | ||
| 23 | +{foreach from=$aSources item=oSource} | ||
| 24 | + <li> | ||
| 25 | +{/foreach} | ||
| 26 | +</ul> | ||
| 27 | +{/if} | ||
| 28 | + |