/** * @access private * @return string */ function _InlineMenuRemoveEntryPage($PageID) { $entryID = GetPostOrGet('entryID'); $confirmation = GetPostOrGet('confirmation'); if ($confirmation == 1) { $this->_PageStructure->RemoveInlineMenuEntry($entryID); $this->_PageStructure->GenerateInlineMenu($PageID); return $this->_InlineMenuHomePage($PageID); } else { $sql = "SELECT *\r\n\t\t\t\t\tFROM " . DB_PREFIX . "inlinemenu_entries\r\n\t\t\t\t\tWHERE inlineentry_id={$entryID}"; $entryResult = $this->_SqlConnection->SqlQuery($sql); if ($entry = mysql_fetch_object($entryResult)) { return "Sind sie sicher, dass sie das Element "{$entry->inlineentry_text}" unwiederruflich löschen möchten?<br />\r\n\t\t\t\t\t\t<a href=\"{$this->LinkUrl}page=pagestructure&action=pageInlineMenu&entryID={$entryID}&action2=removeEntry&confirmation=1&pageID={$PageID}\" class=\"button\">" . $this->_Translation->GetTranslation('yes') . "</a >\r\n\t\t\t\t\t\t<a href=\"{$this->LinkUrl}page=pagestructure&action=pageInlineMenu&pageID={$PageID}\"class=\"button\">" . $this->_Translation->GetTranslation('no') . "</a >"; } } }