changeset 76:0d7bc75bc5a4

text_x_arnica: album_name renamed to album_title
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Sat, 07 Jun 2008 09:44:04 +0200
parents b88e1e1ded14
children bddd103f5df1
files data/plugin/parser/text_x_arnica.py
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/data/plugin/parser/text_x_arnica.py	Sat Jun 07 09:41:25 2008 +0200
+++ b/data/plugin/parser/text_x_arnica.py	Sat Jun 07 09:44:04 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_name=unicode, front_image=u'',
+                 album=False, album_title=unicode, front_image=u'',
                  renew=False,
                  thumbnail_width=128, webnail_width=640,
                  text_width=128):
@@ -66,7 +66,7 @@
     @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
-    @param album_name: default is pagename of the images for the album.
+    @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
                          of the album and slideshow.
     @param renew: if set then all selected thumbnails_* and webnails_* are removed
@@ -318,7 +318,7 @@
         """ html code of mode 1 (default)"""
         title = ""
         if self.album:
-            title = "%(n)d images (%(album_name)s)" % {"n": len(self.full), "album_name": self.album_name or self.pagename}
+            title = "%(n)d images (%(album_title)s)" % {"n": len(self.full), "album_title": self.album_title or self.pagename}
 
         text = '''
     <table width="%(thumbnail_width)s" align="center" valign="center"%(style)s>