function showSurveyHeader($title, $style = '') { $returnStr = parent::showHeader(Language::messageSMSTitle(), '<link href="bootstrap/css/sticky-footer-navbar.min.css" rel="stylesheet">'); $returnStr .= $this->showNavBar(); // $returnStr .= $this->engine->getDisplayed(); $this->padding = true; // $returnStr .= 'SMS balk hier!'; // $returnStr .= parent::showLanguage(); return $returnStr; }
function showSurveyHeader($title, $style = '') { $returnStr = parent::showSurveyHeader(Language::messageSMSTitle(), $style); $returnStr .= $this->showNavBar(); $user = $_SESSION['URID']; if ($this->editable == true) { $user = new User($_SESSION['URID']); if ($user->getUserType() == USER_SYSADMIN) { $returnStr .= $this->getTinyMCE(".uscic-inline-editable", 2, $this->getInlineEditIcon()); } else { $returnStr .= $this->getTinyMCE(".uscic-inline-editable", 2, $this->getInlineEditIcon()); // allow to have all elements, because otherwise save will screw it up } } // $returnStr .= $this->engine->getDisplayed(); $this->padding = true; // $returnStr .= 'SMS balk hier!'; // $returnStr .= parent::showLanguage(); return $returnStr; }