score.html.php 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <?php
  2. /**
  3. * The score view file of custom module of ZenTaoPMS.
  4. * @copyright Copyright 2009-2023 禅道软件(青岛)有限公司(ZenTao Software (Qingdao) Co., Ltd. www.cnezsoft.com)
  5. * @license ZPL(http://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
  6. * @author Memory <lvtao@cnezsoft.com>
  7. * @package custom
  8. * @version $Id$
  9. * @link https://www.zentao.net
  10. */
  11. ?>
  12. <?php include $app->getModuleRoot() . 'common/view/header.html.php';?>
  13. <div id='mainContent' class='main-content'>
  14. <form class="load-indicator main-form form-ajax" method='post'>
  15. <div class='main-header'>
  16. <div class='heading'>
  17. <strong><?php echo $lang->custom->scoreTitle?></strong>
  18. </div>
  19. </div>
  20. <table class='table table-form'>
  21. <tr>
  22. <th class='w-300px'><?php echo $lang->custom->scoreTitle;?></th>
  23. <td class='w-150px text-center'>
  24. <?php $checkedKey = isset($config->global->scoreStatus) ? $config->global->scoreStatus : 0;?>
  25. <?php foreach($lang->custom->scoreStatus as $key => $value):?>
  26. <label class="radio-inline"><input type="radio" name="score" value="<?php echo $key?>"<?php echo $key == $checkedKey ? " checked='checked'" : ''?> id="score<?php echo $key;?>"><?php echo $value;?></label>
  27. <?php endforeach;?>
  28. </td>
  29. <td class='form-actions'>
  30. <?php echo html::submitButton();?>
  31. <?php common::printLink('score', 'reset', '', "<i class='icon-refresh'></i> " . $lang->custom->scoreReset, '', ' id="scoreRefresh" class="btn btn-wide iframe" data-width="480"', true, true);?>
  32. </td>
  33. </tr>
  34. </table>
  35. </form>
  36. </div>
  37. <script>
  38. $(function()
  39. {
  40. $('#mainMenu #scoreTab').addClass('btn-active-text');
  41. })
  42. </script>
  43. <?php include '../../common/view/footer.html.php';?>