}
-#if (empty($rows)) bye($rows);
-# NB 18.12.17 if (!empty($rows))
$this->db->out($rows,$head,$conf);
if (empty($this->_nopage)) {
if ($this->http->user()) {
$bottom[] = '<a href="' . $this->base . '/logout"'
- .($this->http->user() ? ' style="background:url(\'' . $this->base . '/ldap/me.jpg?w=20\') right no-repeat;padding-right:22px"' : '')
+ .(!empty($this->db->conf['ldap']) and $this->http->user()
+ ? ' style="background:url(\'' . $this->base . '/ldap/me.jpg?w=20\') right no-repeat;padding-right:22px"'
+ : ''
+ )
.'>Logout: '
.$this->http->user()
.' (can: '.$this->perm2h().')'
- #.'<img src="/ldap/jpegPhoto.jpg?w=20" />'
.'</a>';
}