/adei/trunk

To get this branch, use:
bzr branch http://darksoft.org/webbzr/adei/trunk
79 by Suren A. Chilingaryan
New version of dhtmlxmenu and dhtmlxtree is added
1
<?php
80 by Suren A. Chilingaryan
Few steps on source tree integration in javascript frontend
2
$virtual_title = _("Source Tree");
3
4
function virtualJS() {
79 by Suren A. Chilingaryan
New version of dhtmlxmenu and dhtmlxtree is added
5
?>
200 by Suren A. Chilingaryan
Initial commit of gestures support for iDevices by Toni Pirhonen, Fix IE support broken by revision r196
6
    function virtual_moduleSetDisplayInfo(v, module_name) {
7
	if (module_name == "virtual") {
8
	    v.UpdateTreeGeometry();
9
	}
10
    }
11
12
    function virtual_popupSetDisplayInfo(v, status) {
13
	if (status) {
14
	    virtual_moduleSetDisplayInfo(v, control_modules.current_module);
15
	} 
16
    }
17
    
18
    function virtual_geometry(v) {
19
	virtual_popupSetDisplayInfo(v, adei.popup.popup_states["controls"]);
20
    }
21
22
    virtual_control = new VIRTUAL("virtual_div", "virtual", adei.superpopup_geometry_node);
117 by Suren A. Chilingaryan
Multiple axis support in JavaScript, multiple fixups in source tree handling
23
    adei.RegisterVirtualControl(virtual_control);
200 by Suren A. Chilingaryan
Initial commit of gestures support for iDevices by Toni Pirhonen, Fix IE support broken by revision r196
24
    
25
    if (adei.popup) {
26
	adei.popup.RegisterOffCallback("controls", virtual_popupSetDisplayInfo, virtual_control);
27
	adei.popup.RegisterOnCallback("controls", virtual_popupSetDisplayInfo, virtual_control);
28
	adei.popup.RegisterReHeightCallback(virtual_geometry, virtual_control);
29
    }
30
    control_modules.RegisterCallback(virtual_moduleSetDisplayInfo, virtual_control);
79 by Suren A. Chilingaryan
New version of dhtmlxmenu and dhtmlxtree is added
31
<?
117 by Suren A. Chilingaryan
Multiple axis support in JavaScript, multiple fixups in source tree handling
32
    return "virtual_control";
79 by Suren A. Chilingaryan
New version of dhtmlxmenu and dhtmlxtree is added
33
}
34
80 by Suren A. Chilingaryan
Few steps on source tree integration in javascript frontend
35
function virtualPage() {
79 by Suren A. Chilingaryan
New version of dhtmlxmenu and dhtmlxtree is added
36
?>
85 by Suren A. Chilingaryan
XML+XSLT modules support, Alarms support in frontend (mozilla only)
37
 <div>
200 by Suren A. Chilingaryan
Initial commit of gestures support for iDevices by Toni Pirhonen, Fix IE support broken by revision r196
38
    <?/*<button id="virtual_apply_button" type="button" onclick="javascript:adei.virtual.Apply()"><?echo translate("Apply");?></button>*/?>
205 by Suren A. Chilingaryan
Revert back to SetConfiguration from SetCustomProperties while handling certain property in search; trully support HTML content in description field within search results; support execution in XMLModule; support for setup-specific javascript code; KATRIN update
39
    <div><div id="virtual_div"></div></div>
85 by Suren A. Chilingaryan
XML+XSLT modules support, Alarms support in frontend (mozilla only)
40
 </div>
79 by Suren A. Chilingaryan
New version of dhtmlxmenu and dhtmlxtree is added
41
<?}?>