diff options
Diffstat (limited to 'http2')
-rw-r--r-- | http2/data/new.html | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/http2/data/new.html b/http2/data/new.html index 1709c8d..21ce445 100644 --- a/http2/data/new.html +++ b/http2/data/new.html @@ -94,10 +94,10 @@ def nameval(name, value, default=0, options=options): <td width=48><img src="bob.png"></td> <td><select name="file">%( for displayname, filename in Game.FnListBoards(): - print '<option', + print( '<option', end='' ) if filename == str(options.file): - print 'selected', - print 'value="%s">' % htmlquote(filename), htmlquote(displayname) + print( 'selected', end='' ) + print( 'value="%s">' % htmlquote(filename), htmlquote(displayname) ) )s</select> </td> </tr> @@ -128,13 +128,13 @@ and go on ... steps = [ (1, 'none'), (2, 'by steps of 2 (skip every other level)')] -for i in range(3, 10) + range(10, 30, 5): +for i in list(range(3, 10))+list(range(10, 30, 5)): steps.append((i, 'by steps of %d levels' % i)) for i, text in steps: - print '<option', + print( '<option', end='' ) if str(i) == str(options.stepboard): - print 'selected', - print 'value="%d">' % i, text + print( 'selected', end='' ) + print( 'value="%d">' % i, text ) )s</select> </td> </tr> @@ -211,7 +211,8 @@ for i, text in steps: </tr> %( -if running: print ''' +if running: + print( ''' <tr> <td bgcolor="#000000"> </td> <td bgcolor="#FFFFFF" align="center"> @@ -219,7 +220,7 @@ if running: print ''' </td> <td bgcolor="#000000"> </td> </tr> -''')s +'''))s <tr> <td bgcolor="#000000"> </td> |