comment_setting.tpl.php 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <?php
  2. defined('IN_ADMIN') or exit('No permission resources.');
  3. include $this->admin_tpl('header', 'admin');
  4. ?>
  5. <div class="pad-10">
  6. <form action="?m=comment&c=comment_admin&a=init" method="post" id="myform">
  7. <fieldset>
  8. <legend><?php echo L('comments_module_configuration')?></legend>
  9. <table width="100%" class="table_form">
  10. <tr>
  11. <th width="120"><?php echo L('comment_on_whether_to_allow_visitors')?>:</th>
  12. <td class="y-bg"><input type="checkbox" name="guest" value="1" <?php if ($data['guest']){echo 'checked';}?> /></td>
  13. </tr>
  14. <tr>
  15. <th width="120"><?php echo L("check_comment")?>:</th>
  16. <td class="y-bg"><input type="checkbox" name="check" value="1" <?php if ($data['check']){echo 'checked';}?> /></td>
  17. </tr>
  18. <tr>
  19. <th width="120"><?php echo L('whether_to_validate')?>:</th>
  20. <td class="y-bg"><input type="checkbox" name="code" value="1" <?php if ($data['code']){echo 'checked';}?> /></td>
  21. </tr>
  22. <tr>
  23. <th width="120"><?php echo L('comments_on_points_awards')?>:</th>
  24. <td class="y-bg"><input type="input" name="add_point" value="<?php echo isset($data['add_point']) ? $data['add_point'] : '0'?>" /> <?php echo L('to_operate')?></td>
  25. </tr>
  26. <tr>
  27. <th width="120"><?php echo L('be_deleted_from_the_review_points')?>:</th>
  28. <td class="y-bg"><input type="input" name="del_point" value="<?php echo isset($data['del_point']) ? $data['del_point'] : '0'?>" /> <?php echo L('to_operate')?></td>
  29. </tr>
  30. </table>
  31. <div class="bk15"></div>
  32. <input type="submit" id="dosubmit" name="dosubmit" class="button" value="<?php echo L('submit')?>" />
  33. </fieldset>
  34. </form>
  35. </div>
  36. </body>
  37. </html>