diff options
Diffstat (limited to 'samples/tree/04_custom_styles.html')
-rw-r--r-- | samples/tree/04_custom_styles.html | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/samples/tree/04_custom_styles.html b/samples/tree/04_custom_styles.html index 2aee7f1..a6c4de7 100644 --- a/samples/tree/04_custom_styles.html +++ b/samples/tree/04_custom_styles.html @@ -9,14 +9,13 @@ <script src="../dhtmlx/dhtmlx.js" type="text/javascript" charset="utf-8"></script> -<script src="../../codebase/connector.js" type="text/javascript" charset="utf-8"></script> <link rel="stylesheet" href="../dhtmlx/dhtmlx.css" type="text/css" charset="utf-8"> </head> <body> <div id="treeboxbox_tree" style="width:300; height:218;background-color:#f5f5f5;border :1px solid Silver; "></div> <script type="text/javascript" charset="utf-8"> tree=new dhtmlXTreeObject("treeboxbox_tree","100%","100%",0); - tree.setImagePath("../dhtmlx/tree/"); + tree.setImagePath("../dhtmlx/imgs/dhxtree_skyblue/"); //tree.enableSmartXMLParsing(true); tree.enableCheckBoxes(true); tree.loadXML("04_custom_styles_connector.php"); @@ -24,7 +23,7 @@ <div class='code'><code><span style="color: #000000"> <span style="color: #0000BB"><?php <br /> </span><span style="color: #007700">require_once(</span><span style="color: #DD0000">"../config.php"</span><span style="color: #007700">); -<br /> </span><span style="color: #0000BB">$res</span><span style="color: #007700">=</span><span style="color: #0000BB">mysql_connect</span><span style="color: #007700">(</span><span style="color: #0000BB">$mysql_server</span><span style="color: #007700">,</span><span style="color: #0000BB">$mysql_user</span><span style="color: #007700">,</span><span style="color: #0000BB">$mysql_pass</span><span style="color: #007700">); +<br /> </span><span style="color: #0000BB">$res</span><span style="color: #007700">=</span><span style="color: #0000BB"> new PDO</span><span style="color: #007700">(</span><span style="color: #0000BB">$mysql_server</span><span style="color: #007700">,</span><span style="color: #0000BB">$mysql_user</span><span style="color: #007700">,</span><span style="color: #0000BB">$mysql_pass</span><span style="color: #007700">); <br /> </span><span style="color: #0000BB">mysql_select_db</span><span style="color: #007700">(</span><span style="color: #0000BB">$mysql_db</span><span style="color: #007700">); <br /> <br /> require_once(</span><span style="color: #DD0000">"../../codebase/tree_connector.php"</span><span style="color: #007700">); |