Gossamer Forum
Home : Products : Others : Fileman :

Removing the delte and rename options

Quote Reply
Removing the delte and rename options
im running the single user version.....how do i make it so the delte and rename functions arent shown???


Quote Reply
Re: Removing the delte and rename options In reply to
Hi,
below is an example for 'text' file case
just do the same for other types:
(original code is commented out )

###(VM): disable - 'delete' & 'rename'
$text{$file} .= qq~
<td>&nbsp;</td>
<td>&nbsp;</td></tr>
~;
#$text{$file} .= qq~
# <td><b><a href="javascript:deleteFile('$file')"><font color=red>delete</font></a></b></td>
# <td><b><a href="javascript:renameFile('$file')"><font color=purple>rename</font></a></b></td></tr>
#~;
###(VM)

br,
Viktor