/dev/adei-asec

To get this branch, use:
bzr branch http://darksoft.org/webbzr/dev/adei-asec

« back to all changes in this revision

Viewing changes to modules/source.php

  • Committer: Suren A. Chilingaryan
  • Date: 2011-01-26 02:48:39 UTC
  • mto: This revision was merged to the branch mainline in revision 212.
  • Revision ID: csa@dside.dyndns.org-20110126024839-nv6qp2ie9stmd2dn
Support of Appled devices by Toni Pirhonen

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
$source_title = _("Data Source");
3
3
 
4
4
function sourceJS() {
 
5
    global $ADEI_MODE;
5
6
    global $config_options;
6
7
    global $SOURCE_KEEP_WINDOW;
7
8
    
76
77
    source = new SOURCE(source_interval, "source_db_server_sel", "source_db_name_sel", "source_db_group_sel","source_c_group_sel",  "source_db_mask_sel", "source_db_item_sel", "source_apply_button", source_opts);
77
78
 
78
79
    adei.AttachSourceModule(source, source_interval, source_window);
79
 
 
 
80
        
80
81
    if (adei.popup) {
81
82
        source.RegisterGeometryCallback(moduleUpdateGeometry, source_modules);
82
83
        if (isIE()||client.isKonqueror()) {
87
88
        }
88
89
    }
89
90
<?
 
91
    if ($ADEI_MODE == "iAdei") {
 
92
?>
 
93
    settingmodule = new SETTINGS(source_window);
 
94
<?
 
95
    }
90
96
}
91
97
 
92
98
function sourcePage() {
123
129
            <td id="source_timestart"><div class="hide_experiment_custom">
124
130
                <input type="text" id="source_timestart_inp" maxlength="25" onchange="javascript:source_window.UpdateRange()"/>
125
131
                <a href="javascript:NewCal('source_timestart_inp','mmmddyyyy',true,24,windowUpdateRangeFunction(source_window))">
126
 
                    <img src="images/cal.gif"/>
 
132
                    <img src="images/cal.png"/>
127
133
                </a>
128
134
            </div></td>
129
135
        </tr><tr>
131
137
            <td id="source_timeend"><div class="hide_experiment_custom">
132
138
                <input type="text" id="source_timeend_inp" maxlength="25" onchange="javascript:source_window.UpdateRange()"/>
133
139
                <a href="javascript:NewCal('source_timeend_inp','mmmddyyyy',true,24,windowUpdateRangeFunction(source_window))">
134
 
                    <img src="images/cal.gif"/>
 
140
                    <img src="images/cal.png"/>
135
141
                </a>
136
142
            </div></td>
137
143
        </tr><tr>
141
147
            <td id="source_winstart"><div class="hide_window_custom">
142
148
                <input type="text" id="source_winstart_inp" maxlength="31" onchange="javascript:source_window.UpdateRange()"/>
143
149
                <a href="javascript:NewCal('source_winstart_inp','mmmddyyyy',true,24,windowUpdateRangeFunction(source_window))">
144
 
                    <img src="images/cal.gif"/>
 
150
                    <img src="images/cal.png"/>
145
151
                </a>
146
152
            </div></td>
147
153
        </tr><tr>
149
155
            <td id="source_winend"><div class="hide_window_custom">
150
156
                <input type="text" id="source_winend_inp" maxlength="31" onchange="javascript:source_window.UpdateRange()" />
151
157
                <a href="javascript:NewCal('source_winend_inp','mmmddyyyy',true,24,windowUpdateRangeFunction(source_window));">
152
 
                    <img src="images/cal.gif"/>
 
158
                    <img src="images/cal.png"/>
153
159
                </a>
154
160
            </div></td>
155
161
        </tr></table>