<?php
	/**
	 * Basic admin interface for category administration.
	 *
	 * @version 3.0
	 **/

	class zajapp_admin_category extends zajController{

		/** ... **/

		/**
		 * Reorder the category
		 **/
		function reorder(){
			// reorder
				Category::reorder($_POST['reorder']);
			// okay
				return $this->zajlib->ajax('ok');
		}
	}