Subversion Repositories RepoView

Rev

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

Rev 58 Rev 59
Line 1... Line 1...
1
/* $Id: modern.c 58 2024-08-22 06:08:27Z nishi $ */
1
/* $Id: modern.c 59 2024-08-22 06:08:54Z 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 799... Line 799...
799
		rv_load_query('Q');
799
		rv_load_query('Q');
800
		if(rv_get_query("username") == NULL) {
800
		if(rv_get_query("username") == NULL) {
801
			add_data(&page, "Invalid Form.\n");
801
			add_data(&page, "Invalid Form.\n");
802
		} else {
802
		} else {
803
			if(rv_has_user(rv_get_query("username"))) {
803
			if(rv_has_user(rv_get_query("username"))) {
804
				add_data(&title, "<li><a href=\"#repolist\">Repository List</a></li>");
804
				add_data(&nav, "<li><a href=\"#repolist\">Repository List</a></li>");
805
				add_data(&title, " - ");
805
				add_data(&title, " - ");
806
				add_data(&title, rv_get_query("username"));
806
				add_data(&title, rv_get_query("username"));
807
				char* path = rv_strcat3(BIO_ROOT, "/", rv_get_query("username"));
807
				char* path = rv_strcat3(BIO_ROOT, "/", rv_get_query("username"));
808
				FILE* f = fopen(path, "r");
808
				FILE* f = fopen(path, "r");
809
				if(f != NULL) {
809
				if(f != NULL) {