From fbc1199f240b17ec4da672b574dc1c00da419e5b Mon Sep 17 00:00:00 2001 From: x2003bruneau Date: Thu, 10 Aug 2006 13:33:43 +0000 Subject: [PATCH] Use simple pages in documentation popups git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@795 839d8a87-29fc-0310-9880-83ba4fa771e5 --- htdocs/xorg.php | 4 ++++ templates/include/flags.radio.tpl | 2 +- templates/profil/emploi.tpl | 2 +- templates/profil/general.tpl | 6 +++--- templates/profil/skill.tpl | 2 +- 5 files changed, 10 insertions(+), 6 deletions(-) diff --git a/htdocs/xorg.php b/htdocs/xorg.php index 08dcbb0..c7f9f40 100644 --- a/htdocs/xorg.php +++ b/htdocs/xorg.php @@ -50,6 +50,10 @@ if (!$n) { new_skinned_page('wiki.tpl'); $perms = wiki_get_perms($n); +if (Env::v('display') == 'light') { + $page->assign('simple', true); +} + switch (Env::v('action')) { case '': wiki_apply_perms($perms[0]); diff --git a/templates/include/flags.radio.tpl b/templates/include/flags.radio.tpl index 8b4aeda..03adb44 100644 --- a/templates/include/flags.radio.tpl +++ b/templates/include/flags.radio.tpl @@ -43,7 +43,7 @@ prive - Quelle couleur ?? + Quelle couleur ?? diff --git a/templates/profil/emploi.tpl b/templates/profil/emploi.tpl index 9d5e5d8..e2d1c27 100644 --- a/templates/profil/emploi.tpl +++ b/templates/profil/emploi.tpl @@ -217,7 +217,7 @@ Curriculum vitae
Le CV n'est jamais public.
- Comment remplir mon CV ?
+ Comment remplir mon CV ? diff --git a/templates/profil/general.tpl b/templates/profil/general.tpl index 2fb2f00..e599401 100644 --- a/templates/profil/general.tpl +++ b/templates/profil/general.tpl @@ -282,7 +282,7 @@ privé - Quelle couleur ?? + Quelle couleur ?? @@ -308,7 +308,7 @@ site public - Quelle couleur ?? + Quelle couleur ?? @@ -334,7 +334,7 @@ site public - Quelle couleur ?? + Quelle couleur ?? diff --git a/templates/profil/skill.tpl b/templates/profil/skill.tpl index 703da72..583eef3 100644 --- a/templates/profil/skill.tpl +++ b/templates/profil/skill.tpl @@ -169,7 +169,7 @@ Niveau - Quel niveau ? + Quel niveau ? {foreach from=$langue_name item=name key=i} -- 2.1.4