<?php
/**
 * The manage privilege view of group module of ZDOO.
 *
 * @copyright   Copyright 2009-2018 青岛易软天创网络科技有限公司(QingDao Nature Easy Soft Network Technology Co,LTD, www.cnezsoft.com)
 * @license     ZPL (http://zpl.pub/page/zplv12.html)
 * @author      Xiying Guan <guanxiying@xirangit.com>
 * @package     group
 * @version     $Id$
 * @link        http://www.zdoo.com
 */
?>
<?php include $app->getModuleRoot() . 'common/view/header.html.php';?>
<form class='form' id='ajaxForm' method='post'>
  <div class='panel'>
    <div class='panel-body'>
      <?php foreach($lang->trade->settingList as $key => $value):?>
      <label class='checkbox-inline'>
        <input type='checkbox' name='<?php echo $key;?>' value='1' <?php if(!empty($config->trade->settings->$key)) echo "checked='checked'";?>> <?php echo $value;?>
      </label>
      <?php endforeach;?>
      <div class='form-actions'><?php echo html::submitButton() . html::hidden('foo'); // Just a var, to make sure $_POST is not empty.?></div>
    </div>
  </div>
</form>
<?php include $app->getModuleRoot() . 'common/view/footer.html.php';?>
