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 199... | Line 199... | ||
199 | 'text' => $this->getDocumentTitle($file) |
199 | 'text' => $this->getDocumentTitle($file) |
200 | ); |
200 | ); |
201 | } |
201 | } |
202 | } |
202 | } |
203 | 203 | ||
204 | public function tree(&$json, $ra_email=null) { |
204 | public function tree(&$json, $ra_email=null, $nonjs=false) { |
205 | $children = array(); |
205 | $children = array(); |
206 | 206 | ||
207 | $this->tree_rec($children, 'doc/'); |
207 | $this->tree_rec($children, 'doc/'); |
208 | 208 | ||
209 | if (count($children) > 0) { |
209 | if (count($children) > 0) { |
Line 219... | Line 219... | ||
219 | 'state' => array("opened" => true), |
219 | 'state' => array("opened" => true), |
220 | 'text' => 'Documents', |
220 | 'text' => 'Documents', |
221 | 'children' => $children |
221 | 'children' => $children |
222 | ); |
222 | ); |
223 | } |
223 | } |
- | 224 | ||
- | 225 | return true; |
|
224 | } |
226 | } |
225 | } |
227 | } |
226 | 228 | ||
227 | OIDplus::registerPagePlugin(new OIDplusPagePublicDocuments()); |
229 | OIDplus::registerPagePlugin(new OIDplusPagePublicDocuments()); |