2008-05-16 00:57:14 +02:00
|
|
|
<?php
|
2008-08-11 22:26:31 +02:00
|
|
|
/**
|
|
|
|
* Define Gears manifest for Google Gears storage.
|
|
|
|
*
|
|
|
|
* @package WordPress
|
|
|
|
* @subpackage Administration
|
|
|
|
*/
|
2008-05-16 00:57:14 +02:00
|
|
|
|
2008-08-11 22:26:31 +02:00
|
|
|
/** Set ABSPATH for execution */
|
2008-05-16 18:25:33 +02:00
|
|
|
define( 'ABSPATH', dirname(dirname(__FILE__)) );
|
2008-05-22 17:27:28 +02:00
|
|
|
define( 'WPINC', '/wp-includes' );
|
2008-05-16 00:57:14 +02:00
|
|
|
|
2008-08-11 22:26:31 +02:00
|
|
|
/**
|
|
|
|
* @package WordPress
|
|
|
|
* @subpackage Dummy
|
|
|
|
*/
|
2008-05-16 18:25:33 +02:00
|
|
|
function __() {}
|
2008-08-11 22:26:31 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @package WordPress
|
|
|
|
* @subpackage Dummy
|
|
|
|
*/
|
2008-05-16 18:25:33 +02:00
|
|
|
function add_filter() {}
|
2008-08-11 22:26:31 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @package WordPress
|
|
|
|
* @subpackage Dummy
|
|
|
|
*/
|
2008-05-16 18:25:33 +02:00
|
|
|
function attribute_escape() {}
|
2008-08-11 22:26:31 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @package WordPress
|
|
|
|
* @subpackage Dummy
|
|
|
|
*/
|
2008-05-16 18:25:33 +02:00
|
|
|
function apply_filters() {}
|
2008-08-11 22:26:31 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @package WordPress
|
|
|
|
* @subpackage Dummy
|
|
|
|
*/
|
2008-05-16 18:25:33 +02:00
|
|
|
function get_option() {}
|
2008-08-11 22:26:31 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @package WordPress
|
|
|
|
* @subpackage Dummy
|
|
|
|
*/
|
2008-05-16 18:25:33 +02:00
|
|
|
function is_lighttpd_before_150() {}
|
2008-08-11 22:26:31 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @package WordPress
|
|
|
|
* @subpackage Dummy
|
|
|
|
*/
|
2008-05-22 17:27:28 +02:00
|
|
|
function add_action() {}
|
2008-08-11 22:26:31 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @package WordPress
|
|
|
|
* @subpackage Dummy
|
|
|
|
*/
|
2008-05-22 17:27:28 +02:00
|
|
|
function do_action_ref_array() {}
|
2008-08-11 22:26:31 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @package WordPress
|
|
|
|
* @subpackage Dummy
|
|
|
|
*/
|
2008-05-22 17:27:28 +02:00
|
|
|
function get_bloginfo() {}
|
2008-08-11 22:26:31 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @package WordPress
|
|
|
|
* @subpackage Dummy
|
|
|
|
*/
|
2008-05-16 18:25:33 +02:00
|
|
|
function is_admin() {return true;}
|
2008-08-11 22:26:31 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @package WordPress
|
|
|
|
* @subpackage Dummy
|
|
|
|
*/
|
2008-05-27 22:35:14 +02:00
|
|
|
function site_url() {}
|
2008-08-11 22:26:31 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @package WordPress
|
|
|
|
* @subpackage Dummy
|
|
|
|
*/
|
2008-05-27 22:35:14 +02:00
|
|
|
function admin_url() {}
|
2008-08-11 22:26:31 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @package WordPress
|
|
|
|
* @subpackage Dummy
|
|
|
|
*/
|
2008-06-24 20:47:14 +02:00
|
|
|
function wp_guess_url() {}
|
2008-05-16 18:25:33 +02:00
|
|
|
|
|
|
|
require(ABSPATH . '/wp-includes/script-loader.php');
|
2008-05-22 17:27:28 +02:00
|
|
|
require(ABSPATH . '/wp-includes/version.php');
|
2008-05-16 18:25:33 +02:00
|
|
|
|
|
|
|
$wp_scripts = new WP_Scripts();
|
2008-05-22 17:27:28 +02:00
|
|
|
wp_default_scripts($wp_scripts);
|
2008-05-16 00:57:14 +02:00
|
|
|
|
2008-05-22 17:27:28 +02:00
|
|
|
$wp_styles = new WP_Styles();
|
|
|
|
wp_default_styles($wp_styles);
|
|
|
|
|
|
|
|
$defaults = $man_version = '';
|
|
|
|
foreach ( $wp_scripts->registered as $script ) {
|
2008-05-16 00:57:14 +02:00
|
|
|
if ( empty($script->src) || strpos($script->src, 'tiny_mce_config.php') ) continue;
|
2008-05-22 17:27:28 +02:00
|
|
|
$ver = empty($script->ver) ? $wp_version : $script->ver;
|
|
|
|
$src = str_replace( array( '/wp-admin/', '/wp-includes/' ), array( '', '../wp-includes/' ), $script->src );
|
|
|
|
$defaults .= '{ "url" : "' . $src . '?ver=' . $ver . '" },' . "\n";
|
|
|
|
$man_version .= $ver;
|
2008-05-16 00:57:14 +02:00
|
|
|
}
|
|
|
|
|
2008-05-22 17:27:28 +02:00
|
|
|
foreach ( $wp_styles->registered as $style ) {
|
|
|
|
if ( empty($style->src) ) continue;
|
|
|
|
|
|
|
|
$ver = empty($style->ver) ? $wp_version : $style->ver;
|
|
|
|
$src = str_replace( array( '/wp-admin/', '/wp-includes/' ), array( '', '../wp-includes/' ), $style->src );
|
|
|
|
if ( 'colors' == $style->handle ) $src = 'css/colors-classic.css';
|
|
|
|
$defaults .= '{ "url" : "' . $src . '?ver=' . $ver . '" },' . "\n";
|
|
|
|
|
2008-06-19 18:52:52 +02:00
|
|
|
if ( isset($style->extra['rtl']) && $style->extra['rtl'] ) {
|
2008-05-22 17:27:28 +02:00
|
|
|
if ( is_bool( $style->extra['rtl'] ) )
|
|
|
|
$rtl_href = str_replace( '.css', '-rtl.css', $src );
|
2008-08-09 07:36:14 +02:00
|
|
|
else
|
2008-05-22 17:27:28 +02:00
|
|
|
$rtl_href = str_replace( array( '/wp-admin/', '/wp-includes/' ), array( '', '../wp-includes/' ), $style->extra['rtl'] );
|
|
|
|
|
|
|
|
$defaults .= '{ "url" : "' . $rtl_href . '?ver=' . $ver . '" },' . "\n";
|
|
|
|
}
|
|
|
|
$man_version .= $ver;
|
|
|
|
}
|
|
|
|
|
|
|
|
$man_version = md5($man_version);
|
2008-05-16 00:57:14 +02:00
|
|
|
|
2008-05-16 18:25:33 +02:00
|
|
|
header( 'Expires: Wed, 11 Jan 1984 05:00:00 GMT' );
|
|
|
|
header( 'Last-Modified: ' . gmdate( 'D, d M Y H:i:s' ) . ' GMT' );
|
|
|
|
header( 'Cache-Control: no-cache, must-revalidate, max-age=0' );
|
|
|
|
header( 'Pragma: no-cache' );
|
2008-05-22 17:27:28 +02:00
|
|
|
header( 'Content-Type: application/x-javascript; charset=UTF-8' );
|
2008-05-16 00:57:14 +02:00
|
|
|
?>
|
|
|
|
{
|
|
|
|
"betaManifestVersion" : 1,
|
2008-08-24 08:56:22 +02:00
|
|
|
"version" : "<?php echo $man_version; ?>_20080823",
|
2008-05-16 00:57:14 +02:00
|
|
|
"entries" : [
|
2008-05-22 17:27:28 +02:00
|
|
|
<?php echo $defaults; ?>
|
2008-05-16 00:57:14 +02:00
|
|
|
|
|
|
|
{ "url" : "images/align-center.png" },
|
|
|
|
{ "url" : "images/align-left.png" },
|
|
|
|
{ "url" : "images/align-none.png" },
|
|
|
|
{ "url" : "images/align-right.png" },
|
2008-05-22 17:27:28 +02:00
|
|
|
{ "url" : "images/browse-happy.gif" },
|
2008-05-16 00:57:14 +02:00
|
|
|
{ "url" : "images/bubble_bg.gif" },
|
|
|
|
{ "url" : "images/comment-grey-bubble.png" },
|
|
|
|
{ "url" : "images/comment-pill.gif" },
|
|
|
|
{ "url" : "images/comment-stalk-classic.gif" },
|
|
|
|
{ "url" : "images/comment-stalk-fresh.gif" },
|
|
|
|
{ "url" : "images/comment-stalk-rtl.gif" },
|
|
|
|
{ "url" : "images/date-button.gif" },
|
|
|
|
{ "url" : "images/fade-butt.png" },
|
2008-05-22 17:27:28 +02:00
|
|
|
{ "url" : "images/gear.png" },
|
2008-05-16 00:57:14 +02:00
|
|
|
{ "url" : "images/logo-ghost.png" },
|
|
|
|
{ "url" : "images/logo-login.gif" },
|
2008-05-22 17:27:28 +02:00
|
|
|
{ "url" : "images/logo.gif" },
|
2008-05-16 00:57:14 +02:00
|
|
|
{ "url" : "images/media-button-gallery.gif" },
|
|
|
|
{ "url" : "images/media-button-image.gif" },
|
|
|
|
{ "url" : "images/media-button-music.gif" },
|
|
|
|
{ "url" : "images/media-button-other.gif" },
|
|
|
|
{ "url" : "images/media-button-video.gif" },
|
|
|
|
{ "url" : "images/media-buttons.gif" },
|
2008-05-22 17:27:28 +02:00
|
|
|
{ "url" : "images/tab.png" },
|
2008-05-16 00:57:14 +02:00
|
|
|
{ "url" : "images/tail.gif" },
|
|
|
|
{ "url" : "images/toggle-arrow-rtl.gif" },
|
|
|
|
{ "url" : "images/toggle-arrow.gif" },
|
|
|
|
{ "url" : "images/wordpress-logo.png" },
|
|
|
|
{ "url" : "images/xit.gif" },
|
2008-07-04 18:12:31 +02:00
|
|
|
{ "url" : "images/loading-publish.gif" },
|
|
|
|
{ "url" : "images/loading.gif" },
|
2008-07-10 05:49:52 +02:00
|
|
|
{ "url" : "images/required.gif" },
|
|
|
|
{ "url" : "images/no.png" },
|
|
|
|
{ "url" : "images/yes.png" },
|
2008-08-24 08:56:22 +02:00
|
|
|
{ "url" : "images/se.png" },
|
2008-05-22 17:27:28 +02:00
|
|
|
|
2008-07-31 06:01:30 +02:00
|
|
|
<?php if ( is_file('../wp-includes/js/tinymce/tiny_mce.js') ) { ?>
|
|
|
|
{ "url" : "../wp-includes/js/tinymce/tiny_mce_popup.js?ver=311b" },
|
|
|
|
{ "url" : "../wp-includes/js/tinymce/utils/mctabs.js?ver=311b" },
|
|
|
|
{ "url" : "../wp-includes/js/tinymce/utils/validate.js?ver=311b" },
|
|
|
|
{ "url" : "../wp-includes/js/tinymce/utils/form_utils.js?ver=311b" },
|
|
|
|
{ "url" : "../wp-includes/js/tinymce/utils/editable_selects.js?ver=311b" },
|
|
|
|
{ "url" : "../wp-includes/js/tinymce/plugins/paste/js/pasteword.js?ver=311b" },
|
|
|
|
{ "url" : "../wp-includes/js/tinymce/plugins/paste/js/pastetext.js?ver=311b" },
|
|
|
|
{ "url" : "../wp-includes/js/tinymce/plugins/media/js/media.js?ver=311b" },
|
|
|
|
{ "url" : "../wp-includes/js/tinymce/themes/advanced/js/color_picker.js?ver=311b" },
|
|
|
|
{ "url" : "../wp-includes/js/tinymce/themes/advanced/js/charmap.js?ver=311b" },
|
|
|
|
{ "url" : "../wp-includes/js/tinymce/themes/advanced/js/image.js?ver=311b" },
|
|
|
|
{ "url" : "../wp-includes/js/tinymce/themes/advanced/js/link.js?ver=311b" },
|
|
|
|
{ "url" : "../wp-includes/js/tinymce/themes/advanced/js/source_editor.js?ver=311b" },
|
|
|
|
{ "url" : "../wp-includes/js/tinymce/themes/advanced/js/anchor.js?ver=311b" },
|
2008-08-01 07:10:27 +02:00
|
|
|
{ "url" : "../wp-includes/js/tinymce/plugins/wpeditimage/js/editimage.js?ver=311f" },
|
2008-07-31 06:01:30 +02:00
|
|
|
{ "url" : "../wp-includes/js/tinymce/tiny_mce.js?ver=311b" },
|
|
|
|
{ "url" : "../wp-includes/js/tinymce/themes/advanced/editor_template.js?ver=311b" },
|
|
|
|
{ "url" : "../wp-includes/js/tinymce/plugins/inlinepopups/editor_plugin.js?ver=311b" },
|
|
|
|
|
|
|
|
{ "url" : "../wp-includes/js/tinymce/themes/advanced/source_editor.htm?ver=311b" },
|
|
|
|
{ "url" : "../wp-includes/js/tinymce/themes/advanced/anchor.htm?ver=311b" },
|
|
|
|
{ "url" : "../wp-includes/js/tinymce/themes/advanced/image.htm?ver=311b" },
|
|
|
|
{ "url" : "../wp-includes/js/tinymce/themes/advanced/link.htm?ver=311b" },
|
|
|
|
{ "url" : "../wp-includes/js/tinymce/themes/advanced/color_picker.htm?ver=311b" },
|
|
|
|
{ "url" : "../wp-includes/js/tinymce/themes/advanced/charmap.htm?ver=311b" },
|
|
|
|
{ "url" : "../wp-includes/js/tinymce/plugins/media/media.htm?ver=311b" },
|
|
|
|
{ "url" : "../wp-includes/js/tinymce/plugins/paste/pasteword.htm?ver=311b" },
|
|
|
|
{ "url" : "../wp-includes/js/tinymce/plugins/paste/blank.htm?ver=311b" },
|
|
|
|
{ "url" : "../wp-includes/js/tinymce/plugins/paste/pastetext.htm?ver=311b" },
|
|
|
|
{ "url" : "../wp-includes/js/tinymce/plugins/fullscreen/fullscreen.htm?ver=311b" },
|
|
|
|
{ "url" : "../wp-includes/js/tinymce/plugins/inlinepopups/template.htm?ver=311b" },
|
2008-08-01 07:10:27 +02:00
|
|
|
{ "url" : "../wp-includes/js/tinymce/plugins/wpeditimage/editimage.html?ver=311f" },
|
2008-07-31 06:01:30 +02:00
|
|
|
|
|
|
|
{ "url" : "../wp-includes/js/tinymce/themes/advanced/skins/wp_theme/ui.css?ver=311b" },
|
|
|
|
{ "url" : "../wp-includes/js/tinymce/themes/advanced/skins/wp_theme/content.css?ver=311b" },
|
|
|
|
{ "url" : "../wp-includes/js/tinymce/themes/advanced/skins/wp_theme/dialog.css?ver=311b" },
|
|
|
|
{ "url" : "../wp-includes/js/tinymce/plugins/inlinepopups/skins/clearlooks2/window.css?ver=311b" },
|
|
|
|
{ "url" : "../wp-includes/js/tinymce/plugins/spellchecker/css/content.css?ver=311b" },
|
|
|
|
{ "url" : "../wp-includes/js/tinymce/plugins/wordpress/css/content.css?ver=311b" },
|
|
|
|
{ "url" : "../wp-includes/js/tinymce/plugins/media/css/content.css?ver=311b" },
|
|
|
|
{ "url" : "../wp-includes/js/tinymce/plugins/media/css/media.css?ver=311b" },
|
|
|
|
{ "url" : "../wp-includes/js/tinymce/plugins/paste/css/pasteword.css?ver=311b" },
|
|
|
|
{ "url" : "../wp-includes/js/tinymce/plugins/paste/css/blank.css?ver=311b" },
|
2008-08-01 07:10:27 +02:00
|
|
|
{ "url" : "../wp-includes/js/tinymce/plugins/wpeditimage/css/editimage.css?ver=311f" },
|
2008-07-31 06:01:30 +02:00
|
|
|
{ "url" : "../wp-includes/js/tinymce/plugins/wpeditimage/css/editimage-rtl.css?ver=311b" },
|
|
|
|
{ "url" : "../wp-includes/js/tinymce/wordpress.css?ver=311b" },
|
2008-05-16 00:57:14 +02:00
|
|
|
|
|
|
|
{ "url" : "../wp-includes/js/tinymce/themes/advanced/img/icons.gif" },
|
|
|
|
{ "url" : "../wp-includes/js/tinymce/themes/advanced/img/colorpicker.jpg" },
|
|
|
|
{ "url" : "../wp-includes/js/tinymce/themes/advanced/img/fm.gif" },
|
|
|
|
{ "url" : "../wp-includes/js/tinymce/themes/advanced/img/gotmoxie.png" },
|
|
|
|
{ "url" : "../wp-includes/js/tinymce/themes/advanced/img/sflogo.png" },
|
|
|
|
{ "url" : "../wp-includes/js/tinymce/themes/advanced/skins/wp_theme/img/butt2.png" },
|
|
|
|
{ "url" : "../wp-includes/js/tinymce/themes/advanced/skins/wp_theme/img/fade-butt.png" },
|
|
|
|
{ "url" : "../wp-includes/js/tinymce/themes/advanced/skins/wp_theme/img/tabs.gif" },
|
|
|
|
{ "url" : "../wp-includes/js/tinymce/themes/advanced/skins/wp_theme/img/down_arrow.gif" },
|
|
|
|
{ "url" : "../wp-includes/js/tinymce/themes/advanced/skins/default/img/progress.gif" },
|
|
|
|
{ "url" : "../wp-includes/js/tinymce/themes/advanced/skins/default/img/menu_check.gif" },
|
|
|
|
{ "url" : "../wp-includes/js/tinymce/themes/advanced/skins/default/img/menu_arrow.gif" },
|
|
|
|
{ "url" : "../wp-includes/js/tinymce/plugins/inlinepopups/skins/clearlooks2/img/drag.gif" },
|
|
|
|
{ "url" : "../wp-includes/js/tinymce/plugins/inlinepopups/skins/clearlooks2/img/corners.gif" },
|
|
|
|
{ "url" : "../wp-includes/js/tinymce/plugins/inlinepopups/skins/clearlooks2/img/buttons.gif" },
|
|
|
|
{ "url" : "../wp-includes/js/tinymce/plugins/inlinepopups/skins/clearlooks2/img/horizontal.gif" },
|
|
|
|
{ "url" : "../wp-includes/js/tinymce/plugins/inlinepopups/skins/clearlooks2/img/alert.gif" },
|
|
|
|
{ "url" : "../wp-includes/js/tinymce/plugins/inlinepopups/skins/clearlooks2/img/button.gif" },
|
|
|
|
{ "url" : "../wp-includes/js/tinymce/plugins/inlinepopups/skins/clearlooks2/img/confirm.gif" },
|
|
|
|
{ "url" : "../wp-includes/js/tinymce/plugins/inlinepopups/skins/clearlooks2/img/vertical.gif" },
|
|
|
|
{ "url" : "../wp-includes/js/tinymce/plugins/media/img/flash.gif" },
|
|
|
|
{ "url" : "../wp-includes/js/tinymce/plugins/media/img/flv_player.swf" },
|
|
|
|
{ "url" : "../wp-includes/js/tinymce/plugins/media/img/quicktime.gif" },
|
|
|
|
{ "url" : "../wp-includes/js/tinymce/plugins/media/img/realmedia.gif" },
|
|
|
|
{ "url" : "../wp-includes/js/tinymce/plugins/media/img/shockwave.gif" },
|
|
|
|
{ "url" : "../wp-includes/js/tinymce/plugins/media/img/windowsmedia.gif" },
|
|
|
|
{ "url" : "../wp-includes/js/tinymce/plugins/media/img/trans.gif" },
|
|
|
|
{ "url" : "../wp-includes/js/tinymce/plugins/wordpress/img/more.gif" },
|
|
|
|
{ "url" : "../wp-includes/js/tinymce/plugins/wordpress/img/more_bug.gif" },
|
|
|
|
{ "url" : "../wp-includes/js/tinymce/plugins/wordpress/img/page.gif" },
|
|
|
|
{ "url" : "../wp-includes/js/tinymce/plugins/wordpress/img/page_bug.gif" },
|
|
|
|
{ "url" : "../wp-includes/js/tinymce/plugins/wordpress/img/toolbars.gif" },
|
2008-06-10 06:40:21 +02:00
|
|
|
{ "url" : "../wp-includes/js/tinymce/plugins/wpeditimage/img/image.png" },
|
|
|
|
{ "url" : "../wp-includes/js/tinymce/plugins/wpeditimage/img/delete.png" },
|
2008-07-03 17:55:45 +02:00
|
|
|
{ "url" : "../wp-includes/js/tinymce/plugins/wordpress/img/help.gif" },
|
|
|
|
{ "url" : "../wp-includes/js/tinymce/plugins/wordpress/img/image.gif" },
|
|
|
|
{ "url" : "../wp-includes/js/tinymce/plugins/wordpress/img/media.gif" },
|
|
|
|
{ "url" : "../wp-includes/js/tinymce/plugins/wordpress/img/video.gif" },
|
2008-07-31 06:01:30 +02:00
|
|
|
{ "url" : "../wp-includes/js/tinymce/plugins/wordpress/img/audio.gif" },
|
|
|
|
<?php } ?>
|
|
|
|
|
|
|
|
{ "url" : "../wp-includes/images/crystal/archive.png" },
|
|
|
|
{ "url" : "../wp-includes/images/crystal/audio.png" },
|
|
|
|
{ "url" : "../wp-includes/images/crystal/code.png" },
|
|
|
|
{ "url" : "../wp-includes/images/crystal/default.png" },
|
|
|
|
{ "url" : "../wp-includes/images/crystal/document.png" },
|
|
|
|
{ "url" : "../wp-includes/images/crystal/interactive.png" },
|
|
|
|
{ "url" : "../wp-includes/images/crystal/text.png" },
|
|
|
|
{ "url" : "../wp-includes/images/crystal/video.png" },
|
|
|
|
{ "url" : "../wp-includes/images/crystal/spreadsheet.png" },
|
|
|
|
{ "url" : "../wp-includes/images/rss.png" },
|
|
|
|
{ "url" : "../wp-includes/js/thickbox/loadingAnimation.gif" },
|
2008-09-05 18:29:03 +02:00
|
|
|
{ "url" : "../wp-includes/js/thickbox/tb-close.png" }
|
2008-05-16 00:57:14 +02:00
|
|
|
]}
|