minor layout change

git-svn-id: https://develop.svn.wordpress.org/trunk@81 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Mike Little 2003-05-24 21:30:13 +00:00
parent 2ca863e694
commit 032fe650aa
1 changed files with 294 additions and 296 deletions

View File

@ -37,7 +37,7 @@ for ($i=0; $i<count($b2varstoreset); $i += 1) {
switch($action) { switch($action) {
case 'post': case 'post':
$standalone = 1; $standalone = 1;
require_once('b2header.php'); require_once('b2header.php');
@ -113,10 +113,9 @@ case 'post':
} }
header("Location: $location"); header("Location: $location");
exit(); exit();
break;
break; case 'edit':
case 'edit':
$standalone = 0; $standalone = 0;
require_once('b2header.php'); require_once('b2header.php');
@ -136,16 +135,18 @@ case 'edit':
include('b2edit.form.php'); include('b2edit.form.php');
} else { } else {
?> ?>
<p>Since you're a newcomer, you'll have to wait for an admin to raise your level to 1,
<p>Since you're a newcomer, you'll have to wait for an admin to raise your level to 1, in order to be authorized to post.<br />You can also <a href="mailto:<?php echo $admin_email ?>?subject=b2-promotion">e-mail the admin</a> to ask for a promotion.<br />When you're promoted, just reload this page and you'll be able to blog. :)</p> in order to be authorized to post.<br />
You can also <a href="mailto:<?php echo $admin_email ?>?subject=b2-promotion">e-mail the admin</a>
<?php to ask for a promotion.<br />
When you're promoted, just reload this page and you'll be able to blog. :)
</p>
<?php
} }
break;
break; case "editpost":
case "editpost":
$standalone = 1; $standalone = 1;
require_once("./b2header.php"); require_once("./b2header.php");
@ -188,14 +189,13 @@ case "editpost":
sleep($sleep_after_edit); sleep($sleep_after_edit);
} }
// pingWeblogs($blog_ID); //pingWeblogs($blog_ID);
$location = "Location: b2edit.php"; $location = "Location: b2edit.php";
header ($location); header ($location);
break;
break; case "delete":
case "delete":
$standalone = 1; $standalone = 1;
require_once("./b2header.php"); require_once("./b2header.php");
@ -222,13 +222,13 @@ case "delete":
sleep($sleep_after_edit); sleep($sleep_after_edit);
} }
// pingWeblogs($blog_ID); // pingWeblogs($blog_ID);
header ('Location: b2edit.php'); header ('Location: b2edit.php');
break; break;
case 'editcomment': case 'editcomment':
$standalone = 0; $standalone = 0;
require_once ('b2header.php'); require_once ('b2header.php');
@ -246,9 +246,9 @@ case 'editcomment':
include('b2edit.form.php'); include('b2edit.form.php');
break; break;
case "deletecomment": case "deletecomment":
$standalone = 1; $standalone = 1;
require_once("./b2header.php"); require_once("./b2header.php");
@ -265,9 +265,9 @@ case "deletecomment":
header ("Location: b2edit.php?p=$p&c=1#comments"); //?a=dc"); header ("Location: b2edit.php?p=$p&c=1#comments"); //?a=dc");
break; break;
case "editedcomment": case "editedcomment":
$standalone = 1; $standalone = 1;
require_once("./b2header.php"); require_once("./b2header.php");
@ -308,9 +308,9 @@ case "editedcomment":
header ("Location: b2edit.php?p=$comment_post_ID&c=1#comments"); //?a=ec"); header ("Location: b2edit.php?p=$comment_post_ID&c=1#comments"); //?a=ec");
break; break;
default: default:
$standalone=0; $standalone=0;
require_once ("./b2header.php"); require_once ("./b2header.php");
@ -326,19 +326,17 @@ default:
} else { } else {
echo $tabletop; ?> echo $tabletop;
?>
<p>Since you're a newcomer, you'll have to wait for an admin to raise your level to 1, in order to be authorized to post.<br />You can also <a href="mailto:<?php echo $admin_email ?>?subject=b2-promotion">e-mail the admin</a> to ask for a promotion.<br />When you're promoted, just reload this page and you'll be able to blog. :)</p> <p>Since you're a newcomer, you'll have to wait for an admin to raise your level to 1, in order to be authorized to post.<br />You can also <a href="mailto:<?php echo $admin_email ?>?subject=b2-promotion">e-mail the admin</a> to ask for a promotion.<br />When you're promoted, just reload this page and you'll be able to blog. :)</p>
<?php <?php
echo $tablebottom; echo $tablebottom;
echo "<br /><br />"; echo "<br /><br />";
} }
include("b2edit.showposts.php"); include("b2edit.showposts.php");
break;
} } // end switch
/* </Edit> */ /* </Edit> */
include("b2footer.php"); include("b2footer.php");
?> ?>