/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/controls.php

  • Committer: Suren A. Chilingaryan
  • Date: 2008-10-30 01:27:40 UTC
  • mto: This revision was merged to the branch mainline in revision 116.
  • Revision ID: csa@dside.dyndns.org-20081030012740-svt0yigxj5uzwxyj
Few steps on source tree integration in javascript frontend

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
 
10
10
function controlsJS() {
11
11
    global $CONTROLS;
12
 
 
13
 
    foreach ($CONTROLS as $module) {
14
 
        if (($module)&&(function_exists($module . "JS"))) 
15
 
            call_user_func($module . "JS");
16
 
    }
17
12
?>
18
13
    control_modules = new MODULE("controls");
19
14
    control_modules.RegisterGeometryCallback(popupUpdateGeometryCallback, { 'popup': adei.popup, 'module': "controls" });
20
15
    control_modules.DisableHeightAdjustments();
21
16
    control_modules.Open("export");
22
17
 
 
18
    adei.popup.RegisterControlsModule("controls", control_modules);
23
19
    adei.popup.RegisterOnCallback("controls", moduleUpdateGeometry, control_modules);
24
20
    adei.RegisterSuperPopup("controls", "module_controls_all");
25
21
 
26
22
<?
 
23
 
 
24
    foreach ($CONTROLS as $module) {
 
25
        if (($module)&&(function_exists($module . "JS"))) 
 
26
            call_user_func($module . "JS");
 
27
?>
 
28
        adei.popup.RegisterControl("controls", "<?=$module?>");
 
29
<?
 
30
    }
27
31
}
28
32
 
29
33
function controlsPutLink($css, $module) {