Update of /cvsroot/freevo/freevo/src/www/htdocs
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29346
Modified Files:
library.rpy
Log Message:
Small cleanup.
Index: library.rpy
===================================================================
RCS file: /cvsroot/freevo/freevo/src/www/htdocs/library.rpy,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -d -r1.25 -r1.26
*** library.rpy 9 Jun 2004 01:46:30 -0000 1.25
--- library.rpy 9 Jun 2004 01:53:09 -0000 1.26
***************
*** 12,15 ****
--- 12,18 ----
# -----------------------------------------------------------------------
# $Log$
+ # Revision 1.26 2004/06/09 01:53:09 rshortt
+ # Small cleanup.
+ #
# Revision 1.25 2004/06/09 01:46:30 rshortt
# Finally add confirm delete.
***************
*** 266,270 ****
if os.path.exists(file_loc_fxd):
os.unlink(file_loc_fxd)
! messages += [ _('Delete %s.') % file_loc_fxd ]
elif action == 'download':
--- 269,273 ----
if os.path.exists(file_loc_fxd):
os.unlink(file_loc_fxd)
! messages += [ _('Delete %s.') % ('<b>'+file_loc_fxd+'</b>') ]
elif action == 'download':
***************
*** 292,296 ****
fv.res += ' if(!okdelete) return;' + "\n"
fv.res += ' document.location="' + action_script
+'?action=delete&file=" + escape(file) + "&dir=" + basedir + "&media=" + mediatype;' +
"\n"
- #filelink = '<a
href="'+action_script+'?media=%s&dir=%s&action=%s&file=%s">%s</a>'
fv.res += '}' + "\n"
--- 295,298 ----
***************
*** 465,470 ****
file_esc = urllib.quote(String(file))
dllink = ('<a href="'+action_script+'%s">'+_('Download')+'</a>')
% Unicode(os.path.join(basedir,file))
- #filelink = '<a
href="'+action_script+'?media=%s&dir=%s&action=%s&file=%s">%s</a>'
- # delete = filelink % (action_mediatype, basedir, 'delete',
file_esc,_('Delete'))
delete = ('<a
href="javascript:deleteFile(\'%s\',\'%s\',\'%s\')">'+_("Delete")+'</a>') % (basedir,
file_esc, action_mediatype)
rename = ('<a
href="javascript:renameFile(\'%s\',\'%s\',\'%s\')">'+_("Rename")+'</a>') % (basedir,
file_esc, action_mediatype)
--- 467,470 ----
-------------------------------------------------------
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event.
GNOME Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog