diff options
author | Tom Glenne <tom@kyber.io> | 2016-11-10 19:17:04 +0100 |
---|---|---|
committer | Tom Glenne <tom@kyber.io> | 2016-11-10 19:17:04 +0100 |
commit | e6258e22390462c88955147d91e230ab1aa3e11c (patch) | |
tree | b17242e36aaadc5aea0adb8608ebf6872e651c40 /ukulele.c | |
parent | 56468e119466db0ea71c6611446d417b129fb861 (diff) | |
parent | de495fa4a4a96faf74ef0768e956155f797606c5 (diff) | |
download | ukulele-e6258e22390462c88955147d91e230ab1aa3e11c.tar.xz |
Merge branch 'master' of http://blekksprut.net/git/ukulele
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)) |