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 97... | Line 97... | ||
97 | public function isLeafNode() { |
97 | public function isLeafNode() { |
98 | return false; |
98 | return false; |
99 | } |
99 | } |
100 | 100 | ||
101 | public function getContentPage(&$title, &$content, &$icon) { |
101 | public function getContentPage(&$title, &$content, &$icon) { |
102 | $icon = file_exists(__DIR__.'/img/main_icon.png') ? OIDplus::webPath(__DIR__,true).'img/main_icon.png' : ''; |
102 | $icon = file_exists(__DIR__.'/img/main_icon.png') ? OIDplus::webpath(__DIR__,OIDplus::PATH_RELATIVE).'img/main_icon.png' : ''; |
103 | 103 | ||
104 | if ($this->isRoot()) { |
104 | if ($this->isRoot()) { |
105 | $title = OIDplusDoi::objectTypeTitle(); |
105 | $title = OIDplusDoi::objectTypeTitle(); |
106 | 106 | ||
107 | $res = OIDplus::db()->query("select * from ###objects where parent = ?", array(self::root())); |
107 | $res = OIDplus::db()->query("select * from ###objects where parent = ?", array(self::root())); |