changeset 183:18202e3eb721

arnica_slides: removed alias from option_list
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Thu, 17 Jul 2008 23:20:45 +0200
parents 4fed0b16b6fb
children 1da3682332fb a2a5dedfeb1d
files data/plugin/action/arnica_slides.py
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/data/plugin/action/arnica_slides.py	Thu Jul 17 23:16:09 2008 +0200
+++ b/data/plugin/action/arnica_slides.py	Thu Jul 17 23:20:45 2008 +0200
@@ -210,7 +210,7 @@
     link_to_image = AttachFile.getAttachUrl(pagename, original_images[idx], request)
 
     image_url = "%s%s" % (url, images[idx])
-    option_webnail = option_list(image_url, pagename, images, original_images, alias, request, image_for_webnail)
+    option_webnail = option_list(image_url, pagename, images, original_images, request, image_for_webnail)
     inner_table_style = ' style="border-style:none; margin:10px;"'
     this_webnail_list = "".join(["%s%s|" % (url, name) for name in images])
 
@@ -266,14 +266,13 @@
     return html
 
 
-def option_list(this_image, pagename, text, original_images, alias, request, image_for_webnail):
+def option_list(this_image, pagename, text, original_images, request, image_for_webnail):
     """ generates the pulldown option list
 
     @param this_image: selected image on top
     @param pagename: pagename of attachments
     @param text: list of filenames
     @param original_images: list of original image attachment names (thumbnails and webnails are derived from it)
-    @param alias: text alias for filename
     @param request: request object
     @param image_for_webnail: True: use attachments, False: use cache
     """