Rev 75 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 75 | Rev 104 | ||
---|---|---|---|
Line 82... | Line 82... | ||
82 | } |
82 | } |
83 | } |
83 | } |
84 | } |
84 | } |
85 | } |
85 | } |
86 | 86 | ||
87 | public function tree(&$json, $ra_email=null) { |
87 | public function tree(&$json, $ra_email=null, $nonjs=false) { |
88 | if (file_exists(__DIR__.'/treeicon.png')) { |
88 | if (file_exists(__DIR__.'/treeicon.png')) { |
89 | $tree_icon = 'plugins/adminPages/'.basename(__DIR__).'/treeicon.png'; |
89 | $tree_icon = 'plugins/adminPages/'.basename(__DIR__).'/treeicon.png'; |
90 | } else { |
90 | } else { |
91 | $tree_icon = null; // default icon (folder) |
91 | $tree_icon = null; // default icon (folder) |
92 | } |
92 | } |
Line 94... | Line 94... | ||
94 | $json[] = array( |
94 | $json[] = array( |
95 | 'id' => 'oidplus:list_ra', |
95 | 'id' => 'oidplus:list_ra', |
96 | 'icon' => $tree_icon, |
96 | 'icon' => $tree_icon, |
97 | 'text' => 'List RAs' |
97 | 'text' => 'List RAs' |
98 | ); |
98 | ); |
- | 99 | ||
- | 100 | return true; |
|
99 | } |
101 | } |
100 | } |
102 | } |
101 | 103 | ||
102 | OIDplus::registerPagePlugin(new OIDplusPageAdminListRAs()); |
104 | OIDplus::registerPagePlugin(new OIDplusPageAdminListRAs()); |