diff --git a/lib/page.php b/lib/page.php index dc981e5..8cbc2f4 100644 --- a/lib/page.php +++ b/lib/page.php @@ -104,11 +104,15 @@ class page { echo ''; printf(''); + $DNs = get_request('dn','REQUEST'); + if (is_array($DNs)) + $DNs = ''; + if (isset($_SESSION[APPCONFIG])) printf('%s (%s) - %s%s', $this->_app['title'], app_version(), - (get_request('dn','REQUEST') ? htmlspecialchars(get_request('dn','REQUEST')).' ' : ''), + $DNs ? htmlspecialchars($DNs).' ' : '', $_SESSION[APPCONFIG]->getValue('appearance','page_title')); else printf('%s - %s',$this->_app['title'],app_version());