Rev 635 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 635 | Rev 800 | ||
---|---|---|---|
Line 28... | Line 28... | ||
28 | } |
28 | } |
29 | 29 | ||
30 | public function tree(&$json, $ra_email=null, $nonjs=false, $req_goto='') { |
30 | public function tree(&$json, $ra_email=null, $nonjs=false, $req_goto='') { |
31 | if (!OIDplus::authUtils()->isAdminLoggedIn()) return false; |
31 | if (!OIDplus::authUtils()->isAdminLoggedIn()) return false; |
32 | 32 | ||
33 | if (file_exists(__DIR__.'/treeicon.png')) { |
33 | if (file_exists(__DIR__.'/img/main_icon16.png')) { |
34 | $tree_icon = OIDplus::webpath(__DIR__).'treeicon.png'; |
34 | $tree_icon = OIDplus::webpath(__DIR__,true).'img/main_icon16.png'; |
35 | } else { |
35 | } else { |
36 | $tree_icon = null; // default icon (folder) |
36 | $tree_icon = null; // default icon (folder) |
37 | } |
37 | } |
38 | 38 | ||
39 | $json[] = array( |
39 | $json[] = array( |