Commit b7189dbcd114fb16f055aa6a5179ef79a611bebc

Authored by nbm
1 parent 30641954

Template for viewing an authentication source


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@4180 c91229c3-7414-0410-bfa2-8a42b809f60b
templates/ktcore/authentication/viewsource.smarty 0 → 100644
  1 +
  2 +<fieldset><legend>Standard configuration</legend>
  3 +<dl>
  4 + <dt>Name</dt>
  5 + <dd>{$source->getName()}</dd>
  6 +</dl>
  7 +<dl>
  8 + <dt>Provider</dt>
  9 + <dd>{$provider->getName()}</dd>
  10 +</dl>
  11 +<a href="?action=editsource&source_id={$source->getId()}">Edit standard configuration</a>
  12 +</fieldset>
  13 +
  14 +{assign var=provider_stuff value=$provider->showSource($source)}
  15 +{if $provider_stuff}
  16 +<fieldset><legend>Provider configuration</legend>
  17 +{$provider_stuff}
  18 +<a href="?action=editsourceprovider&source_id={$source->getId()}">Edit provider configuration</a>
  19 +</fieldset>
  20 +{/if}
... ...