Path fixes.

git-svn-id: http://svn.automattic.com/wordpress/trunk@84 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
saxmatt 2003-05-24 22:25:39 +00:00
parent debf2f7147
commit d51187d50f
3 changed files with 26 additions and 44 deletions

View File

@ -76,9 +76,9 @@ function launchupload() {
body { body {
background-image: url('<?php background-image: url('<?php
if ($is_gecko || $is_IE) { if ($is_gecko || $is_IE) {
?>b2-img/bgbookmarklet1.gif<?php ?>../b2-img/bgbookmarklet1.gif<?php
} else { } else {
?>b2-img/bgbookmarklet3.gif<?php ?>../b2-img/bgbookmarklet3.gif<?php
} }
?>'); ?>');
background-repeat: no-repeat; background-repeat: no-repeat;
@ -89,7 +89,7 @@ if (!$is_NS4) {
textarea,input,select { textarea,input,select {
background-color: transparent; background-color: transparent;
<?php if ($is_gecko || $is_macIE) { ?> <?php if ($is_gecko || $is_macIE) { ?>
background-image: url('b2-img/bgbookmarklet.png'); background-image: url('../b2-img/bgbookmarklet.png');
<?php } elseif ($is_winIE) { ?> <?php } elseif ($is_winIE) { ?>
background-color: #cccccc; background-color: #cccccc;
filter: alpha(opacity:80); filter: alpha(opacity:80);
@ -157,8 +157,8 @@ if (($is_gecko) && (!isset($Gecko_bookmarklet_fix))) {
<td width="40">&nbsp;</td> <td width="40">&nbsp;</td>
<td align="left" width="415"> <td align="left" width="415">
<table cellspacing="0" cellpadding="0"> <table cellspacing="0" cellpadding="0">
<td height="50" width="250" align="left" valign="bottom"><b>Title</b><br /> <td height="50" width="250" align="left" valign="bottom"><label>Title<br />
<input type="text" name="post_title" size="20" tabindex="1" style="width: 215px;" value="<?php echo stripslashes($popuptitle) ?>" /></td> <input type="text" name="post_title" size="20" tabindex="1" style="width: 215px;" value="<?php echo stripslashes($popuptitle) ?>" /></label></td>
<td width="165" align="left" valign="bottom"><b>Category</b><br /><?php dropdown_categories(); ?></td> <td width="165" align="left" valign="bottom"><b>Category</b><br /><?php dropdown_categories(); ?></td>
</table> </table>
</td> </td>
@ -168,7 +168,7 @@ if (($is_gecko) && (!isset($Gecko_bookmarklet_fix))) {
<td width="415" align="left" height="40"> <td width="415" align="left" height="40">
<table width="415" cellpadding="0" cellspacing="0"> <table width="415" cellpadding="0" cellspacing="0">
<td align="left" valign="bottom"><b>Post</b></td> <td align="left" valign="bottom"><b>Post</b></td>
<td align="right" valign="bottom"><?php if ($use_quicktags) include($b2inc."/b2quicktags.php"); ?></td> <td align="right" valign="bottom"><?php if ($use_quicktags) include("b2quicktags.php"); ?></td>
</table> </table>
<?php <?php
if ((preg_match("/Nav/",$HTTP_USER_AGENT)) || (preg_match("/Mozilla\/4\.7/",$HTTP_USER_AGENT))) { if ((preg_match("/Nav/",$HTTP_USER_AGENT)) || (preg_match("/Mozilla\/4\.7/",$HTTP_USER_AGENT))) {
@ -191,7 +191,6 @@ preg_match("/\%u[1-9A-F][1-9A-F][1-9A-F][1-9A-F]/is", $text, $stufftofix);
<table cellpadding="0" cellspacing="0"> <table cellpadding="0" cellspacing="0">
<td align="left" width="90"> <td align="left" width="90">
<input type="checkbox" name="post_autobr" value="1" <?php if ($autobr) echo " checked" ?> tabindex="4" class="checkbox" id="autobr" /><label for="autobr"> Auto-BR</label>
</td> </td>
<?php if ($pingback) { ?> <?php if ($pingback) { ?>
<td align="left"> <td align="left">
@ -201,22 +200,17 @@ preg_match("/\%u[1-9A-F][1-9A-F][1-9A-F][1-9A-F]/is", $text, $stufftofix);
</table> </table>
<?php if ($use_preview) { ?> <?php if ($use_preview) { ?>
<input type="button" value="preview" onclick="preview(this.form);" class="search" tabindex="8" /> <input type="button" value="preview" onClick="preview(this.form);" class="search" tabindex="8" />
<?php } ?> <?php } ?>
<input type="submit" name="submit" value="Blog this !" class="search" tabindex="3" /> <input type="submit" name="submit" value="Blog this !" class="search" tabindex="3" />
<?php if ($use_spellchecker) { ?>
<!--<input type = "button" value = "Spell Check" onclick="var f=document.forms[0]; doSpell( 'en', f.post_content, '<?php echo $spellchecker_url ?>/sproxy.cgi', true);" class="search" tabindex="5" />-->
<input type="button" value="Spellcheck" onclick="DoSpell
('post','content','');" class="search" />
<?php } ?>
<?php if ( ($use_fileupload) && ($user_level >= $fileupload_minlevel) && ((ereg(" ".$user_login." ", $fileupload_allowedusers)) || (trim($fileupload_allowedusers)=="")) ) { ?> <?php if ( ($use_fileupload) && ($user_level >= $fileupload_minlevel) && ((ereg(" ".$user_login." ", $fileupload_allowedusers)) || (trim($fileupload_allowedusers)=="")) ) { ?>
<input type="button" value="upload a file" onclick="launchupload();" class="search" /> <input type="button" value="upload a file" onClick="launchupload();" class="search" />
<?php } ?> <?php } ?>
<script language="JavaScript"> <script language="JavaScript" type="text/javascript">
<!-- <!--
window.focus(); window.focus();
// document.blog.post_content.focus(); // document.blog.post_content.focus();
@ -228,8 +222,8 @@ window.focus();
<tr> <tr>
<td width="40">&nbsp;</td> <td width="40">&nbsp;</td>
<td width="415" align="left" height="40"> <td width="415" align="left" height="40">
<b>TrackBack</b> an URL:<br /> <label for="trackback"><strong>TrackBack</strong> an <acronym title="Uniform Resource Locator">URL</acronym>:</label> (Seperate multiple URLs with commas.)<br />
<input type="text" name="trackback_url" style="width: 415px" /> <input type="text" name="trackback" style="width: 415px" />
</td> </td>
</tr> </tr>
<?php } ?> <?php } ?>
@ -238,16 +232,7 @@ window.focus();
</form> </form>
<!-- this is for the spellchecker --> </div>
<form name="SPELLDATA"><div>
<input name="formname" type="hidden" value="">
<input name="messagebodyname" type="hidden" value="">
<input name="subjectname" type="hidden" value="">
<input name="companyID" type="hidden" value="">
<input name="language" type="hidden" value="">
<input name="opener" type="hidden" value="">
<input name="formaction" type="hidden" value="">
</div></form>
</body> </body>
</html><?php </html><?php

View File

@ -30,7 +30,7 @@ if ($a=="b") {
<html xmlns="http://www.w3.org/1999/xhtml"> <html xmlns="http://www.w3.org/1999/xhtml">
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" href="<?php echo $b2inc; ?>/b2.css" type="text/css" /> <link rel="stylesheet" href="b2.css" type="text/css" />
</head> </head>
<body> <body>
<br /> <br />
@ -47,8 +47,8 @@ if ($a=="b") {
?><html> ?><html>
<head> <head>
<title>b2 > sidebar</title> <title>WordPress > sidebar</title>
<link rel="stylesheet" href="<?php echo $b2inc; ?>/b2.css" type="text/css"> <link rel="stylesheet" href="b2.css" type="text/css">
<?php <?php
if ($use_spellchecker) { if ($use_spellchecker) {
?><script type="text/javascript" language="javascript"> ?><script type="text/javascript" language="javascript">
@ -73,7 +73,7 @@ window.open("<?php echo $siteurl ?>/b2spell.php","Spell",
<style type="text/css"> <style type="text/css">
<!-- <!--
body { body {
background-image: url('b2-img/b2minilogo.png'); background-image: url('../b2-img/b2minilogo.png');
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: 50px 90px; background-position: 50px 90px;
padding: 3px; padding: 3px;
@ -83,7 +83,7 @@ textarea,input,select {
font-size: 12px; font-size: 12px;
background-color: transparent; background-color: transparent;
<?php if ($is_gecko || $is_macIE) { ?> <?php if ($is_gecko || $is_macIE) { ?>
background-image: url('b2-img/bgbookmarklet.png'); background-image: url('../b2-img/bgbookmarklet.png');
<?php } elseif ($is_winIE) { ?> <?php } elseif ($is_winIE) { ?>
background-color: #dddddd; background-color: #dddddd;
filter: alpha(opacity:80); filter: alpha(opacity:80);
@ -106,10 +106,7 @@ textarea,input,select {
</style> </style>
</head> </head>
<body> <body>
<!--<table width="100%" cellpadding="0" cellspacing="0">
<td><img src="b2-img/b2minilogo.png"></td>
</table>
-->
<form name="post" action="b2edit.php" method="POST" accept-charset="iso-8859-1"> <form name="post" action="b2edit.php" method="POST" accept-charset="iso-8859-1">
<input type="hidden" name="action" value="post" /> <input type="hidden" name="action" value="post" />
<input type="hidden" name="user_ID" value="<?php echo $user_ID ?>" /> <input type="hidden" name="user_ID" value="<?php echo $user_ID ?>" />

View File

@ -109,15 +109,15 @@ default:
echo "<tr>\n<!--".$user_data["user_login"]."-->\n"; echo "<tr>\n<!--".$user_data["user_login"]."-->\n";
$email = $user_data["user_email"]; $email = $user_data["user_email"];
$url = $user_data["user_url"]; $url = $user_data["user_url"];
$bg1 = ($user_data["user_login"] == $user_login) ? "style=\"background-image: url('b2-img/b2button.gif');\"" : "bgcolor=\"#dddddd\""; $bg1 = ($user_data["user_login"] == $user_login) ? "style=\"background-image: url('../b2-img/b2button.gif');\"" : "bgcolor=\"#dddddd\"";
$bg2 = ($user_data["user_login"] == $user_login) ? "style=\"background-image: url('b2-img/b2button.gif');\"" : "bgcolor=\"#eeeeee\""; $bg2 = ($user_data["user_login"] == $user_login) ? "style=\"background-image: url('../b2-img/b2button.gif');\"" : "bgcolor=\"#eeeeee\"";
echo "<td $bg1>".$user_data["ID"]."</td>\n"; echo "<td $bg1>".$user_data["ID"]."</td>\n";
echo "<td $bg2><b><a href=\"javascript:profile(".$user_data["ID"].")\">".$user_data["user_nickname"]."</a></b></td>\n"; echo "<td $bg2><b><a href=\"javascript:profile(".$user_data["ID"].")\">".$user_data["user_nickname"]."</a></b></td>\n";
echo "<td $bg1>".$user_data["user_firstname"]."&nbsp;".$user_data["user_lastname"]."</td>\n"; echo "<td $bg1>".$user_data["user_firstname"]."&nbsp;".$user_data["user_lastname"]."</td>\n";
echo "<td $bg2>&nbsp;<a href=\"mailto:$email\" title=\"e-mail: $email\"><img src=\"b2-img/email.gif\" border=\"0\" alt=\"e-mail: $email\" /></a>&nbsp;</td>"; echo "<td $bg2>&nbsp;<a href=\"mailto:$email\" title=\"e-mail: $email\"><img src='../b2-img/email.gif' border=\"0\" alt=\"e-mail: $email\" /></a>&nbsp;</td>";
echo "<td $bg1>&nbsp;"; echo "<td $bg1>&nbsp;";
if (($user_data["user_url"] != "http://") and ($user_data["user_url"] != "")) if (($user_data["user_url"] != "http://") and ($user_data["user_url"] != ""))
echo "<a href=\"$url\" target=\"_blank\" title=\"website: $url\"><img src=\"b2-img/url.gif\" border=\"0\" alt=\"website: $url\" /></a>&nbsp;"; echo "<a href=\"$url\" target=\"_blank\" title=\"website: $url\"><img src=\"../b2-img/url.gif\" border=\"0\" alt=\"website: $url\" /></a>&nbsp;";
echo "</td>\n"; echo "</td>\n";
echo "<td $bg2>".$user_data["user_level"]; echo "<td $bg2>".$user_data["user_level"];
if (($user_level >= 2) and ($user_level > ($user_data["user_level"] + 1))) if (($user_level >= 2) and ($user_level > ($user_data["user_level"] + 1)))
@ -162,15 +162,15 @@ default:
echo "<tr>\n<!--".$user_data["user_login"]."-->\n"; echo "<tr>\n<!--".$user_data["user_login"]."-->\n";
$email = $user_data["user_email"]; $email = $user_data["user_email"];
$url = $user_data["user_url"]; $url = $user_data["user_url"];
$bg1 = ($user_data["user_login"] == $user_login) ? "style=\"background-image: url('b2-img/b2button.gif');\"" : "bgcolor=\"#dddddd\""; $bg1 = ($user_data["user_login"] == $user_login) ? "style=\"background-image: url('../b2-img/b2button.gif');\"" : "bgcolor=\"#dddddd\"";
$bg2 = ($user_data["user_login"] == $user_login) ? "style=\"background-image: url('b2-img/b2button.gif');\"" : "bgcolor=\"#eeeeee\""; $bg2 = ($user_data["user_login"] == $user_login) ? "style=\"background-image: url('../b2-img/b2button.gif');\"" : "bgcolor=\"#eeeeee\"";
echo "<td $bg1>".$user_data["ID"]."</td>\n"; echo "<td $bg1>".$user_data["ID"]."</td>\n";
echo "<td $bg2><b><a href=\"javascript:profile(".$user_data["ID"].")\">".$user_data["user_nickname"]."</a></b></td>\n"; echo "<td $bg2><b><a href=\"javascript:profile(".$user_data["ID"].")\">".$user_data["user_nickname"]."</a></b></td>\n";
echo "<td $bg1>".$user_data["user_firstname"]."&nbsp;".$user_data["user_lastname"]."</td>\n"; echo "<td $bg1>".$user_data["user_firstname"]."&nbsp;".$user_data["user_lastname"]."</td>\n";
echo "<td $bg1>&nbsp;<a href=\"mailto:".antispambot($email)."\" title=\"e-mail: ".antispambot($email)."\"><img src=\"b2-img/email.gif\" border=\"0\" alt=\"e-mail: ".antispambot($email)."\" /></a>&nbsp;</td>"; echo "<td $bg1>&nbsp;<a href=\"mailto:".antispambot($email)."\" title=\"e-mail: ".antispambot($email)."\"><img src=\"../b2-img/email.gif\" border=\"0\" alt=\"e-mail: ".antispambot($email)."\" /></a>&nbsp;</td>";
echo "<td $bg2>&nbsp;"; echo "<td $bg2>&nbsp;";
if (($user_data["user_url"] != "http://") and ($user_data["user_url"] != "")) if (($user_data["user_url"] != "http://") and ($user_data["user_url"] != ""))
echo "<a href=\"$url\" target=\"_blank\" title=\"website: $url\"><img src=\"b2-img/url.gif\" border=\"0\" alt=\"website: $url\" /></a>&nbsp;"; echo "<a href=\"$url\" target=\"_blank\" title=\"website: $url\"><img src=\"../b2-img/url.gif\" border=\"0\" alt=\"website: $url\" /></a>&nbsp;";
echo "</td>\n"; echo "</td>\n";
echo "<td $bg1>".$user_data["user_level"]; echo "<td $bg1>".$user_data["user_level"];
if ($user_level >= 2) if ($user_level >= 2)