From: Rob H. <for...@us...> - 2002-09-16 05:30:17
|
Update of /cvsroot/sandweb/sandweb/lib/SandWeb In directory usw-pr-cvs1:/tmp/cvs-serv6602/lib/SandWeb Modified Files: Config.pm Log Message: removed the obsolete "work_dir" user config setting and added a "confirm_delete" setting. It is hooked up to the template through the CGI, but isn't hooked up to config ( can't be saved ) and it is currently ignored by delete_file(). almost there :) I'll try to finish this up tomorrow, and then work on VCS password confirmation. Index: Config.pm =================================================================== RCS file: /cvsroot/sandweb/sandweb/lib/SandWeb/Config.pm,v retrieving revision 1.29 retrieving revision 1.30 diff -U2 -r1.29 -r1.30 --- Config.pm 2 Apr 2002 07:30:52 -0000 1.29 +++ Config.pm 16 Sep 2002 05:30:14 -0000 1.30 @@ -117,10 +117,9 @@ } -# returns users work dir -sub get_work_dir { +# returns whether user wants to confirm each file deletion +sub get_confirm_delete { my $self = shift; - return $self->{'personal'}->{'work_dir'} || ''; + return $self->{'personal'}->{'confirm_delete'} || ''; } - ############################################################################# |