mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
New upload functionality.
git-svn-id: https://develop.svn.wordpress.org/trunk@831 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -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"))
|
||||
|
||||
Reference in New Issue
Block a user