X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=gallery%2Fhtml.ct;h=e62621aa1920d97f3f84e3d08de1a850a34babe6;hb=1b621a6f90a8e8a75832bcc524aaea4e5ff1ca56;hp=4080fa30f9c1c005142f3917fcf95a77f78c69ea;hpb=94a72f13f1a737e37668497fb7b862bb4ab1226c;p=~andy%2Fct diff --git a/gallery/html.ct b/gallery/html.ct index 4080fa3..e62621a 100644 --- a/gallery/html.ct +++ b/gallery/html.ct @@ -1,11 +1,12 @@ -[#include ] +<% #include %> -[void header() {] + +<% void header() { %> Content-Type: text/html; charset=UTF-8 -[}] +<% } %> -[void frame_index(){] +<% void frame_index(){ %> @@ -15,10 +16,10 @@ Content-Type: text/html; charset=UTF-8 -[}] +<% } %> -[void frame_head(){] +<% void frame_head(){ %> - [for (GList *cur = images; cur; cur = cur->next) {] + <% for (GList *cur = images; cur; cur = cur->next) { %> + <% gchar *img = (gchar *)cur->data; %> - [}] + <% } %> -[}] +<% } %> -[void frame_content(){] +<% void frame_content(){ %> -[}] +<% } %>