Subversion Repositories oidplus

Rev

Rev 277 | Rev 310 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 277 Rev 307
Line 38... Line 38...
38
$files[] = __DIR__ . '/3p/bignumber.js/bignumber.min.js';
38
$files[] = __DIR__ . '/3p/bignumber.js/bignumber.min.js';
39
$files[] = __DIR__ . '/3p/sha3_js/sha3.js'; // https://github.com/emn178/js-sha3
39
$files[] = __DIR__ . '/3p/sha3_js/sha3.js'; // https://github.com/emn178/js-sha3
40
 
40
 
41
$files[] = __DIR__ . '/oidplus_base.js';
41
$files[] = __DIR__ . '/oidplus_base.js';
42
 
42
 
43
$ary = OIDplus::getAllPluginManifests('*Pages');
43
$manifests = OIDplus::getAllPluginManifests('*Pages', true);
44
foreach ($ary as $plugintype_folder => $bry) {
44
foreach ($manifests as $manifest) {
45
        foreach ($bry as $pluginname_folder => $cry) {
45
        foreach ($manifest->getJSFiles() as $js_file) {
46
                if (!isset($cry['JavaScript'])) continue;
-
 
47
                foreach ($cry['JavaScript'] as $dry_name => $dry) {
-
 
48
                        if ($dry_name != 'file') continue;
-
 
49
                        foreach ($dry as $js_file) {
46
                $files[] = $js_file;
50
                                $files[] = __DIR__ . '/plugins/'.$plugintype_folder.'/'.$pluginname_folder.'/'.$js_file;
-
 
51
                        }
-
 
52
                }
-
 
53
        }
47
        }
54
}
48
}
55
 
49
 
56
# ---
50
# ---
57
 
51