diff options
author | Martin Szulecki <opensuse@sukimashita.com> | 2009-08-07 12:05:17 +0000 |
---|---|---|
committer | Martin Szulecki <opensuse@sukimashita.com> | 2009-08-08 12:23:28 +0000 |
commit | 2f56e390f04fe6975b75e512c1436ef173e4aafe (patch) | |
tree | 4e187a5cf039a39a1908623b97e0676c6e7cb756 /ui-tag.c | |
parent | 286a905842dc0bec6d21a614ec4a97c5f19d5bc4 (diff) | |
download | cgit-2f56e390f04fe6975b75e512c1436ef173e4aafe.tar cgit-2f56e390f04fe6975b75e512c1436ef173e4aafe.tar.gz cgit-2f56e390f04fe6975b75e512c1436ef173e4aafe.zip |
Introduce noplainemail option to hide email adresses from spambots
Signed-off-by: Martin Szulecki <opensuse@sukimashita.com>
Diffstat (limited to 'ui-tag.c')
-rw-r--r-- | ui-tag.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -64,7 +64,7 @@ void cgit_print_tag(char *revname) if (info->tagger) { html("<tr><td>Tagged by</td><td>"); html_txt(info->tagger); - if (info->tagger_email) { + if (info->tagger_email && !ctx.cfg.noplainemail) { html(" "); html_txt(info->tagger_email); } |