xxb/module/common/view/treeview.html.php
2023-10-23 15:51:36 +08:00

24 lines
728 B
PHP
Executable File

<?php
/**
* The treeview view of common module of XXB.
*
* @copyright Copyright 2009-2023 禅道软件(青岛)有限公司(ZenTao Software (Qingdao) Co., Ltd., www.zentao.net)
* @license ZOSL (https://zpl.pub/page/zoslv1.html)
* @author Chunsheng Wang <chunsheng@cnezsoft.com>
* @package common
* @version $Id: treeview.html.php 4029 2016-08-26 06:50:41Z liugang $
* @link https://xuanim.com
*/
css::import($jsRoot . 'jquery/treeview/min.css');
js::import($jsRoot . 'jquery/treeview/min.js');
?>
<script>
$(function()
{
$('.tree').each(function()
{
var $this = $(this);
$this.treeview($.extend({collapsed: false, unique: false}, $this.data()));
});
})</script>