Rev 800 | Rev 803 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 800 | Rev 801 | ||
---|---|---|---|
Line 91... | Line 91... | ||
91 | public function isLeafNode() { |
91 | public function isLeafNode() { |
92 | return false; |
92 | return false; |
93 | } |
93 | } |
94 | 94 | ||
95 | public function getContentPage(&$title, &$content, &$icon) { |
95 | public function getContentPage(&$title, &$content, &$icon) { |
96 | $icon = file_exists(__DIR__.'/img/main_icon.png') ? OIDplus::webPath(__DIR__,true).'img/main_icon.png' : ''; |
96 | $icon = file_exists(__DIR__.'/img/main_icon.png') ? OIDplus::webpath(__DIR__,OIDplus::PATH_RELATIVE).'img/main_icon.png' : ''; |
97 | 97 | ||
98 | if ($this->isRoot()) { |
98 | if ($this->isRoot()) { |
99 | $title = OIDplusOther::objectTypeTitle(); |
99 | $title = OIDplusOther::objectTypeTitle(); |
100 | 100 | ||
101 | $res = OIDplus::db()->query("select * from ###objects where parent = ?", array(self::root())); |
101 | $res = OIDplus::db()->query("select * from ###objects where parent = ?", array(self::root())); |