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 93... | Line 93... | ||
93 | if ($this->isRoot()) { |
93 | if ($this->isRoot()) { |
94 | $title = OIDplusDomain::objectTypeTitle(); |
94 | $title = OIDplusDomain::objectTypeTitle(); |
95 | 95 | ||
96 | $res = OIDplus::db()->query("select * from ###objects where parent = ?", array(self::root())); |
96 | $res = OIDplus::db()->query("select * from ###objects where parent = ?", array(self::root())); |
97 | if ($res->any()) { |
97 | if ($res->any()) { |
98 | $content = _L('Please select a Domain Name in the tree view at the left to show its contents.'); |
98 | $content = '<p>'._L('Please select a Domain Name in the tree view at the left to show its contents.').'</p>'; |
99 | } else { |
99 | } else { |
100 | $content = _L('Currently, no Domain Name is registered in the system.'); |
100 | $content = '<p>'._L('Currently, no Domain Name is registered in the system.').'</p>'; |
101 | } |
101 | } |
102 | 102 | ||
103 | if (!$this->isLeafNode()) { |
103 | if (!$this->isLeafNode()) { |
104 | if (OIDplus::authUtils()->isAdminLoggedIn()) { |
104 | if (OIDplus::authUtils()->isAdminLoggedIn()) { |
105 | $content .= '<h2>'._L('Manage root objects').'</h2>'; |
105 | $content .= '<h2>'._L('Manage root objects').'</h2>'; |