summaryrefslogtreecommitdiffabout
path: root/ui-shared.c
Unidiff
Diffstat (limited to 'ui-shared.c') (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 26a6c71..c8c1c21 100644
--- a/ui-shared.c
+++ b/ui-shared.c
@@ -161,33 +161,33 @@ void cgit_print_docstart(char *title, struct cacheitem *item)
161} 161}
162 162
163void cgit_print_docend() 163void cgit_print_docend()
164{ 164{
165 html("</td></tr></table>"); 165 html("</td></tr></table>");
166 html("</body>\n</html>\n"); 166 html("</body>\n</html>\n");
167} 167}
168 168
169void cgit_print_pageheader(char *title, int show_search) 169void cgit_print_pageheader(char *title, int show_search)
170{ 170{
171 html("<table id='layout'>"); 171 html("<table id='layout'>");
172 html("<tr><td id='header'>"); 172 html("<tr><td id='header'>");
173 html(cgit_root_title); 173 html(cgit_root_title);
174 html("</td><td id='logo'>"); 174 html("</td><td id='logo'>");
175 html("<a href='"); 175 html("<a href='");
176 html_attr(cgit_logo_link); 176 html_attr(cgit_logo_link);
177 htmlf("'><img src='%s'/></a>", cgit_logo); 177 htmlf("'><img src='%s' alt='logo'/></a>", cgit_logo);
178 html("</td></tr>"); 178 html("</td></tr>");
179 html("<tr><td id='crumb'>"); 179 html("<tr><td id='crumb'>");
180 htmlf("<a href='%s'>root</a>", cgit_rooturl()); 180 htmlf("<a href='%s'>root</a>", cgit_rooturl());
181 if (cgit_query_repo) { 181 if (cgit_query_repo) {
182 htmlf(" : <a href='%s'>", cgit_repourl(cgit_repo->url)); 182 htmlf(" : <a href='%s'>", cgit_repourl(cgit_repo->url));
183 html_txt(cgit_repo->name); 183 html_txt(cgit_repo->name);
184 htmlf("</a> : %s", title); 184 htmlf("</a> : %s", title);
185 } 185 }
186 html("</td>"); 186 html("</td>");
187 html("<td id='search'>"); 187 html("<td id='search'>");
188 if (show_search) { 188 if (show_search) {
189 html("<form method='get' action='"); 189 html("<form method='get' action='");
190 html_attr(cgit_currurl()); 190 html_attr(cgit_currurl());
191 html("'>"); 191 html("'>");
192 if (!cgit_virtual_root) { 192 if (!cgit_virtual_root) {
193 if (cgit_query_repo) 193 if (cgit_query_repo)