public function addSnippet(SS_HTTPRequest $request)  {
        if($request->getVar('Type')=='SnippetFolder') {
            return $this->redirect(Controller::join_links($this->Link('addFolder'), '?FolderID='.str_replace('folder-', '', $request->getVar('ID'))));
        }else {
            return $this->redirect(Controller::join_links($this->Link('add'), '?LanguageID='.str_replace('language-', '', $request->getVar('ID'))));
        }
    }