addsqlvar.html.php 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <?php
  2. /**
  3. * The add sql var view file of workflowfield module of ZDOO.
  4. *
  5. * @copyright Copyright 2009-2016 青岛易软天创网络科技有限公司(QingDao Nature Easy Soft Network Technology Co,LTD, www.cnezsoft.com)
  6. * @license 商业软件,非开源软件
  7. * @author Gang Liu <liugang@cnezsoft.com>
  8. * @package workflowfield
  9. * @version $Id$
  10. * @link http://www.zdoo.com
  11. */
  12. ?>
  13. <?php include '../../common/view/header.modal.html.php';?>
  14. <form id='addVarForm' method='post' action='<?php echo inlink('addSqlVar');?>'>
  15. <div class='panel mg-0'>
  16. <table class='table table-condensed table-borderless'>
  17. <thead>
  18. <tr class='text-center'>
  19. <th class='w-100px'><?php echo $lang->workflowfield->varName;?></th>
  20. <th class='w-100px'><?php echo $lang->workflowfield->showName;?></th>
  21. <th class='w-p50'><?php echo $lang->workflowfield->requestType;?></th>
  22. <th><?php echo $lang->workflowfield->default;?></th>
  23. </tr>
  24. </thead>
  25. <tbody class='text-center'>
  26. <tr>
  27. <td><?php echo html::input('varName', '', "class='form-control'");?></td>
  28. <td><?php echo html::input('showName', '', "class='form-control'");?></td>
  29. <td>
  30. <div id='requestType' class='input-group'>
  31. <span class='input-group-addon' style='text-align: left;'>
  32. <?php echo html::radio('requestType', $lang->workflowfield->requestTypeList);?>
  33. </span>
  34. <?php unset($lang->workflowfield->optionTypeList['custom']);?>
  35. <?php unset($lang->workflowfield->optionTypeList['sql']);?>
  36. <?php echo html::select('selectList', $lang->workflowfield->optionTypeList, '', "class='form-control' style='display:none;'");?>
  37. </div>
  38. </td>
  39. <td><?php echo html::input('default', '', "class='form-control'");?></td>
  40. </tr>
  41. </tbody>
  42. <tfoot>
  43. <tr><td colspan='4' class='text-center form-actions'><?php echo html::submitButton();?></td></tr>
  44. </tfoot>
  45. </table>
  46. </div>
  47. </form>
  48. <?php include '../../common/view/footer.modal.html.php';?>