comparison roundup/htmltemplate.py @ 131:b4aa4ba1993a

oops
author Richard Jones <richard@users.sourceforge.net>
date Sun, 29 Jul 2001 09:31:35 +0000
parents 204f99944de0
children 5e8da9d010bd
comparison
equal deleted inserted replaced
130:204f99944de0 131:b4aa4ba1993a
1 # $Id: htmltemplate.py,v 1.10 2001-07-29 09:28:23 richard Exp $ 1 # $Id: htmltemplate.py,v 1.11 2001-07-29 09:31:35 richard Exp $
2 2
3 import os, re, StringIO, urllib, cgi, errno 3 import os, re, StringIO, urllib, cgi, errno
4 4
5 import hyperdb, date 5 import hyperdb, date
6 6
393 s_dir = '' 393 s_dir = ''
394 for name in sort: 394 for name in sort:
395 dir = name[0] 395 dir = name[0]
396 if dir == '-': 396 if dir == '-':
397 name = name[1:] 397 name = name[1:]
398 else:
399 dir = ''
398 if sort_name == name: 400 if sort_name == name:
399 if dir == '-': 401 if dir == '-':
400 s_dir = '' 402 s_dir = ''
401 else: 403 else:
402 s_dir = '-' 404 s_dir = '-'
705 w(replace.go(s)) 707 w(replace.go(s))
706 w('</form>') 708 w('</form>')
707 709
708 # 710 #
709 # $Log: not supported by cvs2svn $ 711 # $Log: not supported by cvs2svn $
712 # Revision 1.10 2001/07/29 09:28:23 richard
713 # Fixed sorting by clicking on column headings.
714 #
710 # Revision 1.9 2001/07/29 08:27:40 richard 715 # Revision 1.9 2001/07/29 08:27:40 richard
711 # Fixed handling of passed-in values in form elements (ie. during a 716 # Fixed handling of passed-in values in form elements (ie. during a
712 # drill-down) 717 # drill-down)
713 # 718 #
714 # Revision 1.8 2001/07/29 07:01:39 richard 719 # Revision 1.8 2001/07/29 07:01:39 richard

Roundup Issue Tracker: http://roundup-tracker.org/