New upload functionality.

git-svn-id: https://develop.svn.wordpress.org/trunk@831 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg
2004-02-05 14:28:02 +00:00
parent 86b72e1836
commit 3bd3606aef
7 changed files with 286 additions and 241 deletions

View File

@@ -153,14 +153,6 @@ if ($action != 'editcomment') {
?>
<?php
if ($action != 'editcomment') {
if ( ($use_fileupload) && ($user_level >= $fileupload_minlevel)
&& (in_array($user_login, $allowed_users) || (trim($fileupload_allowedusers)=="")) ) { ?>
<p><input type="button" value="Upload a file or image" onclick="launchupload();" tabindex="10" /></p>
<?php }
}
// if the level is 5+, allow user to edit the timestamp - not on 'new post' screen though
// if (($user_level > 4) && ($action != "post"))