From 29422fa55379aa61a61019b832c83dab6d450264 Mon Sep 17 00:00:00 2001 From: cweiske Date: Sat, 3 Oct 2009 14:00:33 +0000 Subject: move files to new locations git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@386 b3834d28-1941-0410-a4f8-b48e95affb8f --- tag2tagadd.php | 69 ---------------------------------------------------------- 1 file changed, 69 deletions(-) delete mode 100644 tag2tagadd.php (limited to 'tag2tagadd.php') diff --git a/tag2tagadd.php b/tag2tagadd.php deleted file mode 100644 index 15ee6af..0000000 --- a/tag2tagadd.php +++ /dev/null @@ -1,69 +0,0 @@ -isLoggedOn()) { - $tplVars['error'] = T_('Permission denied.'); - $templateservice->loadTemplate('error.500.tpl', $tplVars); - exit(); -} - -/* Managing path info */ -list ($url, $tag1) = explode('/', $_SERVER['PATH_INFO']); - -if (POST_CONFIRM != '') { - $tag1 = POST_TAG1; - $linkType = POST_LINKTYPE; - $tag2 = POST_TAG2; - if ($tag2tagservice->addLinkedTags($tag1, $tag2, $linkType, $currentUser->getId())) { - $tplVars['msg'] = T_('Tag link created'); - header('Location: '. createURL('bookmarks', $currentUser->getUsername())); - } else { - $tplVars['error'] = T_('Failed to create the link'); - $templateservice->loadTemplate('error.500.tpl', $tplVars); - exit(); - } -} elseif (POST_CANCEL) { - header('Location: '. createURL('bookmarks', $currentUser->getUsername() .'/'. $tags)); -} - -$tplVars['links'] = $tag2tagservice->getLinks($currentUser->getId()); - -$tplVars['tag1'] = $tag1; -$tplVars['tag2'] = ''; -$tplVars['subtitle'] = T_('Add Tag Link') .': '. $tag1; -$tplVars['formaction'] = $_SERVER['SCRIPT_NAME'] .'/'. $tag1; -$tplVars['referrer'] = $_SERVER['HTTP_REFERER']; -$templateservice->loadTemplate('tag2tagadd.tpl', $tplVars); -?> -- cgit v1.2.3