Rev 1124 | Rev 1127 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1124 | Rev 1126 | ||
---|---|---|---|
Line 471... | Line 471... | ||
471 | 471 | ||
472 | if ($this->isRoot()) { |
472 | if ($this->isRoot()) { |
473 | $icon = $dir . '/' . $this::treeIconFilename('root'); // see also OIDplusPagePublicObjects::get_treeicon_root() |
473 | $icon = $dir . '/' . $this::treeIconFilename('root'); // see also OIDplusPagePublicObjects::get_treeicon_root() |
474 | } else { |
474 | } else { |
475 | // We use $this:: instead of self:: , because we want to call the overridden methods |
475 | // We use $this:: instead of self:: , because we want to call the overridden methods |
476 | if (OIDplus::authUtils()->isRaLoggedIn($ra_email)) { |
476 | if ($ra_email && OIDplus::authUtils()->isRaLoggedIn($ra_email)) { |
477 | if ($this->isLeafNode()) { |
477 | if ($this->isLeafNode()) { |
478 | $icon = $dir . '/' . $this::treeIconFilename('own_leaf'); |
478 | $icon = $dir . '/' . $this::treeIconFilename('own_leaf'); |
479 | if (!file_exists($icon)) $icon = $dir . '/' . $this::treeIconFilename('own'); |
479 | if (!file_exists($icon)) $icon = $dir . '/' . $this::treeIconFilename('own'); |
480 | } else { |
480 | } else { |
481 | $icon = $dir . '/' . $this::treeIconFilename('own'); |
481 | $icon = $dir . '/' . $this::treeIconFilename('own'); |