Subversion Repositories RepoView

Rev

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

Rev 56 Rev 57
Line 1... Line 1...
1
/* $Id: modern.c 56 2024-08-22 06:04:49Z nishi $ */
1
/* $Id: modern.c 57 2024-08-22 06:05:28Z 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 528... Line 528...
528
			add_data(&page, "Repository name cannot contain '<code>");
528
			add_data(&page, "Repository name cannot contain '<code>");
529
			add_data(&page, cbuf);
529
			add_data(&page, cbuf);
530
			add_data(&page, "</code>'.");
530
			add_data(&page, "</code>'.");
531
			add_data(&page, "</form>\n");
531
			add_data(&page, "</form>\n");
532
			add_data(&page, "<h2 id=\"repolist\">Repository List</h2>\n");
532
			add_data(&page, "<h2 id=\"repolist\">Repository List</h2>\n");
533
			add_data(&page, "<table border=\"0\">\n");
533
			add_data(&page, "<table border=\"0\" style=\"width: 100%;\">\n");
534
			add_data(&page, "<tr style=\"background-color: #D2E1F6;\"><th>Repository name</th><th>Revision</th></tr>\n");
534
			add_data(&page, "<tr style=\"background-color: #D2E1F6;\"><th>Repository name</th><th>Revision</th></tr>\n");
535
			fcounter = 0;
535
			fcounter = 0;
536
			rv_repo_list(user, list_repo);
536
			rv_repo_list(user, list_repo);
537
			add_data(&page, "</table>\n");
537
			add_data(&page, "</table>\n");
538
		}
538
		}
Line 821... Line 821...
821
				free(tmp);
821
				free(tmp);
822
 
822
 
823
				free(path);
823
				free(path);
824
 
824
 
825
				add_data(&page, "<h2 id=\"repolist\">Repository List</h2>\n");
825
				add_data(&page, "<h2 id=\"repolist\">Repository List</h2>\n");
826
				add_data(&page, "<table border=\"0\">\n");
826
				add_data(&page, "<table border=\"0\" style=\"width: 100%;\">\n");
827
				add_data(&page, "<tr style=\"background-color: #D2E1F6;\"><th>Repository name</th><th>Revision</th></tr>\n");
827
				add_data(&page, "<tr style=\"background-color: #D2E1F6;\"><th>Repository name</th><th>Revision</th></tr>\n");
828
				fcounter = 0;
828
				fcounter = 0;
829
				instead_username = rv_get_query("username");
829
				instead_username = rv_get_query("username");
830
				rv_repo_list(rv_get_query("username"), list_repo);
830
				rv_repo_list(rv_get_query("username"), list_repo);
831
				add_data(&page, "</table>\n");
831
				add_data(&page, "</table>\n");