Rev 928 | Rev 1050 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 928 | Rev 962 | ||
---|---|---|---|
Line 98... | Line 98... | ||
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())); |
102 | if ($res->any()) { |
102 | if ($res->any()) { |
103 | $content = _L('Please select an object in the tree view at the left to show its contents.'); |
103 | $content = '<p>'._L('Please select an object in the tree view at the left to show its contents.').'</p>'; |
104 | } else { |
104 | } else { |
105 | $content = _L('Currently, no misc. objects are registered in the system.'); |
105 | $content = '<p>'._L('Currently, no misc. objects are registered in the system.').'</p>'; |
106 | } |
106 | } |
107 | 107 | ||
108 | if (!$this->isLeafNode()) { |
108 | if (!$this->isLeafNode()) { |
109 | if (OIDplus::authUtils()->isAdminLoggedIn()) { |
109 | if (OIDplus::authUtils()->isAdminLoggedIn()) { |
110 | $content .= '<h2>'._L('Manage root objects').'</h2>'; |
110 | $content .= '<h2>'._L('Manage root objects').'</h2>'; |