PageRenderTime 51ms CodeModel.GetById 26ms RepoModel.GetById 0ms app.codeStats 0ms

/legacy/templates/includes/forums/split.template.php

http://novaboard.googlecode.com/
PHP | 44 lines | 44 code | 0 blank | 0 comment | 3 complexity | e76f3a601282a9b31c5c7721d4618d2e MD5 | raw file
Possible License(s): AGPL-3.0
  1. <?php if (!defined('NOVA_RUN')){echo "<h1>ACCESS DENIED</h1>You cannot access this file directly.";exit();} ?>
  2. <?php if ($template_hook=='start'){ ?>
  3. <?php }elseif ($template_hook=='1'){ ?>
  4. <!-- split form -->
  5. <table class="forum-board-forum-head" cellpadding="0" cellspacing="0">
  6. <tr><td class="forum-topic-subject"><?php echo $lang['split_title']; ?></td></tr>
  7. <tr><td class="forum-index-stats-sub"> </td></tr>
  8. </table>
  9. <form name="settings" method="post" action="<?php echo nova_link("index.php?func=split", "split"); ?>">
  10. <table class="forum-index" cellpadding="0" cellspacing="0">
  11. <tr><td class="forum-index-stats-header forum-index-top"><?php echo $lang['split_topic']; ?></td></tr>
  12. <tr><td class="forum-jump-content forum-index-top forum-index-bottom">
  13. <?php echo $lang['split_details']; ?>
  14. <br /><br />
  15. <div style="width: 30%; float: left;">
  16. <strong><?php echo $lang['split_topic_title']; ?></strong>
  17. </div>
  18. <div style="width: 70%; float: left;">
  19. <input type="text" name="title" value="<?php echo "$title"; ?>" />
  20. <br /><br />
  21. </div>
  22. <div style="width: 30%; float: left;">
  23. <strong><?php echo $lang['split_topic_desc']; ?></strong>
  24. </div>
  25. <div style="width: 70%; float: left;">
  26. <input type="text" name="description" value="<?php echo "$description"; ?>" />
  27. <br /><br />
  28. </div>
  29. </td></tr>
  30. <tr><td class="forum-index-stats-header forum-index-top" style="text-align: center;">
  31. <input type="hidden" name="post" value="<?php echo "$post"; ?>" />
  32. <?php if ($can_split_topics=='1'){ ?>
  33. <input type="hidden" name="token_id" value="<?php echo "$token_id"; ?>" />
  34. <input type="hidden" name="<?php echo "$token_name"; ?>" value="<?php echo "$token"; ?>" />
  35. <?php } ?>
  36. <input type="submit" class="submit-button img-submit" value="<?php echo $lang['button_submit']; ?>" />
  37. </td></tr>
  38. </table>
  39. </form>
  40. <table class="forum-index-forum-footer" cellpadding="0" cellspacing="0">
  41. <tr><td class="forum-index-forum-footer-contents"> </td></tr>
  42. </table>
  43. <?php }elseif ($template_hook=='end'){ ?>
  44. <?php } ?>