summaryrefslogtreecommitdiffabout
authorLars Hjemli <hjemli@gmail.com>2007-11-16 09:28:29 (UTC)
committer Lars Hjemli <hjemli@gmail.com>2007-11-16 09:28:29 (UTC)
commite8e6721817c983770fc0fdfbb26a17900e3c34ce (patch) (side-by-side diff)
tree86dbc8acd0171bf5ab68fb71872f78465042f680
parent6ef637e0908ca5a14675b3513f48cd390d3757fe (diff)
downloadcgit-e8e6721817c983770fc0fdfbb26a17900e3c34ce.zip
cgit-e8e6721817c983770fc0fdfbb26a17900e3c34ce.tar.gz
cgit-e8e6721817c983770fc0fdfbb26a17900e3c34ce.tar.bz2
Add cell-spacing in html
There are some browsers which don't support the border-spacing property Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--ui-shared.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui-shared.c b/ui-shared.c
index 4c0613a..be2c75d 100644
--- a/ui-shared.c
+++ b/ui-shared.c
@@ -450,25 +450,25 @@ void add_hidden_formfields(int incl_head, int incl_search, char *page)
if (cgit_query_search)
html_hidden("q", cgit_query_search);
}
}
void cgit_print_pageheader(char *title, int show_search)
{
static const char *default_info = "This is cgit, a fast webinterface for git repositories";
int header = 0;
html("<table id='layout' summary=''>\n");
html("<tr><td id='sidebar'>\n");
- html("<table class='sidebar' summary=''>\n");
+ html("<table class='sidebar' cellspacing='0' summary=''>\n");
html("<tr><td class='sidebar'>\n<a href='");
html_attr(cgit_rooturl());
htmlf("'><img src='%s' alt='cgit'/></a>\n",
cgit_logo);
html("</td></tr>\n<tr><td class='sidebar'>\n");
if (cgit_query_repo) {
html("<h1 class='first'>");
html_txt(strrpart(cgit_repo->name, 20));
html("</h1>\n");
html_txt(cgit_repo->desc);
if (cgit_repo->owner) {
html("<h1>owner</h1>\n");