Subversion Repositories oidplus

Rev

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

Rev 227 Rev 281
Line 28... Line 28...
28
header('Content-Type:text/plain');
28
header('Content-Type:text/plain');
29
 
29
 
30
$nonConfidential = OIDplusObject::getAllNonConfidential();
30
$nonConfidential = OIDplusObject::getAllNonConfidential();
31
 
31
 
32
$json = array();
32
$json = array();
33
foreach (OIDplus::getPagePlugins('public') as $plugin) {
33
foreach (OIDplus::getPagePlugins() as $plugin) {
34
        if (get_class($plugin) == 'OIDplusPagePublicObjects') {
34
        if (is_subclass_of($plugin, OIDplusPagePluginPublic::class)) {
35
                foreach ($nonConfidential as $id) {
35
                // TODO: The "login" area should not show RA+Admin entries (in case someone who is logged in copy+pastes the sitemap to a search engine)
36
                        echo OIDplus::getSystemUrl().'?goto='.urlencode($id)."\n";
36
                // TODO: Should there be a plugin API for sitemap?
37
                }
-
 
38
        } else {
-
 
39
                $plugin->tree($json, null, true, null);
37
                $plugin->tree($json, null/*RA EMail*/, false/*HTML tree algorithm*/, true/*display all*/);
40
        }
38
        }
41
}
39
}
42
_rec($json);
40
_rec($json);
43
 
41
 
44
# ---
42
# ---