comment.php 493 B

123456789101112131415161718192021
  1. <?php
  2. //是否启用ajax
  3. $ajax = false;
  4. if($ajax)
  5. {
  6. $view->fetch('#dever_comment_list@class', 'dever-loadpage')->fetch('#dever_comment_list@dever-url', '<{Dever::load("forum/posts.info#comment_link")}>');
  7. }
  8. else
  9. {
  10. $view->fetch('#dever_comment_list', '<{Dever::view("forum/comment_list")}>');
  11. }
  12. $view
  13. ->fetch('#dever_create_comment@dever-send', '<{Dever::load("forum/review._url")}>')
  14. ->fetch('#dever_comment_show@style', '<{Dever::load("forum/posts.info#comment_show")}>')
  15. ->display();