X-Git-Url: http://git.euphorik.ch/?a=blobdiff_plain;ds=sidebyside;f=index.yaws;h=a0e258baa78f29c2d96f3b99df6b446c329bdf1e;hb=5817e1d48314a933ee497cce7281320dc1a4cc26;hp=c5cbf63cbae0d88fadeda0a5df1648948608461d;hpb=ed281cb4331777625994d23a6e424fb7c5b5d2c9;p=euphorik.git
diff --git a/index.yaws b/index.yaws
index c5cbf63..a0e258b 100755
--- a/index.yaws
+++ b/index.yaws
@@ -1,12 +1,21 @@
-
+
-
+
+ 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 does not support application/xhtml+xml
+ _ -> "text/html"
+ end
+ }}.
+
+
euphorik.ch
-
- % prédéfinit la feuille de style
+
+ % set the stylesheet
out(A) ->
CSS = case euphorik_bd:css_from_user_cookie(yaws_api:find_cookie_val("cookie", A)) of
undefined -> "styles/1/euphorik.css";
@@ -14,7 +23,7 @@
end,
{ehtml, {link ,
[
- {id, "cssPrincipale" },
+ {id, "mainCss" },
{rel, "stylesheet"},
{href, CSS},
{type, "text/css"},
@@ -22,27 +31,34 @@
], []}
}.
-
+
-
-
-
-
+
+
+
+
+
+
+
-
+
+
-
+
+
+
+
+
+
+
-
-
-
-
-
+
+
@@ -58,7 +74,8 @@
{ehtml, {'div', [{id, "logo"}] ++ if Est_ek_master -> [{class, "ekMaster"}]; true -> [] end}}.
-
+
+
@@ -85,13 +102,11 @@
)
}.
-
-
+
-
\ No newline at end of file
+