2 /****************************************************************/
4 /****************************************************************/
5 /* Copyright (c) 2002-2010 */
6 /* Inclusive Design Institute */
9 /* This program is free software. You can redistribute it and/or*/
10 /* modify it under the terms of the GNU General Public License */
11 /* as published by the Free Software Foundation. */
12 /****************************************************************/
15 define('AT_INCLUDE_PATH', '../../../include/');
16 require (AT_INCLUDE_PATH.'vitals.inc.php');
17 authenticate(AT_PRIV_CONTENT);
19 if (isset($_POST['move']) && isset($_POST['moved_cid'])) {
20 $arr = explode('_', key($_POST['move']), 2);
22 $new_ordering = $arr[1];
24 $contentManager->moveContent($_POST['moved_cid'], $new_pid, $new_ordering);
25 header('Location: '.AT_BASE_HREF.'mods/_core/editor/arrange_content.php');
29 if (!defined('AT_INCLUDE_PATH')) { exit; }
31 $savant->assign('languageManager', $languageManager);
33 $savant->display('editor/arrange_content.tmpl.php');