Rev 36 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 36 | Rev 55 | ||
---|---|---|---|
Line 84... | Line 84... | ||
84 | public function isLeafNode() { |
84 | public function isLeafNode() { |
85 | return false; |
85 | return false; |
86 | } |
86 | } |
87 | 87 | ||
88 | public function getContentPage(&$title, &$content, &$icon) { |
88 | public function getContentPage(&$title, &$content, &$icon) { |
- | 89 | $icon = file_exists(__DIR__.'/icon_big.png') ? 'plugins/objectTypes/'.basename(__DIR__).'/icon_big.png' : ''; |
|
- | 90 | ||
89 | if ($this->isRoot()) { |
91 | if ($this->isRoot()) { |
90 | $title = OIDplusJava::objectTypeTitle(); |
92 | $title = OIDplusJava::objectTypeTitle(); |
91 | 93 | ||
92 | $res = OIDplus::db()->query("select * from ".OIDPLUS_TABLENAME_PREFIX."objects where parent = '".OIDplus::db()->real_escape_string(self::root())."'"); |
94 | $res = OIDplus::db()->query("select * from ".OIDPLUS_TABLENAME_PREFIX."objects where parent = '".OIDplus::db()->real_escape_string(self::root())."'"); |
93 | if (OIDplus::db()->num_rows($res) > 0) { |
95 | if (OIDplus::db()->num_rows($res) > 0) { |