edit.html.php 1.3 KB

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