summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ui-shared.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/ui-shared.c b/ui-shared.c
index bca50aa..6f5cf2b 100644
--- a/ui-shared.c
+++ b/ui-shared.c
@@ -14,9 +14,9 @@ const char cgit_doctype[] =
static char *http_date(time_t t)
{
- static char day[][4] =
+ static char day[][4] =
{"Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"};
- static char month[][4] =
+ static char month[][4] =
{"Jan", "Feb", "Mar", "Apr", "May", "Jun",
"Jul", "Aug", "Sep", "Oct", "Now", "Dec"};
struct tm *tm = gmtime(&t);
@@ -57,11 +57,11 @@ char *cgit_repourl(const char *reponame)
}
}
-char *cgit_pageurl(const char *reponame, const char *pagename,
+char *cgit_pageurl(const char *reponame, const char *pagename,
const char *query)
{
if (cgit_virtual_root) {
- return fmt("%s/%s/%s/?%s", cgit_virtual_root, reponame,
+ return fmt("%s/%s/%s/?%s", cgit_virtual_root, reponame,
pagename, query);
} else {
return fmt("?r=%s&p=%s&%s", reponame, pagename, query);
@@ -89,7 +89,6 @@ void cgit_print_date(unsigned long secs)
time = gmtime(&secs);
strftime(buf, sizeof(buf), "%Y-%m-%d %H:%M:%S", time);
html_txt(buf);
-
}
void cgit_print_docstart(char *title, struct cacheitem *item)
@@ -162,7 +161,7 @@ void cgit_print_pageheader(char *title, int show_search)
html("<tr><td id='content' colspan='2'>");
}
-void cgit_print_snapshot_start(const char *mimetype, const char *filename,
+void cgit_print_snapshot_start(const char *mimetype, const char *filename,
struct cacheitem *item)
{
htmlf("Content-Type: %s\n", mimetype);
87fb81e&follow=1'>finished Qt-Frontendnecoro5-15/+117 2007-04-17marking installed packages in pkglistnecoro5-14/+50 2007-04-16added ebuild window for Qt-Frontendnecoro4-2/+229 2007-04-16added preferences for Qt-Frontendnecoro9-279/+710 2007-04-13Improved masking display and made most of the Qt-Frontend worknecoro7-35/+334 2007-04-10Some more functionality for the Qt-Frontend (complete emerge)necoro8-217/+347 2007-04-07Some more functionality for the Qt-Frontendnecoro11-88/+463 2007-04-07Added Qt-Terminalnecoro4-4/+213 2007-04-06First qt draftnecoro6-1/+796 2007-04-04showed masked packages unmasked by the user similar to stable marked testing ...necoro5-13/+40 2007-03-31changed changelognecoro1-1/+2 2007-03-31Some small changes for etcproposals 1.1necoro1-2/+2 2007-03-31Some small changes for etcproposals 1.1necoro2-3/+3 2007-03-31Some small changes for etcproposals 1.1necoro1-6/+13 2007-03-31Allowed Plugins to have a menunecoro7-201/+315 2007-03-15Added etc-proposals pluginnecoro7-28/+121 2007-03-10Added USE_EXPAND-supportnecoro5-11/+63 2007-03-10Added plugin-data to about-dialognecoro3-197/+264