diff options
Diffstat (limited to 'ukulele.c')
-rw-r--r-- | ukulele.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -37,8 +37,8 @@ void head(char *page, char *link, char *what) { printf("Content-Type: text/html; charset=utf-8\n\n"); printf("<!doctype html>\n"); printf("<title>%s ยท %s</title>\n", title, page); - printf("<link rel='stylesheet' type='text/css' href='%s/wiki.css'>\n", base); - printf("<script src='%s/wiki.js'></script>\n", base); + printf("<link rel='stylesheet' type='text/css' href='%s/ukulele.css'>\n", base); + printf("<script src='%s/ukulele.js'></script>\n", base); printf("<h1>"); if(link && what && !strcmp(what, "rediger")) printf("<a data-text='%s' href='%s'>%s</a>", what, link, page); @@ -123,7 +123,7 @@ int edit(char *path) { printf("<form method='post'>\n"); printf("<p class='edit'>\n"); if(orz) - printf("<a id='orz' href='#'>{picto}</a><br>\n"); + printf("<a id='orz' data-url='%s' href='#'>{picto}</a><br>\n", orz); printf("<textarea name=t rows=24 cols=72>"); if(fp) while(fgets(buffer, sizeof(buffer), fp)) |