PageRenderTime 743ms CodeModel.GetById 15ms RepoModel.GetById 0ms app.codeStats 0ms

/baser/plugins/blog/views/blog_comments/admin/index.php

https://github.com/hashing/basercms
PHP | 41 lines | 21 code | 2 blank | 18 comment | 1 complexity | b35c9e3d4c5f6b76e1752e84ba00f4f4 MD5 | raw file
Possible License(s): MIT
  1. <?php
  2. /* SVN FILE: $Id$ */
  3. /**
  4. * [ADMIN] ブログ記事コメント 一覧
  5. *
  6. * PHP versions 5
  7. *
  8. * baserCMS : Based Website Development Project <http://basercms.net>
  9. * Copyright 2008 - 2012, baserCMS Users Community <http://sites.google.com/site/baserusers/>
  10. *
  11. * @copyright Copyright 2008 - 2012, baserCMS Users Community
  12. * @link http://basercms.net baserCMS Project
  13. * @package baser.plugins.blog.views
  14. * @since baserCMS v 0.1.0
  15. * @version $Revision$
  16. * @modifiedby $LastChangedBy$
  17. * @lastmodified $Date$
  18. * @license http://basercms.net/license/index.html
  19. */
  20. $bcBaser->js(array(
  21. 'admin/jquery.baser_ajax_data_list',
  22. 'admin/jquery.baser_ajax_batch',
  23. 'admin/baser_ajax_data_list_config',
  24. 'admin/baser_ajax_batch_config'
  25. ));
  26. ?>
  27. <script type="text/javascript">
  28. $(function(){
  29. $.baserAjaxDataList.init();
  30. $.baserAjaxBatch.init({ url: $("#AjaxBatchUrl").html()});
  31. });
  32. </script>
  33. <?php if(!empty($this->params['pass'][1])): ?>
  34. <div id="AjaxBatchUrl" style="display:none"><?php $bcBaser->url(array('controller' => 'blog_comments', 'action' => 'ajax_batch', $blogContent['BlogContent']['id'], $this->params['pass'][1])) ?></div>
  35. <?php else: ?>
  36. <div id="AjaxBatchUrl" style="display:none"><?php $bcBaser->url(array('controller' => 'blog_comments', 'action' => 'ajax_batch', $blogContent['BlogContent']['id'], 0)) ?></div>
  37. <?php endif ?>
  38. <div id="AlertMessage" class="message" style="display:none"></div>
  39. <div id="DataList"><?php $bcBaser->element('blog_comments/index_list') ?></div>