2
0
mirror of https://git.zx2c4.com/cgit synced 2025-08-30 22:05:08 +00:00

Introduce noplainemail option to hide email adresses from spambots

Signed-off-by: Martin Szulecki <opensuse@sukimashita.com>
This commit is contained in:
Martin Szulecki
2009-08-07 14:05:17 +02:00
parent 286a905842
commit 2f56e390f0
7 changed files with 22 additions and 7 deletions

View File

@@ -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);
}