Subversion Repositories oidplus

Rev

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 106... Line 106...
106
 
106
 
107
                return $tech_info;
107
                return $tech_info;
108
        }
108
        }
109
 
109
 
110
        public function getContentPage(&$title, &$content, &$icon) {
110
        public function getContentPage(&$title, &$content, &$icon) {
111
                $icon = file_exists(__DIR__.'/icon_big.png') ? OIDplus::webPath(__DIR__,true).'icon_big.png' : '';
111
                $icon = file_exists(__DIR__.'/img/main_icon.png') ? OIDplus::webPath(__DIR__,true).'img/main_icon.png' : '';
112
 
112
 
113
                if ($this->isRoot()) {
113
                if ($this->isRoot()) {
114
                        $title = OIDplusGuid::objectTypeTitle();
114
                        $title = OIDplusGuid::objectTypeTitle();
115
 
115
 
116
                        $res = OIDplus::db()->query("select * from ###objects where parent = ?", array(self::root()));
116
                        $res = OIDplus::db()->query("select * from ###objects where parent = ?", array(self::root()));
Line 201... Line 201...
201
                } else {
201
                } else {
202
                        // Category
202
                        // Category
203
                        return parent::getDirectoryName();
203
                        return parent::getDirectoryName();
204
                }
204
                }
205
        }
205
        }
-
 
206
 
-
 
207
        public function rootIconname($mode) {
-
 
208
                return 'img/'.$mode.'_icon16.png';
-
 
209
        }
206
}
210
}