Migration to get_settings and away from globals.

git-svn-id: http://svn.automattic.com/wordpress/trunk@957 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
saxmatt
2004-03-01 19:55:45 +00:00
parent b6aa1f6807
commit a0867db6ed
27 changed files with 51 additions and 72 deletions

View File

@@ -42,7 +42,7 @@ case 'update':
require_once("admin-header.php");
if ($user_level < 3) {
die('<p>You have no right to edit the template for this blog.<br />Ask for a promotion to your <a href="mailto:$admin_email">blog admin</a>. :)</p>');
die('<p>You have do not have sufficient permissions to edit templates for this blog.</p>');
}
$newcontent = stripslashes($HTTP_POST_VARS['newcontent']);
@@ -62,7 +62,7 @@ default:
require_once('admin-header.php');
if ($user_level <= 3) {
die('<p>You have no right to edit the template for this blog.<br>Ask for a promotion to your <a href="mailto:$admin_email">blog admin</a>. :)</p>');
die('<p>You have do not have sufficient permissions to edit templates for this blog.</p>');
}
if ('' == $file) {