Rev 150 | Rev 281 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 150 | Rev 227 | ||
---|---|---|---|
Line 31... | Line 31... | ||
31 | 31 | ||
32 | $json = array(); |
32 | $json = array(); |
33 | foreach (OIDplus::getPagePlugins('public') as $plugin) { |
33 | foreach (OIDplus::getPagePlugins('public') as $plugin) { |
34 | if (get_class($plugin) == 'OIDplusPagePublicObjects') { |
34 | if (get_class($plugin) == 'OIDplusPagePublicObjects') { |
35 | foreach ($nonConfidential as $id) { |
35 | foreach ($nonConfidential as $id) { |
36 | echo OIDplus::system_url().'?goto='.urlencode($id)."\n"; |
36 | echo OIDplus::getSystemUrl().'?goto='.urlencode($id)."\n"; |
37 | } |
37 | } |
38 | } else { |
38 | } else { |
39 | $plugin->tree($json, null, true, null); |
39 | $plugin->tree($json, null, true, null); |
40 | } |
40 | } |
41 | } |
41 | } |
Line 44... | Line 44... | ||
44 | # --- |
44 | # --- |
45 | 45 | ||
46 | function _rec($json) { |
46 | function _rec($json) { |
47 | foreach ($json as $x) { |
47 | foreach ($json as $x) { |
48 | if (isset($x['id']) && $x['id']) { |
48 | if (isset($x['id']) && $x['id']) { |
49 | echo OIDplus::system_url().'?goto='.urlencode($x['id'])."\n"; |
49 | echo OIDplus::getSystemUrl().'?goto='.urlencode($x['id'])."\n"; |
50 | } |
50 | } |
51 | if (isset($x['children'])) { |
51 | if (isset($x['children'])) { |
52 | _rec($x['children']); |
52 | _rec($x['children']); |
53 | } |
53 | } |
54 | } |
54 | } |