Remove functions from Image Upload

Last post 08-13-2005, 10:49 PM by Adam. 1 replies.
Sort Posts: Previous Next
  •  08-12-2005, 12:27 PM 9531

    Remove functions from Image Upload

    Is it possible to remove the "Rename" and "Delete" functions from the Image upload window? I don't want users to be able to perform either task.
     
    Thanks,
     
    Shon
  •  08-13-2005, 10:49 PM 9557 in reply to 9531

    Re: Remove functions from Image Upload

    Shon,
     
    Yes, please follow the steps below.
     
    Step 1. Open the browse_Img.asp file.

    Step 2. Remove the following code:

    s = s & "<td style=""cursor:hand; border:1px"" ><img vspace=""0"" hspace=""0"" src=""images/cut.gif"" onclick=""deletefolder('" & ImageGalleryPath & folpath & fol.name & "')"" alt=""Delete""></td>" s = s & "<td style=""cursor:hand; border:1px"" ><img vspace=""0"" hspace=""0"" src=""images/edit.gif"" alt=""Rename"" onclick=""renamefolder('" & ImageGalleryPath & folpath & fol.name & "')""></td>"
     
    and

    s = s & "<td><img vspace=""0"" hspace=""0"" src=""images/cut.gif"" alt=""Delete"" onclick=""deletefile('" & ImageGalleryPath & folpath & fil.name & "')""></td>" s = s & "<td><img vspace=""0"" hspace=""0"" src=""images/edit.gif"" alt=""Rename"" onclick=""renamefile('" & ImageGalleryPath & folpath & fil.name & "')""></td>"
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

View as RSS news feed in XML