Unidiff1 files changed, 8 insertions, 0 deletions
|
diff --git a/cgit.c b/cgit.c index 09c857c..808ffe9 100644 --- a/ cgit.c+++ b/ cgit.c |
|
@@ -1,12 +1,20 @@ |
| |
1 | /* cgit.c: cgi for the git scm |
| |
2 | * |
| |
3 | * Copyright (C) 2006 Lars Hjemli |
| |
4 | * |
| |
5 | * Licensed under GNU General Public License v2 |
| |
6 | * (see COPYING for full license text) |
| |
7 | */ |
| |
8 | |
1 | #include "cgit.h" |
9 | #include "cgit.h" |
2 | |
10 | |
3 | static const char cgit_doctype[] = |
11 | static const char cgit_doctype[] = |
4 | "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\"\n" |
12 | "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\"\n" |
5 | " \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n"; |
13 | " \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n"; |
6 | |
14 | |
7 | static const char cgit_error[] = |
15 | static const char cgit_error[] = |
8 | "<div class='error'>%s</div>"; |
16 | "<div class='error'>%s</div>"; |
9 | |
17 | |
10 | static const char cgit_lib_error[] = |
18 | static const char cgit_lib_error[] = |
11 | "<div class='error'>%s: %s</div>"; |
19 | "<div class='error'>%s: %s</div>"; |
12 | |
20 | |
|