Changeset 830

Show
Ignore:
Timestamp:
02/05/04 07:52:00 (5 years ago)
Author:
saxmatt
Message:

Cleaned up the upload button.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-admin/edit-form-advanced.php

    r823 r830  
    157157    if ( ($use_fileupload) && ($user_level >= $fileupload_minlevel) 
    158158         && (in_array($user_login, $allowed_users) || (trim($fileupload_allowedusers)=="")) ) { ?> 
    159 <input type="button" value="upload a file/image" onclick="launchupload();" class="search"  tabindex="10" /
     159<p><input type="button" value="Upload a file or image" onclick="launchupload();" tabindex="10" /></p
    160160<?php } 
    161161} 
  • trunk/wp-admin/edit-form.php

    r823 r830  
    120120  <input name="referredby" type="hidden" id="referredby" value="<?php echo $HTTP_SERVER_VARS['HTTP_REFERER']; ?>" /> 
    121121</p> 
    122  
     122<?php 
     123    if ( ($use_fileupload) && ($user_level >= $fileupload_minlevel) 
     124         && (in_array($user_login, $allowed_users) || (trim($fileupload_allowedusers)=="")) ) { ?> 
     125<p><input type="button" value="Upload a file or image" onclick="launchupload();" tabindex="10" /></p> 
     126<?php } ?> 
    123127</div> 
    124128</form>