create.html.php 1.3 KB

12345678910111213141516171819202122232425262728293031
  1. <?php include $app->getModuleRoot() . 'common/view/header.html.php';?>
  2. <?php include $app->getModuleRoot() . 'common/view/kindeditor.html.php';?>
  3. <?php js::set('moduleID', $moduleID)?>
  4. <div id="mainContent" class="main-content">
  5. <div class="main-header">
  6. <h2><?php echo $lang->faq->create;?></h2>
  7. </div>
  8. <form class="main-form form-ajax" method='post' id='dataform'>
  9. <table class='table table-form'>
  10. <tr>
  11. <th><?php echo $lang->faq->product;?></th>
  12. <td><?php echo html::select('product', $products, $productID, "class='form-control chosen' onchange=loadProductModules(this.value)")?></td>
  13. </tr>
  14. <tr>
  15. <th><?php echo $lang->faq->module;?></th>
  16. <td><?php echo html::select('module', '', '', "class='form-control chosen'")?></td>
  17. </tr>
  18. <tr>
  19. <th><?php echo $lang->faq->question;?></th>
  20. <td colspan='2'><?php echo html::input('question', '', "class='form-control'")?></td>
  21. </tr>
  22. <tr>
  23. <th><?php echo $lang->faq->answer;?></th>
  24. <td colspan='2'><?php echo html::textarea('answer', '', "class='form-control' rows=8")?></td>
  25. </tr>
  26. <tr>
  27. <td colspan='3' class='text-center form-actions'><?php echo html::submitButton() . html::backButton();?></td>
  28. </tr>
  29. </table>
  30. </div>
  31. <?php include $app->getModuleRoot() . 'common/view/footer.html.php';?>