Revision 679
Added by thorn over 17 years ago
| trunk/wb/modules/jsadmin/move_to.php | ||
|---|---|---|
| 29 | 29 |
|
| 30 | 30 |
*/ |
| 31 | 31 |
|
| 32 |
// prevent this file from being accessed directly |
|
| 33 |
if(!defined('WB_PATH')) { exit('Cannot access this file directly'); }
|
|
| 34 | 32 |
require('../../config.php');
|
| 35 | 33 |
|
| 36 | 34 |
if(isset($_GET['page_id']) AND is_numeric($_GET['page_id']) AND is_numeric(@$_GET['position'])) {
|
| 37 | 35 |
$position = $_GET['position']; |
| 38 | 36 |
|
| 37 |
// Include WB admin wrapper script |
|
| 38 |
$update_when_modified = true; // Tells script to update when this page was last updated |
|
| 39 |
require(WB_PATH.'/modules/admin.php'); |
|
| 40 |
|
|
| 39 | 41 |
// Get common fields |
| 40 | 42 |
if(isset($_GET['section_id']) AND is_numeric($_GET['section_id'])) {
|
| 41 | 43 |
$page_id = $_GET['page_id']; |
Also available in: Unified diff
jsadmin: re-ordering of pages or sections wasn't saved. Fixed