diff --git a/upload/ajax/dashboards.php b/upload/ajax/dashboards.php new file mode 100644 index 00000000..ccb3aa11 --- /dev/null +++ b/upload/ajax/dashboards.php @@ -0,0 +1,34 @@ + array(lang( 'Invalid request' ))) ) ); + } + + echo __update_dashboard_widget_states(); + } + break; + + case "update_dashboard_widget_positions": { + $userid = userid(); + if ( !$userid ) { + exit( json_encode( array('err' => array(lang( 'Invalid request' ))) ) ); + } + + echo __update_dashboard_widget_positions(); + } + break; + + default: { + exit( json_encode( array('err' => array(lang( 'Invalid request' ))) ) ); + } +} +?>