clientareasecurity.tpl 1.3 KB

1234567891011121314151617181920212223242526272829303132333435
  1. {*
  2. **********************************************************
  3. * Developed by: Team Theme Metro
  4. * Website: http://www.thememetro.com
  5. **********************************************************
  6. *}
  7. {if $showSsoSetting}
  8. <div class="card">
  9. <div class="card-body">
  10. <h3 class="card-title">{lang key='sso.title'}</h3>
  11. {include file="$template/includes/alert.tpl" type="success" msg="{lang key='sso.summary'}"}
  12. <form id="frmSingleSignOn">
  13. <input type="hidden" name="token" value="{$token}" />
  14. <input type="hidden" name="action" value="security" />
  15. <input type="hidden" name="toggle_sso" value="1" />
  16. <div class="p-2">
  17. <input type="checkbox" name="allow_sso" class="toggle-switch-success" id="inputAllowSso"{if $isSsoEnabled} checked{/if}>
  18. &nbsp;
  19. <span id="ssoStatusTextEnabled"{if !$isSsoEnabled} style="display: none;"{/if}>
  20. {lang key='sso.enabled'}
  21. </span>
  22. <span id="ssoStatusTextDisabled"{if $isSsoEnabled} style="display: none;"{/if}>
  23. {lang key='sso.disabled'}
  24. </span>
  25. </div>
  26. </form>
  27. <p>{lang key='sso.disablenotice'}</p>
  28. </div>
  29. </div>
  30. {/if}