From: Matthew Mondor Date: Sun, 5 Nov 2006 15:20:59 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: pgsql-branch-merge~82 X-Git-Url: http://git.pulsar-zone.net/?a=commitdiff_plain;h=0bb6913318abc2d0e65b6bf389d752059afcfd56;p=mmondor.git *** empty log message *** --- diff --git a/mmsoftware/js/js-sh/app/thumb/thumb.js b/mmsoftware/js/js-sh/app/thumb/thumb.js index 7a9e1cd..6d1c3a0 100644 --- a/mmsoftware/js/js-sh/app/thumb/thumb.js +++ b/mmsoftware/js/js-sh/app/thumb/thumb.js @@ -1,4 +1,4 @@ -/* $Id: thumb.js,v 1.6 2006/11/05 13:50:45 mmondor Exp $ */ +/* $Id: thumb.js,v 1.7 2006/11/05 15:20:59 mmondor Exp $ */ /* * Copyright (c) 2006, Matthew Mondor @@ -25,6 +25,9 @@ function thumbnail(from, to, xmax, ymax) var type = undefined; var i, to; + /* XXX */ + stderr.write('Processing: ' + from + "\n"); + /* * Set load and save functions relative to image file type. */ @@ -169,8 +172,8 @@ function thumbnail_dir(path, xmax, ymax) /* XXX sort */ fh = new File(path + '/index.html', 'w'); fh.write("\n" + - '
../
' + - "\n"); + '
../ (parent' + + ' directory)

' + "\n"); for (i in index) { f = index[i]; if (f.t == 'DIR') { @@ -205,8 +208,13 @@ function thumbnail_dir(path, xmax, ymax) '">' + "\n"); } - fh.write('
Thumb gallery generated by: ' + - '$Id: thumb.js,v 1.6 2006/11/05 13:50:45 mmondor Exp $'); + fh.write('
' + + 'Thumb gallery generated by: ' + + '$Id: thumb.js,v 1.7 2006/11/05 15:20:59 mmondor Exp $' + + '
(source)' + + "
\n"); fh.write("\n"); fh.close(); } @@ -255,4 +263,4 @@ function dir_findthumb(path) return ret; } -thumbnail_dir('/home/data/jshttpd/mmondor/testimg', 64, 64); +thumbnail_dir('/home/data/jshttpd/mmondor/testimg', 100, 100);