changeset 77:bddd103f5df1

text_x_arnica: front_image renamed to album_image
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Sat, 07 Jun 2008 10:29:52 +0200
parents 0d7bc75bc5a4
children c3e8674b880e
files data/plugin/parser/text_x_arnica.py
diffstat 1 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/data/plugin/parser/text_x_arnica.py	Sat Jun 07 09:44:04 2008 +0200
+++ b/data/plugin/parser/text_x_arnica.py	Sat Jun 07 10:29:52 2008 +0200
@@ -41,7 +41,7 @@
                  sort_by_date=False, sort_by_name=True, sort_by_alias=False,
                  reverse_sort=False,
                  mode=1, only_items=False, template_itemlist=False,
-                 album=False, album_title=unicode, front_image=u'',
+                 album=False, album_title=unicode, album_image=u'',
                  renew=False,
                  thumbnail_width=128, webnail_width=640,
                  text_width=128):
@@ -65,9 +65,9 @@
                        * [[image2.jpg|alias]]
     @param template_itemlist: if set an item list is shown which could be copied into the wiki page
     @param album: if set only the first thumbnail image or if used thumbnail
-                  from front_image of series is shown but slideshow over all images
+                  from album_image of series is shown but slideshow over all images
     @param album_title: default is pagename of the images for the album.
-    @param front_image:  Useful for album.  default is ''. The first image is shown in front
+    @param album_image:  Useful for album.  default is ''. The first image is shown in front
                          of the album and slideshow.
     @param renew: if set then all selected thumbnails_* and webnails_* are removed
                   and will be recreated
@@ -598,16 +598,16 @@
                 result.append('')
 
         if self.album:
-            front_image = self.front_image or self.full[0]
+            album_image = self.album_image or self.full[0]
             try:
-                i = self.full.index(front_image)
+                i = self.full.index(album_image)
                 self.create_thumbnail_and_webnail(image, self.web[i], self.thumb[i], self.imgtype[i])
                 self.webimg = self.web
                 if self.image_for_webnail:
                     self.webimg = self.full
                 text = self.mode1_html(i)
             except ValueError:
-                text = "You can't use as front image: '%(front_image)s' because it is not listed in only_items!" % {"front_image": front_image, }
+                text = "You can't use as front image: '%(album_image)s' because it is not listed in only_items!" % {"album_image": album_image, }
             result.append(''.join(text))
 
         # adds the last row if it is not filled up