Changeset 1281
- Timestamp:
- 02/10/08 00:22:58
- Files:
-
- HTTP/Diff.lua (modified) (1 diff)
- HTTP/WikiFileService.lua (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
HTTP/Diff.lua
r1196 r1281 87 87 aBuffer[ #aBuffer + 1 ] = aHandler( '+', listB[ indexB ] ) 88 88 indexB = indexB + 1 89 elseif indexB > lengthB then 90 aBuffer[ #aBuffer + 1 ] = aHandler( '-', listA[ indexA ] ) 91 indexA = indexA + 1 89 92 elseif listA[ indexA ] == listB[ indexB ] then 90 93 aBuffer[ #aBuffer + 1 ] = aHandler( '=', listA[ indexA ] ) HTTP/WikiFileService.lua
r1275 r1281 222 222 local aLayoutTemplate = Template[ 'WikiLayout.txt' ] 223 223 local aTemplate = Template[ 'WikiFileService.txt' ] 224 local aFileTemplate = aTemplate[ 'files' ] 224 225 local aContent = self.content 225 226 local aFileToken = FileToken( aContent.file ) … … 241 242 aTemplate[ 'time' ] = Encode( aContext.time or os.time() ) 242 243 aTemplate[ 'token' ] = Encode( aToken.token ) 244 245 aTemplate[ 'files' ] = nil 243 246 244 247 for aFile in aContent.file do