create.html.php 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <?php include $app->getModuleRoot() . 'common/view/header.html.php';?>
  2. <?php include $app->getModuleRoot() . 'common/view/datepicker.html.php';?>
  3. <?php include $app->getModuleRoot() . 'common/view/kindeditor.html.php';?>
  4. <div id="mainContent" class="main-content fade">
  5. <div class="center-block">
  6. <div class="main-header">
  7. <h2><?php echo $lang->demandpool->create;?></h2>
  8. </div>
  9. <form class="load-indicator main-form form-ajax" method='post' enctype='multipart/form-data' id='dataform'>
  10. <table class="table table-form">
  11. <tbody>
  12. <tr>
  13. <th class='w-140px'><?php echo $lang->demandpool->name;?></th>
  14. <td><?php echo html::input('name', '', "class='form-control'");?></td>
  15. </tr>
  16. <tr>
  17. <th><?php echo $lang->demandpool->owner;?></th>
  18. <td><?php echo html::select('owner[]', $users, $app->user->account, "class='form-control chosen' multiple");?></td>
  19. </tr>
  20. <tr>
  21. <th><?php echo $lang->demandpool->reviewer;?></th>
  22. <td><?php echo html::select('reviewer[]', $users, '', "class='form-control chosen' multiple");?></td>
  23. </tr>
  24. <tr>
  25. <th><?php echo $lang->demandpool->products;?></th>
  26. <td><?php echo html::select('products[]', $products, '', "class='form-control picker-select' multiple data-placeholder='" . $lang->demandpool->bindProductsTips . "'");?></td>
  27. </tr>
  28. <tr>
  29. <th><?php echo $lang->demandpool->desc;?></th>
  30. <td><?php echo html::textarea('desc', '', "class='form-control'");?></td>
  31. </tr>
  32. <tr>
  33. <th><?php echo $lang->demandpool->acl;?></th>
  34. <td><?php echo nl2br(html::radio('acl', $lang->demandpool->aclList, 'open', '', 'block'));?></td>
  35. </tr>
  36. <tr>
  37. <td class='form-actions text-center' colspan='2'><?php echo html::submitButton() . html::backButton();?></td>
  38. </tr>
  39. </tbody>
  40. </table>
  41. </form>
  42. </div>
  43. </div>
  44. <?php include $app->getModuleRoot() . 'common/view/footer.html.php';?>