diff options
Diffstat (limited to 'ui-shared.c')
| -rw-r--r-- | ui-shared.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/ui-shared.c b/ui-shared.c index df52a9b..dffa206 100644 --- a/ui-shared.c +++ b/ui-shared.c @@ -877,8 +877,7 @@ void cgit_print_docend(void) if (ctx.cfg.footer) html_include(ctx.cfg.footer); else { - htmlf("<div class='footer'>generated by <a href='https://git.zx2c4.com/cgit/about/'>cgit %s</a> " - "(<a href='https://git-scm.com/'>git %s</a>) at ", cgit_version, git_version_string); + htmlf("<div class='footer'>generated by <a href='https://git.spelis.projnull.eu/spelis/cgit'>cgit</a> (<a href='https://git.zx2c4.com/cgit/about/'>orig</a>) "); html_txt(show_date(time(NULL), 0, cgit_date_mode(DATE_ISO8601))); html("</div>\n"); } @@ -1078,6 +1077,7 @@ static void print_header(void) html("</td></tr></table>\n"); } + void cgit_print_pageheader(void) { html("<div id='cgit'>"); @@ -1138,11 +1138,6 @@ void cgit_print_pageheader(void) html("</form>\n"); } else if (ctx.env.authenticated) { char *currenturl = cgit_currenturl(); - site_link(NULL, "index", NULL, hc("repolist"), NULL, NULL, 0, 1); - if (ctx.cfg.root_readme) - site_link("about", "about", NULL, hc("about"), - NULL, NULL, 0, 1); - html("</td><td class='form'>"); html("<form method='get' action='"); html_attr(currenturl); html("'>\n"); |
