Subversion Repositories RepoView

Rev

Rev 61 | Rev 65 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 61 Rev 63
Line 1... Line 1...
1
/* $Id: modern.c 61 2024-08-22 07:16:36Z nishi $ */
1
/* $Id: modern.c 63 2024-08-22 07:56:10Z nishi $ */
2
 
2
 
3
#include "rv_query.h"
3
#include "rv_query.h"
4
 
4
 
5
#include "rv_util.h"
5
#include "rv_util.h"
6
#include "rv_version.h"
6
#include "rv_version.h"
Line 621... Line 621...
621
				char* showuser = html_escape(ruser);
621
				char* showuser = html_escape(ruser);
622
				char* showrepo = html_escape(repo);
622
				char* showrepo = html_escape(repo);
623
				char* showreadme = rv_get_readme(repouser);
623
				char* showreadme = rv_get_readme(repouser);
624
				desc = html_escape_nl_to_br(showreadme);
624
				desc = html_escape_nl_to_br(showreadme);
625
				add_data(&title, " - ");
625
				add_data(&title, " - ");
-
 
626
#ifdef USE_MYPAGE
-
 
627
				add_data(&title, "<a href=\"");
-
 
628
				add_data(&title, INSTANCE_ROOT);
-
 
629
				add_data(&title, "/?page=person&username=");
-
 
630
				char* esc = url_escape(ruser);
-
 
631
				add_data(&title, esc);
-
 
632
				free(esc);
-
 
633
				add_data(&title, "\">");
-
 
634
#endif
626
				add_data(&title, showuser);
635
				add_data(&title, showuser);
-
 
636
#ifdef USE_MYPAGE
-
 
637
				add_data(&title, "</a>");
-
 
638
#endif
627
				add_data(&title, "/");
639
				add_data(&title, "/");
628
				add_data(&title, showrepo);
640
				add_data(&title, showrepo);
629
				free(showuser);
641
				free(showuser);
630
				free(showrepo);
642
				free(showrepo);
631
				free(showreadme);
643
				free(showreadme);