Rev 250 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 250 | Rev 261 | ||
---|---|---|---|
Line 119... | Line 119... | ||
119 | $icon = file_exists(__DIR__.'/icon_big.png') ? 'plugins/objectTypes/'.basename(__DIR__).'/icon_big.png' : ''; |
119 | $icon = file_exists(__DIR__.'/icon_big.png') ? 'plugins/objectTypes/'.basename(__DIR__).'/icon_big.png' : ''; |
120 | 120 | ||
121 | if ($this->isRoot()) { |
121 | if ($this->isRoot()) { |
122 | $title = OIDplusDoi::objectTypeTitle(); |
122 | $title = OIDplusDoi::objectTypeTitle(); |
123 | 123 | ||
124 | $res = OIDplus::db()->query("select * from ".OIDPLUS_TABLENAME_PREFIX."objects where parent = ?", array(self::root())); |
124 | $res = OIDplus::db()->query("select * from ###objects where parent = ?", array(self::root())); |
125 | if ($res->num_rows() > 0) { |
125 | if ($res->num_rows() > 0) { |
126 | $content = 'Please select an DOI in the tree view at the left to show its contents.'; |
126 | $content = 'Please select an DOI in the tree view at the left to show its contents.'; |
127 | } else { |
127 | } else { |
128 | $content = 'Currently, no DOIs are registered in the system.'; |
128 | $content = 'Currently, no DOIs are registered in the system.'; |
129 | } |
129 | } |