Fix broken header.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1502 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
dcec3da0fb
commit
250cee327d
|
@ -13,9 +13,10 @@ if ($user_level == 0)
|
||||||
|
|
||||||
if ('b' == $a) {
|
if ('b' == $a) {
|
||||||
|
|
||||||
?><html>
|
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
<head>
|
<head>
|
||||||
<script language="javascript" type="text/javascript">
|
<script type="text/javascript">
|
||||||
<!--
|
<!--
|
||||||
window.close()
|
window.close()
|
||||||
-->
|
-->
|
||||||
|
@ -27,7 +28,7 @@ window.close()
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
$popuptitle = stripslashes($popuptitle);
|
$popuptitle = stripslashes($popuptitle);
|
||||||
$text = stripslashes($text);
|
$text = stripslashes(urldecode($text));
|
||||||
|
|
||||||
/* big funky fixes for browsers' javascript bugs */
|
/* big funky fixes for browsers' javascript bugs */
|
||||||
|
|
||||||
|
@ -70,11 +71,11 @@ window.close()
|
||||||
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
<head>
|
<head>
|
||||||
<title>WordPress > Bookmarklet</title>
|
<title><?php bloginfo('name') ?> › Bookmarklet — WordPress</title>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo get_settings('blog_charset'); ?>" />
|
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo get_settings('blog_charset'); ?>" />
|
||||||
<link rel="stylesheet" href="wp-admin.css" type="text/css" />
|
<link rel="stylesheet" href="wp-admin.css" type="text/css" />
|
||||||
<link rel="shortcut icon" href="../wp-images/wp-favicon.png" />
|
<link rel="shortcut icon" href="../wp-images/wp-favicon.png" />
|
||||||
<script type="text/javascript" language="javascript">
|
<script type="text/javascript">
|
||||||
<!--
|
<!--
|
||||||
function launchupload() {
|
function launchupload() {
|
||||||
window.open ("upload.php", "wpupload", "width=380,height=360,location=0,menubar=0,resizable=1,scrollbars=yes,status=1,toolbar=0");
|
window.open ("upload.php", "wpupload", "width=380,height=360,location=0,menubar=0,resizable=1,scrollbars=yes,status=1,toolbar=0");
|
||||||
|
@ -121,7 +122,9 @@ function launchupload() {
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body id="wpbookmarklet">
|
<body id="wpbookmarklet">
|
||||||
<h1 id="wphead"><a href="http://wordpress.org" rel="external">WordPress</a></h1>
|
<div id="wphead">
|
||||||
|
<h1><?php bloginfo('name') ?></h1>
|
||||||
|
</div>
|
||||||
|
|
||||||
<?php require('edit-form.php'); ?>
|
<?php require('edit-form.php'); ?>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue