Make WordPress Core

Changeset 30


Ignore:
Timestamp:
05/21/2003 12:47:27 PM (21 years ago)
Author:
saxmatt
Message:

New admin interface start.

Location:
trunk/b2-include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/b2-include/b2.css

    r8 r30  
     1#wphead {
     2    margin: 5px;
     3    background-image: url(http://wordpress.org/images/wp-small.png);
     4    background-repeat: no-repeat;
     5    height: 42px;
     6    border-bottom: 4px solid #333;
     7}
     8#wphead a {
     9    display: block;
     10    height: 30px;
     11}
     12#wphead a span {
     13    display: none;
     14}
     15
     16#adminmenu {
     17    list-style: none outside;
     18    padding: 0;
     19    margin: 5px 0 0 0;
     20    margin-left: 40px;
     21    height: 100%;
     22}
     23
     24#adminmenu li {
     25    text-align: center;
     26    display: block;
     27    float: left;
     28    padding: 4px;
     29    border-right: 1px solid #ccc;
     30}
     31#adminmenu #last {
     32    border-right: none;
     33}
     34#adminmenu a {
     35    padding: 3px 8px 3px 7px;
     36    color: #333;
     37    text-decoration: none;
     38    border: 1px solid white;
     39}
     40#adminmenu a:hover {
     41    background-color: #e9e9e9;
     42    color: #333;
     43    border: 1px solid gray;
     44}
     45
    146body    {
    247    margin-top: 0px;
     
    752body, td {
    853    color: #000000;
    9     font-family: Verdana, Geneva, Arial, Helvetica;
     54    font-family: Georgia, "Times New Roman", Times, serif;
    1055    font-size: 10pt;
    1156}
    1257a {
    13     background-color: transparent;
    14     color: #0000FF;
    15     text-decoration: none;
     58    color: #00019b;
    1659    font-weight: bold;
    1760}
     61a:visited {
     62    color: #006;
     63}
    1864a:hover {
    19     color: #FF3300;
    20     text-decoration: underline;
    21     font-weight: bold;
     65    color: #069;
    2266}
    2367
     
    2872.table {
    2973    color: #000000;
    30     font-family: Verdana, Geneva, Arial, Helvetica;
    3174    font-size: 10pt;
    3275}
     
    3477    background-color: #ffffff;
    3578    color: #000000;
    36     font-family: Verdana, Geneva, Arial, Helvetica;
    3779    font-size: 12px;
    3880    font-style: italic;
    3981}
    40 .search {
    41     font-family: Arial, Helvetica, sans-serif;
    42     font-size: 12px;
    43     color: #000066;
    44     background-color: #ffeecc;
    45     background-image: url("../b2-img/b2button.gif");
    46 }
    47 .quicktags {
    48     font-family: Arial, Helvetica, sans-serif;
     82
     83.quicktags, .search {
     84    font-family: Georgia, "Times New Roman", Times, serif;
    4985    font-size: 12px;
    5086    color: #000000;
    5187    background-color: #cccccc;
    52     background-image: url("../b2-img/b2button2.gif");
    5388}
    5489
    5590.menutop {
    5691    color: #999999;
    57     font-family: Verdana, Geneva, Arial, Helvetica;
    5892    font-size: 10px;
    5993    background-color: #DDEEFF;
     
    72106
    73107.menutoptitle {
    74     font-family: Arial, Verdana, Geneva, Arial, Helvetica;
    75108    color: #BBCCDD;
    76109    font-size: 14px;
     
    80113.b2menutop {
    81114    color: #333333;
    82     font-family: Verdana, Geneva, Arial, Helvetica;
    83115    font-size: 10px;
    84116}
     
    94126}
    95127xmp { /* Just in case */
    96     font-family: Verdana, Geneva, Arial, Helvetica;
    97128    font-size: 10pt;
    98129}
  • trunk/b2-include/b2menutop.php

    r8 r30  
    1 <img src="b2-img/blank.gif" width="1" height="5" alt="" border="0" />
    2 <table width="100%" border="0" cellpadding="0" cellspacing="0">
    3 <tr height="15">
    4 
    5 <td height="15" width="20"><img src="b2-img/blank.gif" width="1" height="1" alt="" /></td>
    6 
    7 <td rowspan="3" width="50" valign="top"><a href="http://cafelog.com/"><img src="b2-img/b2minilogo.png" width="50" height="50" border="0" alt="visit b2's website" style="border-width:1px; border-color: #999999; border-style: dashed" /></a></td>
    8 
    9 <td><img src="b2-img/blank.gif" width="1" height="1" alt="" /></td>
    10 <td width="150" style="text-align: right; padding-rightt: 6px;">
    11 <span style="color: #b0b0b0; font-family: verdana, arial, helvetica; font-size: 10px;">logged in as : <b><?php echo $user_login; ?></b></span>
    12 </td>
    13 
    14 </tr>
    15 <tr>
    16 
    17 <td class="menutop" width="20">&nbsp;
    18 </td>
    19 
    20 <td class="menutop"<?php if ($is_NS4) { echo " width=\"500\""; } ?>>
    21 <div class="menutop"<?php if ($is_NS4) { echo " width=\"500\""; } ?>>
    22 
    23 
    24 <?php if ($is_NS4) { echo $HTTP_USER_AGENT; } ?>
    25 
    26 
    27 <?php $sep = "&nbsp;&nbsp;|&nbsp;&nbsp;"; ?>
    28 &nbsp;<a href="b2edit.php" class="menutop" style="-font-weight: bold;">Post / Edit</a><?php echo $sep ?><a href="javascript:profile(<?php echo $user_ID ?>)" class="menutop">My Profile</a><?php echo $sep ?><a href="b2team.php" class="menutop">Team</a><?php
     1<h1 id="wphead"><a href="http://wordpress.org" rel="external"><span>WordPress</span></a></h1>
     2<ul id="adminmenu">
     3  <li><a href="b2edit.php"><strong>Post / Edit</strong></a></li>
     4  <li><a href="javascript:profile(<?php echo $user_ID ?>)">My Profile</a></li>
     5  <li><a href="b2team.php">Team</a></li>
     6    <?php
    297
    308if ($pagenow != "b2profile.php") {
     
    3614    $k = explode("\t",$j);
    3715    if ($user_level >= $k[0]) {
    38         echo "$sep<a href=\"".$k[1]."\" class=\"menutop\">".trim($k[2])."</a>";
     16        echo "\n<li><a href='".$k[1]."'>".trim($k[2]).'</a></li>';
    3917    }
    4018    $i=$i+1;
     
    4624}
    4725?>
     26<li><a href="<?php echo $siteurl."/".$blogfilename; ?>">View site</a></li>
     27<li><a href="b2login.php?action=logout">Logout</a></li>
     28</ul>
    4829
    49 </div>
    50 </td>
    51 
    52 <td width="150" class="menutop" align="right" bgcolor="#FF9900">
    53 <a href="<?php echo $siteurl."/".$blogfilename; ?>" class="menutop">View site</a>
    54 <?php echo $sep; ?>
    55 <a href="b2login.php?action=logout" class="menutop">Logout</a>
    56 </td>
    57 
    58 </tr>
    59 <tr>
    60 
    61 <td>&nbsp;</td>
    62 <td style="padding-left: 6px;"><span class="menutoptitle">:: <?php echo $title; ?></span></td>
    63 <td>&nbsp;</td>
    64 
    65 </tr>
    66 
    67 </table>
     30<h2><?php echo $title; ?></h2>
Note: See TracChangeset for help on using the changeset viewer.