summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/generators.c9
-rw-r--r--src/setup.c1
-rw-r--r--src/setup.h1
3 files changed, 0 insertions, 11 deletions
diff --git a/src/generators.c b/src/generators.c
index c27b2e5..168c5b0 100644
--- a/src/generators.c
+++ b/src/generators.c
@@ -883,7 +883,6 @@ write_html_image (TGallerySetup *setup,
/* Setup block parser */
block_parser_register_key (block_parser, "IMG_FULLSIZE_LINK", "IMG_FULLSIZE_LINK");
- block_parser_register_key (block_parser, "EXIF_TABLE", "EXIF_TABLE");
/* Read through the template and replace placeholders with real data */
@@ -901,14 +900,6 @@ write_html_image (TGallerySetup *setup,
}
g_free (block);
}
- if (block_parser_has_unused_data (block_parser, "EXIF_TABLE")) {
- block = block_parser_get_data (block_parser, "EXIF_TABLE");
- if (block) {
- replace_table_process (&block, replace_table);
- replace_table_add_key (replace_table, "EXIF_TABLE", setup->show_exif_table ? block : "");
- }
- g_free (block);
- }
/* Replace all known tags */
replace_table_process (&line, replace_table);
diff --git a/src/setup.c b/src/setup.c
index 2d7fbac..48e03c5 100644
--- a/src/setup.c
+++ b/src/setup.c
@@ -117,7 +117,6 @@ parse_setup_xml (const gchar *filename)
/* navigation section */
setup->use_inpage_links = xml_file_get_node_attribute_boolean (xml, "/gallery_setup/navigation/use_inpage_links", "value", TRUE);
setup->show_go_up = xml_file_get_node_attribute_boolean (xml, "/gallery_setup/navigation/show_go_up", "value", TRUE);
- setup->show_exif_table = xml_file_get_node_attribute_boolean (xml, "/gallery_setup/navigation/show_exif_table", "value", TRUE);
/* feed section */
setup->feed_enabled = xml_file_get_node_attribute_boolean (xml, "/gallery_setup/feed", "enable", FALSE);
diff --git a/src/setup.h b/src/setup.h
index 75cbef7..7b98634 100644
--- a/src/setup.h
+++ b/src/setup.h
@@ -73,7 +73,6 @@ typedef struct {
/* navigation section */
gboolean use_inpage_links;
gboolean show_go_up;
- gboolean show_exif_table;
/* feed section */
gboolean feed_enabled;