Cleaned up the upload button.

git-svn-id: http://svn.automattic.com/wordpress/trunk@830 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
saxmatt 2004-02-05 07:52:00 +00:00
parent bf0aac0d51
commit a157baa95c
2 changed files with 6 additions and 2 deletions

View File

@ -156,7 +156,7 @@ if ($action != 'editcomment') {
if ($action != 'editcomment') {
if ( ($use_fileupload) && ($user_level >= $fileupload_minlevel)
&& (in_array($user_login, $allowed_users) || (trim($fileupload_allowedusers)=="")) ) { ?>
<input type="button" value="upload a file/image" onclick="launchupload();" class="search" tabindex="10" />
<p><input type="button" value="Upload a file or image" onclick="launchupload();" tabindex="10" /></p>
<?php }
}

View File

@ -119,7 +119,11 @@ edCanvas = document.getElementById('content');
} ?>
<input name="referredby" type="hidden" id="referredby" value="<?php echo $HTTP_SERVER_VARS['HTTP_REFERER']; ?>" />
</p>
<?php
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 } ?>
</div>
</form>