Changeset 110
- Timestamp:
- 05/28/2003 07:54:49 AM (22 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/b2.css
r67 r110 11 11 a:hover { 12 12 color: #069; 13 }14 15 a.b2menutop {16 background-color: transparent;17 color: #06f;18 font-weight: lighter;19 }20 21 a.b2menutop:hover {22 color: #f90;23 font-weight: bold;24 text-decoration: none;25 }26 27 a.menutop {28 background-color: transparent;29 border-width: 0px;30 color: #36c;31 font-weight: normal;32 }33 34 a.menutop:hover {35 color: #f90;36 font-weight: normal;37 text-decoration: underline;38 13 } 39 14 … … 69 44 } 70 45 71 td.menutop {72 border-bottom-width: 1px;73 border-color: #999;74 border-left-width: 0px;75 border-right-width: 0px;76 border-style: dashed;77 border-top-width: 1px;78 padding-bottom: 2px;79 padding-top: 2px;80 }81 82 46 textarea, input, select { 83 47 background-color: #f0f0f0; … … 90 54 } 91 55 92 xmp {93 font-size: 10pt; /* Just in case */94 }95 96 .b2menutop {97 color: #333;98 font-size: 10px;99 }100 101 56 .checkbox { 102 57 background-color: #fff; … … 106 61 } 107 62 108 .menutop {109 background-color: #def;110 color: #999;111 font-size: 10px;112 }113 114 .menutoptitle {115 color: #bcd;116 font-size: 14px;117 font-weight: bold;118 }119 63 120 64 .quicktags, .search { … … 123 67 font-family: Georgia, "Times New Roman", Times, serif; 124 68 font-size: 12px; 125 }126 127 .table {128 color: #000;129 font-size: 10pt;130 }131 132 .tabletoprow {133 background-color: #fff;134 color: #000;135 font-size: 12px;136 font-style: italic;137 69 } 138 70 … … 162 94 } 163 95 164 #adminmenu a:hover {96 #adminmenu a:hover, #current { 165 97 background-color: #e9e9e9; 166 98 border: 1px solid #808080; -
trunk/wp-admin/b2menutop.php
r83 r110 1 1 <h1 id="wphead"><a href="http://wordpress.org" rel="external"><span>WordPress</span></a></h1> 2 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 7 8 if ($pagenow != "b2profile.php") { 9 3 <?php 10 4 $menu = file("./b2menutop.txt"); 11 $i=0; 12 $j=$menu[0]; 13 while ($j != "") { 14 $k = explode("\t",$j); 15 if ($user_level >= $k[0]) { 16 echo "\n<li><a href='".$k[1]."'>".trim($k[2]).'</a></li>'; 5 $continue = true; 6 foreach ($menu as $item) { 7 $class = ''; 8 $item = trim($item); 9 if ('***' == $item) $continue = false; 10 if ($continue) { 11 $item = explode("\t", $item); 12 // 0 = user level, 1 = file, 2 = name 13 if (substr($PHP_SELF, -6) == substr($item[1], -6)) $class = ' id="current"'; 14 if ($user_level >= $item[0]) echo "\n\t<li><a href='{$item[1]}'$class>{$item[2]}</a></li>"; 17 15 } 18 $i=$i+1;19 $j=$menu[$i];20 if (trim($j) == "***")21 $j="";22 16 } 23 17 24 }25 18 ?> 26 <li><a href="<?php echo $siteurl."/".$blogfilename; ?>">View site</a></li> 27 <li id="last"><a href="<?php echo $siteurl ?>/b2login.php?action=logout">Logout</a></li> 19 20 <li><a href="javascript:profile(<?php echo $user_ID ?>)">My Profile</a></li> 21 <li><a href="<?php echo "$siteurl/$blogfilename"; ?>">View site</a></li> 22 <li id="last"><a href="<?php echo $siteurl ?>/b2login.php?action=logout">Logout</a></li> 28 23 </ul> 29 24 <br clear="all" /> -
trunk/wp-admin/b2menutop.txt
r40 r110 1 2 b2edit.php Post / Edit 2 3 b2team.php Team 1 3 3 b2options.php Options 2 4 3 b2categories.php Categories 3 5 3 b2template.php Template 4 5 linkmanager.php Manage Links6 5 linkmanager.php Manage Links 5 7 *** 6 8 (Everything after the '***' is a comment.)
Note: See TracChangeset
for help on using the changeset viewer.