Upload button in the Insert Image screen

  •  12-04-2007, 10:34 AM

    Upload button in the Insert Image screen

    Dear All
     
    Can anyone tell me how I can either
     
    1) make the Upload button in the Insert Image screen invisible or
     
    2) ideally tell me how I can get rid of this fieldset
     

    <fieldset id="fieldsetUpload">

    <legend>

    [[Upload]] ([[MaxFileSizeAllowed]]

    <%= CuteEditor.Impl.FileStorage.FormatSize(secset.MaxImageSize * 1024)%>

    )</legend>

    <table border="0" cellspacing="2" cellpadding="0" width="100%" class="normal">

    <tr>

    <td style="width:8">

    </td>

    </tr>

    <tr>

    <td valign="top" style="FONT-SIZE: 8pt; vertical-align: middle; FONT-FAMILY: MS Sans Serif">

    <CE:UploadSingleFile id="InputFile" runat="server"></CE:UploadSingleFile>

    </td>

    </tr>

    <tr>

    <td style="width:5">

    </td>

    </tr>

    <tr>

    <td>

    <ul style="margin-top:0; margin-bottom:0;">

    <% if(secset.RestrictUploadedImageDimension) {%>

    <li>

    [[MaxImagedImension]]

    <%= secset.MaxImageWidth%>

    x

    <%= secset.MaxImageHeight%>

    [[pixels]].

    </li>

    <li>

    [[AutomaticImageResizeOnOff]]

    <%= secset.AutoResizeUploadedImages? "[[on]]":"[[off]]" %>.

    <%}%>

    </li>

    <li>

    <span style="white-space:nowrap">[[MaxFolderSizeAllowed]]:

    <%= CuteEditor.Impl.FileStorage.FormatSize(secset.MaxImageFolderSize * 1024)%>.

    [[Used]]: <%= CuteEditor.Impl.FileStorage.FormatSize(fs.GetDirectorySize(fs.VirtualRoot)) %>

    <span style="background-color:green;height:3px;width:40px;font-size:3px"><span style="background-color:red;height:3px;width:<%= GetUsedSpaceBarWidth() %>px;font-size:3px">

    </span></span>

    </span>

    </li>

    </ul>

    </td>

    </tr>

    </table>

    </fieldset>

    and insert my own button for the Upload, since i have written some code myself for the upload.
     
    Thanks a lot, your help is very much appreciated!
     
    JW
View Complete Thread