minor layout change
git-svn-id: https://develop.svn.wordpress.org/trunk@81 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
2ca863e694
commit
032fe650aa
@ -37,7 +37,7 @@ for ($i=0; $i<count($b2varstoreset); $i += 1) {
|
||||
|
||||
switch($action) {
|
||||
|
||||
case 'post':
|
||||
case 'post':
|
||||
|
||||
$standalone = 1;
|
||||
require_once('b2header.php');
|
||||
@ -113,10 +113,9 @@ case 'post':
|
||||
}
|
||||
header("Location: $location");
|
||||
exit();
|
||||
break;
|
||||
|
||||
break;
|
||||
|
||||
case 'edit':
|
||||
case 'edit':
|
||||
|
||||
$standalone = 0;
|
||||
require_once('b2header.php');
|
||||
@ -136,16 +135,18 @@ case 'edit':
|
||||
include('b2edit.form.php');
|
||||
|
||||
} else {
|
||||
?>
|
||||
|
||||
<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
|
||||
?>
|
||||
<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
|
||||
}
|
||||
break;
|
||||
|
||||
break;
|
||||
|
||||
case "editpost":
|
||||
case "editpost":
|
||||
|
||||
$standalone = 1;
|
||||
require_once("./b2header.php");
|
||||
@ -188,14 +189,13 @@ case "editpost":
|
||||
sleep($sleep_after_edit);
|
||||
}
|
||||
|
||||
// pingWeblogs($blog_ID);
|
||||
//pingWeblogs($blog_ID);
|
||||
|
||||
$location = "Location: b2edit.php";
|
||||
header ($location);
|
||||
break;
|
||||
|
||||
break;
|
||||
|
||||
case "delete":
|
||||
case "delete":
|
||||
|
||||
$standalone = 1;
|
||||
require_once("./b2header.php");
|
||||
@ -222,13 +222,13 @@ case "delete":
|
||||
sleep($sleep_after_edit);
|
||||
}
|
||||
|
||||
// pingWeblogs($blog_ID);
|
||||
// pingWeblogs($blog_ID);
|
||||
|
||||
header ('Location: b2edit.php');
|
||||
|
||||
break;
|
||||
break;
|
||||
|
||||
case 'editcomment':
|
||||
case 'editcomment':
|
||||
|
||||
$standalone = 0;
|
||||
require_once ('b2header.php');
|
||||
@ -246,9 +246,9 @@ case 'editcomment':
|
||||
|
||||
include('b2edit.form.php');
|
||||
|
||||
break;
|
||||
break;
|
||||
|
||||
case "deletecomment":
|
||||
case "deletecomment":
|
||||
|
||||
$standalone = 1;
|
||||
require_once("./b2header.php");
|
||||
@ -265,9 +265,9 @@ case "deletecomment":
|
||||
|
||||
header ("Location: b2edit.php?p=$p&c=1#comments"); //?a=dc");
|
||||
|
||||
break;
|
||||
break;
|
||||
|
||||
case "editedcomment":
|
||||
case "editedcomment":
|
||||
|
||||
$standalone = 1;
|
||||
require_once("./b2header.php");
|
||||
@ -308,9 +308,9 @@ case "editedcomment":
|
||||
|
||||
header ("Location: b2edit.php?p=$comment_post_ID&c=1#comments"); //?a=ec");
|
||||
|
||||
break;
|
||||
break;
|
||||
|
||||
default:
|
||||
default:
|
||||
|
||||
$standalone=0;
|
||||
require_once ("./b2header.php");
|
||||
@ -326,19 +326,17 @@ default:
|
||||
|
||||
} 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>
|
||||
<?php
|
||||
<?php
|
||||
echo $tablebottom;
|
||||
echo "<br /><br />";
|
||||
|
||||
}
|
||||
|
||||
include("b2edit.showposts.php");
|
||||
|
||||
}
|
||||
|
||||
|
||||
break;
|
||||
} // end switch
|
||||
/* </Edit> */
|
||||
include("b2footer.php");
|
||||
?>
|
Loading…
Reference in New Issue
Block a user