Make WordPress Core

Changeset 66


Ignore:
Timestamp:
05/23/2003 05:21:52 PM (22 years ago)
Author:
saxmatt
Message:

Markup cleanup.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/b2login.php

    r65 r66  
    172172case "lostpassword":
    173173
    174     ?><html>
     174    ?>
     175<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
     176<html xmlns="http://www.w3.org/1999/xhtml">
    175177<head>
    176 <title>b2 > Lost password ?</title>
    177 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    178 <link rel="stylesheet" href="<?php echo $b2inc; ?>/b2.css" type="text/css">
    179 <style type="text/css">
    180 <!--
    181 <?php
    182 if (!preg_match("/Nav/",$HTTP_USER_AGENT)) {
    183 ?>
    184 textarea,input,select {
    185     background-color: #f0f0f0;
    186     border-width: 1px;
    187     border-color: #cccccc;
    188     border-style: solid;
    189     padding: 2px;
    190     margin: 1px;
    191 }
    192 <?php
    193 }
    194 ?>
    195 -->
    196 </style>
     178    <title>WordPress > Lost password ?</title>
     179    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
     180    <link rel="stylesheet" href="<?php echo $pathserver; ?>/wp-admin/b2.css" type="text/css" />
     181    <style type="text/css">
     182    <!--
     183    <?php
     184    if (!preg_match("/Nav/",$HTTP_USER_AGENT)) {
     185    ?>
     186    textarea, input, select {
     187        background-color: #f0f0f0;
     188        border-width: 1px;
     189        border-color: #cccccc;
     190        border-style: solid;
     191        padding: 2px;
     192        margin: 1px;
     193    }
     194    <?php
     195    }
     196    ?>
     197    -->
     198    </style>
    197199</head>
    198 <body bgcolor="#ffffff" text="#000000" link="#cccccc" vlink="#cccccc" alink="#ff0000">
     200<body>
    199201
    200202<table width="100%" height="100%">
    201203<td align="center" valign="middle">
    202204
    203 <table width="200" height="200" style="border: 1px solid #cccccc;" cellpadding="0" cellspacing="0">
    204 
    205 <tr height="50">
    206 <td height="50" width="50">
    207 <a href="http://cafelog.com" target="_blank"><img src="b2-img/b2minilogo.png" border="0" alt="visit b2's homepage" /></a>
    208 </td>
    209 <td align="right" valign="top">&nbsp;</td>
    210 </tr>
    211 
    212 <tr height="150"><td align="right" valign="bottom" height="150" colspan="2">
    213 
    214 <p align="center" style="color: #b0b0b0">Type your login here and click OK. You will receive an email with your password.</p>
     205<div id="login">
     206<p>Type your login here and click OK. You will receive an email with your password.</p>
    215207<?php
    216208if ($error) echo "<div align=\"right\" style=\"padding:4px;\"><font color=\"#FF0000\">$error</font><br />&nbsp;</div>";
     
    219211<form name="" action="b2login.php" method="post">
    220212<input type="hidden" name="action" value="retrievepassword" />
    221 <table width="100" style="background-color: #ffffff">
    222 <tr><td align="right">login</td>
    223     <td><input type="text" name="user_login" value="" size="8" />&nbsp;&nbsp;&nbsp;</td></tr>
    224 <tr><td>&nbsp;</td>
    225     <td><input type="submit" name="Submit2" value="OK" class="search">&nbsp;&nbsp;&nbsp;</td></tr>
    226 </table>
     213<label>Login: <input type="text" name="user_login" id="user_login" value="" size="12" /></label>
     214<input type="submit" name="Submit2" value="OK" class="search">
    227215
    228216</form>
    229 
    230 </td>
    231 </tr>
    232 </table>
     217</div>
     218
    233219</td>
    234220</tr>
     
    299285        exit();
    300286    }
    301     ?><html>
     287    ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
     288<html xmlns="http://www.w3.org/1999/xhtml">
    302289<head>
    303 <title>b2 > Login form</title>
     290<title>WordPress > Login form</title>
    304291<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    305 <link rel="stylesheet" href="<?php echo $b2inc; ?>/b2.css" type="text/css">
     292<link rel="stylesheet" href="<?php echo $pathserver; ?>/wp-admin/b2.css" type="text/css">
    306293<style type="text/css">
    307294<!--
     
    309296if (!preg_match("/Nav/",$HTTP_USER_AGENT)) {
    310297?>
    311 textarea,input,select {
     298textarea, input, select {
    312299    background-color: #f0f0f0;
    313300    border-width: 1px;
     
    323310</style>
    324311</head>
    325 <body bgcolor="#ffffff" text="#000000" link="#cccccc" vlink="#cccccc" alink="#ff0000">
     312<body>
    326313
    327314<table width="100%" height="100%">
    328315<td align="center" valign="middle">
    329316
    330 <table width="200" height="200" style="border: 1px solid #cccccc;" cellpadding="0" cellspacing="0">
    331 
    332 <tr height="50">
    333 <td height="50" width="50">
    334 <a href="http://cafelog.com" target="_blank"><img src="b2-img/b2minilogo.png" border="0" alt="visit b2's homepage" /></a>
    335 </td>
    336 <td align="right" valign="top">
    337 <a href="b2register.php" class="b2menutop">register ?</a><br />
    338 <a href="b2login.php?action=lostpassword" class="b2menutop">lost your password ?</a>
    339 </td>
    340 </tr>
    341 
    342 <tr height="150"><td align="right" valign="bottom" height="150" colspan="2">
     317<div id="login">
     318<p><a href="<?php echo $pathserver; ?>/b2register.php">Register?</a><br />
     319<a href="<?php echo $pathserver; ?>/b2login.php?action=lostpassword">Lost your password?</a></p>
    343320
    344321<?php
     
    355332<input type="hidden" name="redirect_to" value="wp-admin/b2edit.php" />
    356333<input type="hidden" name="action" value="login" />
    357 <table width="100" style="background-color: #ffffff">
    358 <tr><td align="right">login</td>
    359     <td><input type="text" name="log" value="" size="8" />&nbsp;&nbsp;&nbsp;</td></tr>
    360 <tr><td align="right">password</td>
    361     <td><input type="password" name="pwd" value="" size="8" />&nbsp;&nbsp;&nbsp;</td></tr>
    362 <tr><td>&nbsp;</td>
    363     <td><input type="submit" name="Submit2" value="OK" class="search">&nbsp;&nbsp;&nbsp;</td></tr>
    364 </table>
     334<label>Login: <input type="text" name="log" value="" size="8" /></label><br />
     335<label>Password: <input type="password" name="pwd" value="" size="8" /></label><br />
     336<input type="submit" name="Submit2" value="OK" class="search">
    365337
    366338</form>
    367339
     340</div>
    368341</td>
    369342</tr>
    370343</table>
    371 </td>
    372 </tr>
    373 </table>
    374344
    375345</body>
Note: See TracChangeset for help on using the changeset viewer.