X-Git-Url: http://git.euphorik.ch/?p=euphorik.git;a=blobdiff_plain;f=index.yaws;h=7fbddfc618e51ffe3a6895d2f641719d9310a6d5;hp=c600fe90d44ac56a9dbcd982d8e47f48f37d8c37;hb=ff0a596b8f672cd14178397aba952f1be598f335;hpb=f39b28682e1e41cd487a2268320552b687640adf diff --git a/index.yaws b/index.yaws index c600fe9..7fbddfc 100755 --- a/index.yaws +++ b/index.yaws @@ -1,7 +1,18 @@ - + - + + out(A) -> + {header, {content_type, + case string:str((A#arg.headers)#headers.user_agent, "MSIE") of + 0 -> "text/html"; %"application/xhtml+xml"; % TODO : jquery.lightbox ne support pas application/xhtml+xml + _ -> "text/html" + end + }}. + + euphorik.ch @@ -22,17 +33,37 @@ ], []} }. - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
@@ -44,6 +75,7 @@ + @@ -79,4 +111,4 @@
- \ No newline at end of file +