diff --git a/code/ImageMgr/macros.js b/code/ImageMgr/macros.js index 717faaf7..383a088e 100644 --- a/code/ImageMgr/macros.js +++ b/code/ImageMgr/macros.js @@ -1,22 +1,13 @@ /** - * macro renders imagepool as list + * macro renders res.data.imagelist to response-object + * left for backwards-compatibility only */ function images_macro(param) { res.write(param.prefix) - var size = this.size(); - var start = parseInt (req.data.start); - if (isNaN (start)|| start >= size-1) - start = 0; - var end = Math.min (start+20, size); - if (start > 0) - res.write ("... newer images
"); - for (var i=start; iolder images ..."); + res.write(res.data.imagelist); res.write(param.suffix); + return; }