WordPress/wp-admin/b2menutop.php
saxmatt ec3c699445 Path fix.
git-svn-id: http://svn.automattic.com/wordpress/trunk@50 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2003-05-23 11:27:46 +00:00

31 lines
824 B
PHP

<h1 id="wphead"><a href="http://wordpress.org" rel="external"><span>WordPress</span></a></h1>
<ul id="adminmenu">
<li><a href="b2edit.php"><strong>Post / Edit</strong></a></li>
<li><a href="javascript:profile(<?php echo $user_ID ?>)">My Profile</a></li>
<li><a href="b2team.php">Team</a></li>
<?php
if ($pagenow != "b2profile.php") {
$menu = file("./b2menutop.txt");
$i=0;
$j=$menu[0];
while ($j != "") {
$k = explode("\t",$j);
if ($user_level >= $k[0]) {
echo "\n<li><a href='".$k[1]."'>".trim($k[2]).'</a></li>';
}
$i=$i+1;
$j=$menu[$i];
if (trim($j) == "***")
$j="";
}
}
?>
<li><a href="<?php echo $pathserver."/".$blogfilename; ?>">View site</a></li>
<li id="last"><a href="<?php echo $siteurl ?>/b2login.php?action=logout">Logout</a></li>
</ul>
<br clear="all" />
<h2><?php echo $title; ?></h2>