X-Git-Url: http://git.euphorik.ch/?p=euphorik.git;a=blobdiff_plain;f=index.yaws;h=7d88a7cfc9583fcd219b2c5dc64a10ca10bd84d8;hp=c5cbf63cbae0d88fadeda0a5df1648948608461d;hb=351623b2a00432ae5b690476c68b8fb05cc8dd03;hpb=ed281cb4331777625994d23a6e424fb7c5b5d2c9 diff --git a/index.yaws b/index.yaws index c5cbf63..7d88a7c 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,22 +33,27 @@ ], []} }. - + - - - - + + + + + + + - + + + @@ -94,4 +110,4 @@ - \ No newline at end of file +