From 498e7aaa9e657ef3ff0406964d62166e37e0299f Mon Sep 17 00:00:00 2001 From: Tomas Bzatek Date: Sat, 11 Apr 2009 16:39:33 +0200 Subject: Support for interspaces --- src/generators.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/generators.c') diff --git a/src/generators.c b/src/generators.c index 8dd6a58..0a21b7e 100644 --- a/src/generators.c +++ b/src/generators.c @@ -332,6 +332,7 @@ write_html_album (TGallerySetup *setup, block_parser_register_key (block_parser, "IMG_LIST_LANDSCAPE", NULL); block_parser_register_key (block_parser, "IMG_LIST_PORTRAIT", NULL); block_parser_register_key (block_parser, "LIST_SEPARATOR", NULL); + block_parser_register_key (block_parser, "LIST_INTERSPACE", NULL); block_parser_register_key (block_parser, "GO_UP", "GO_UP"); @@ -392,6 +393,11 @@ write_html_album (TGallerySetup *setup, s1 = block_parser_get_data (block_parser, "LIST_SEPARATOR"); replace_table_add_key (local_replace_table, "LIST_SEPARATOR_TITLE", item->title); break; + + case INDEX_ITEM_TYPE_INTERSPACE: + s1 = block_parser_get_data (block_parser, "LIST_INTERSPACE"); + replace_table_add_key (local_replace_table, "LIST_INTERSPACE_TITLE", item->title); + break; } if (s1) { -- cgit v1.2.3