/adei/ui

To get this branch, use:
bzr branch http://darksoft.org/webbzr/adei/ui

« back to all changes in this revision

Viewing changes to modules/sourcetree.php

  • Committer: Suren A. Chilingaryan
  • Date: 2008-10-29 03:02:24 UTC
  • mto: This revision was merged to the branch mainline in revision 116.
  • Revision ID: csa@dside.dyndns.org-20081029030224-yc3wy2dti4htlfxf
New version of dhtmlxmenu and dhtmlxtree is added

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?php
 
2
 
 
3
$sourcetree_title = _("Source Tree");
 
4
 
 
5
function sourcetreeJS() {
 
6
    global $DHTMLX_ICONSET;
 
7
    if (file_exists("includes/dhtmlx/imgs/$DHTMLX_ICONSET"))
 
8
        $iconset = "includes/dhtmlx/imgs/$DHTMLX_ICONSET/";
 
9
    else
 
10
        $iconset = "includes/dhtmlx/imgs/";
 
11
?>
 
12
 
 
13
    srctree=new dhtmlXTreeObject("srctree_div","100%","100%",0);
 
14
    srctree.setImagePath("<?=$iconset?>");
 
15
    srctree.setXMLAutoLoading(adei.GetServiceURL("srctree")); 
 
16
    srctree.setDataMode("xml");
 
17
    srctree.enableCheckBoxes(1);
 
18
    srctree.enableThreeStateCheckboxes(true);
 
19
    srctree.loadXML(adei.GetServiceURL("srctree"));
 
20
<?
 
21
}
 
22
 
 
23
function sourcetreePage() {
 
24
?>
 
25
    <div id="srctree_div"/>
 
26
<?}?>
 
 
b'\\ No newline at end of file'