/dev/trunk

To get this branch, use:
bzr branch http://darksoft.org/webbzr/dev/trunk

« back to all changes in this revision

Viewing changes to index.php

  • Committer: Suren A. Chilingaryan
  • Date: 2010-08-13 14:18:27 UTC
  • Revision ID: csa@dside.dyndns.org-20100813141827-u3o97425ppvd5g7y
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

Show diffs side-by-side

added added

removed removed

Lines of Context:
132
132
<?
133
133
    if ($ADEI_RELEASE) {
134
134
        echo "<script type=\"text/javascript\" src=\"adei.js\"></script>\n";
 
135
        if (file_exists("setups/$ADEI_SETUP/$ADEI_SETUP.js")) {
 
136
            echo "<script type=\"text/javascript\" src=\"setups/$ADEI_SETUP/$ADEI_SETUP.js\"></script>\n";
 
137
        }
135
138
    } else {
136
139
        $dir = opendir("js");
137
140
        while ($file = readdir($dir)) {
148
151
            }
149
152
        }
150
153
        closedir($dir);
 
154
 
 
155
        $dir = opendir("setups/$ADEI_SETUP/js");
 
156
        if ($dir) {
 
157
            while ($file = readdir($dir)) {
 
158
                if (preg_match("/\.js$/", $file)) {
 
159
                    echo "<script type=\"text/javascript\" src=\"setups/$ADEI_SETUP/js/$file\"></script>\n";
 
160
                }
 
161
            }
 
162
            closedir($dir);
 
163
 
 
164
            $dir = opendir("setups/$ADEI_SETUP/js/xmlmodule");
 
165
            if ($dir) {
 
166
                while ($file = readdir($dir)) {
 
167
                    if (preg_match("/\.js$/", $file)) {
 
168
                        echo "<script type=\"text/javascript\" src=\"setups/$ADEI_SETUP/js/xmlmodule/$file\"></script>\n";
 
169
                    }
 
170
                }
 
171
                closedir($dir);
 
172
            }
 
173
        }
151
174
    }
152
175
?>    
153
176
    <script type="text/javascript" ev:event="onload">