Rev 790 | Rev 801 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 790 | Rev 800 | ||
---|---|---|---|
Line 117... | Line 117... | ||
117 | 117 | ||
118 | return $tech_info; |
118 | return $tech_info; |
119 | } |
119 | } |
120 | 120 | ||
121 | public function getContentPage(&$title, &$content, &$icon) { |
121 | public function getContentPage(&$title, &$content, &$icon) { |
122 | $icon = file_exists(__DIR__.'/icon_big.png') ? OIDplus::webPath(__DIR__,true).'icon_big.png' : ''; |
122 | $icon = file_exists(__DIR__.'/img/main_icon.png') ? OIDplus::webPath(__DIR__,true).'img/main_icon.png' : ''; |
123 | 123 | ||
124 | if ($this->isRoot()) { |
124 | if ($this->isRoot()) { |
125 | $title = OIDplusIpv6::objectTypeTitle(); |
125 | $title = OIDplusIpv6::objectTypeTitle(); |
126 | 126 | ||
127 | $res = OIDplus::db()->query("select * from ###objects where parent = ?", array(self::root())); |
127 | $res = OIDplus::db()->query("select * from ###objects where parent = ?", array(self::root())); |
Line 190... | Line 190... | ||
190 | return $this->ns().'_'.$bare; |
190 | return $this->ns().'_'.$bare; |
191 | } else { |
191 | } else { |
192 | return $this->ns().'_'.$bare.'__'.$this->cidr; |
192 | return $this->ns().'_'.$bare.'__'.$this->cidr; |
193 | } |
193 | } |
194 | } |
194 | } |
- | 195 | ||
- | 196 | public function rootIconname($mode) { |
|
- | 197 | return 'img/'.$mode.'_icon16.png'; |
|
- | 198 | } |
|
195 | } |
199 | } |