setfulltextsearch.html.php 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <?php
  2. /**
  3. * The set js view file of workflow module of ZDOO.
  4. *
  5. * @copyright Copyright 2009-2020 青岛易软天创网络科技有限公司(QingDao Nature Easy Soft Network Technology Co,LTD, www.cnezsoft.com)
  6. * @license 商业软件,非开源软件
  7. * @author Gang Liu <liugang@easycorp.ltd>
  8. * @package workflow
  9. * @version $Id$
  10. * @link http://www.zdoo.com
  11. */
  12. ?>
  13. <?php include '../../workflow/view/header.html.php';?>
  14. <div class='space space-sm'></div>
  15. <div class='main-row'>
  16. <div class='side-col'>
  17. <?php include '../../workflow/view/side.html.php';?>
  18. </div>
  19. <div class='main-col'>
  20. <div class='panel'>
  21. <div class='panel-heading'>
  22. <strong><?php echo $lang->workflow->fullTextSearch->common;?></strong>
  23. </div>
  24. <div class='panel-body'>
  25. <form id='ajaxForm' method='post'>
  26. <table class="table table-form">
  27. <tr>
  28. <th><?php echo $lang->workflow->fullTextSearch->titleField;?></th>
  29. <td><?php echo html::select('titleField', $fields, $flow->titleField, "class='form-control chosen' data-placeholder='{$lang->workflow->placeholder->titleField}'");?></td>
  30. <td></td>
  31. </tr>
  32. <tr>
  33. <th><?php echo $lang->workflow->fullTextSearch->contentField;?></th>
  34. <td><?php echo html::select('contentField[]', $fields, $flow->contentField, "class='form-control chosen' multiple data-placeholder='{$lang->workflow->placeholder->contentField}'");?></td>
  35. <td></td>
  36. </tr>
  37. <tr>
  38. <th></th>
  39. <td colspan='2'>
  40. <div class='alert alert-warning'><?php echo $lang->workflow->tips->fullTextSearch;?></div>
  41. </td>
  42. </tr>
  43. <tr id='resultTR' class='hide'>
  44. <th></th>
  45. <td colspan='2'>
  46. <ul id='resultBox'></ul>
  47. </td>
  48. </tr>
  49. <tr>
  50. <th></th>
  51. <td class='form-actions' colspan='2'>
  52. <?php echo html::submitButton();?>
  53. <?php if($flow->titleField) extCommonModel::printLink('workflow', 'buildIndex', "module={$flow->module}", $lang->workflow->buildIndex, "id='buildIndex' class='btn btn-secondary' data-loading='{$lang->loading}' data-confirm='{$lang->workflow->tips->buildIndex}'");?>
  54. </td>
  55. </tr>
  56. </table>
  57. </form>
  58. </div>
  59. </div>
  60. </div>
  61. </div>
  62. <?php include $app->getModuleRoot() . 'common/view/footer.html.php';?>