web/wp-admin/index-extra.php
author hurons@caf4f556-3d62-0410-8435-a86758001935
Mon, 08 Feb 2010 14:15:44 +0000
changeset 144 df0ebfb22f63
parent 136 bde1974c263b
permissions -rw-r--r--
- Added Path variable in the config file for the LDT's donwloader script (functions.php) - Added the /ldt_template in the res directory - Modify default-widgets.php to open in blank all the rss link - clean a litlle comment in searchform.php

<?php
/**
 * Handle default dashboard widgets options AJAX.
 *
 * @package WordPress
 * @subpackage Administration
 */

/** Load WordPress Bootstrap */
require_once('admin.php');

/** Load WordPress Administration Dashboard API */
require( 'includes/dashboard.php' );

/** Load Magpie RSS API or custom RSS API */
require_once (ABSPATH . WPINC . '/rss.php');

@header('Content-Type: ' . get_option('html_type') . '; charset=' . get_option('blog_charset'));

switch ( $_GET['jax'] ) {

case 'dashboard_incoming_links' :
	wp_dashboard_incoming_links_output();
	break;

case 'dashboard_primary' :
	wp_dashboard_rss_output( 'dashboard_primary' );
	break;

case 'dashboard_secondary' :
	wp_dashboard_secondary_output();
	break;

case 'dashboard_plugins' :
	wp_dashboard_plugins_output();
	break;

}

?>