create.html.php 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <?php include $app->getModuleRoot() . 'common/view/header.html.php';?>
  2. <div id='mainMenu' class='clearfix'>
  3. <div class='btn-toolbar pull-left'>
  4. <div class='page-title'>
  5. <span title='<?php echo $title;?>' class='text'><?php echo $title;?></span>
  6. </div>
  7. </div>
  8. </div>
  9. <div id='mainContent' class='main-content'>
  10. <div class='center-block'>
  11. <form method='post' target='hiddenwin' id='dataform' class="form-ajax">
  12. <table class='table table-form'>
  13. <tr>
  14. <th><?php echo $lang->dataview->group;?></th>
  15. <td><?php echo html::select('group', $groups, '', "class='form-control chosen' data-drop_direction='down'");?></td>
  16. </tr>
  17. <tr>
  18. <th class='thWidth'><?php echo $lang->dataview->name;?></th>
  19. <td class='w-400px'>
  20. <?php echo html::input('name', '', 'class="form-control"');?>
  21. </td>
  22. </tr>
  23. <tr>
  24. <th><?php echo $lang->dataview->code;?></th>
  25. <td><?php echo html::input('code', '', "class='form-control'");?></td>
  26. </tr>
  27. <tr class="error hidden"><th></th><td></td></tr>
  28. <tr>
  29. <td colspan='2' class='form-actions text-center'>
  30. <?php echo html::submitButton() . html::hidden('sql') . html::hidden('fields') . html::hidden('langs');?>
  31. </td>
  32. </tr>
  33. </table>
  34. </form>
  35. </div>
  36. </div>
  37. <?php include $app->getModuleRoot() . 'common/view/footer.html.php';?>