Subversion Repositories oidplus

Compare Revisions

Regard whitespace Rev 799 → Rev 800

/trunk/plugins/viathinksoft/objectTypes/gs1/OIDplusGs1.class.php
88,7 → 88,7
}
 
public function getContentPage(&$title, &$content, &$icon) {
$icon = file_exists(__DIR__.'/icon_big.png') ? OIDplus::webPath(__DIR__,true).'icon_big.png' : '';
$icon = file_exists(__DIR__.'/img/main_icon.png') ? OIDplus::webPath(__DIR__,true).'img/main_icon.png' : '';
 
if ($this->isRoot()) {
$title = OIDplusGs1::objectTypeTitle();
231,4 → 231,8
if ($this->isRoot()) return $this->ns();
return $this->ns().'_'.$this->nodeId(false); // safe, because there are only numbers
}
 
public function rootIconname($mode) {
return 'img/'.$mode.'_icon16.png';
}
}