<?php
/**
 * The sso view file of admin module of ZenTaoPMS.
 *
 * @copyright   Copyright 2009-2015 青岛易软天创网络科技有限公司(QingDao Nature Easy Soft Network Technology Co,LTD, www.cnezsoft.com)
 * @license     ZPL (http://zpl.pub/page/zplv11.html)
 * @author      Yidong Wang <yidong@cnezsoft.com>
 * @package     admin
 * @version     $Id$
 * @link        http://www.zentao.net
 */
?>
<?php include '../../common/view/header.html.php'; ?>
<div class='container mw-700px'>
  <div id='titlebar'>
    <div class='heading'>
      <strong><?php echo $lang->admin->sso;?></strong>
      <small class='text-muted'> <?php echo $lang->sso->settings;?> <?php echo html::icon('pencil');?></small>
    </div>
  </div>
  <form class='form-condensed' method='post' id='dataform'>
    <table class='table table-form'>
      <tr>
        <th class='rowhead w-120px'><?php echo $lang->sso->turnon; ?></th>
        <td><?php echo html::radio('turnon', $lang->sso->turnonList, $turnon);?></td>
      </tr>
      <tr>
        <th><?php echo $lang->sso->addr; ?></th>
        <td><?php echo html::input('addr', $addr, "class='form-control' placeholder='{$lang->sso->addrNotice}'");?></td>
      </tr>
      <tr>
        <th><?php echo $lang->sso->code; ?></th>
        <td><?php echo html::input('code', $code, "class='form-control'");?></td>
      </tr>
      <tr>
        <th><?php echo $lang->sso->key; ?></th>
        <td><?php echo html::input('key', $key, "class='form-control'");?></td>
      </tr>
      <tr>
         <td colspan='2' class='text-center'>
           <?php echo html::submitButton(); ?>
         </td>
       </tr>
    </table>
  </form>
  <div class='alert alert-info'><?php echo $lang->sso->help?></div>
</div>
<?php include '../../common/view/footer.html.php';?>
