diff -r 556a0f11aa10 -r ffaea21247c4 web/CPV/common.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web/CPV/common.php Wed May 25 02:44:32 2011 +0200 @@ -0,0 +1,107 @@ +addTranslation($english, 'en'); +$translate->addTranslation($japan, 'ja_JP'); +$translate->addTranslation($french, 'fr'); + +$actual = $translate->getLocale(); + +//$translate->setLocale("en"); +// $acceptCookie = $this->_request->getCookie('acceptCookie',0); + +if(isset($_GET['lang'])==false and isset($_SESSION['lang'])==false){ + + if($actual!='fr' and $actual!='en' and $actual!='ja_JP'){ + $translate->setLocale("fr"); + $_SESSION['lang']="fr"; + } + +} else if (isset($_GET['lang'])==true){ + $translate->setLocale($_GET['lang']); + $_SESSION['lang'] = $_GET['lang']; + $actual = $_SESSION['lang']; + +} else if (isset($_SESSION['lang'])==true){ + $translate->setLocale( $_SESSION['lang']); + $actual = $_SESSION['lang']; + +} + +/* NEXT CONFERENCE AND CLIENT PAGE INFORMATION +*/ +/* CLIENT VAR LIVE */ + +$C_hashtag = "#SNCP"; +$C_link = "http://www.iri.centrepompidou.fr/evenement/atelier-preparatoire-aux-entretiens-du-nouveau-monde-industriel-technologies-de-la-confiance/"; +$C_title = "Les Stratégies Virtuelles des Musées : l'Heure de Vérité"; +$C_abstract = "Les Stratégies Virtuelles des Musées : l'Heure de Vérité"; +$C_REP = "CPV/"; +$C_description = "

JEUDI 26 MAI 2011


+

DE 10H A 13H
+PETITE SALLE, NIVEAU -1


+Intervenants :
+Carlo d'Asaro Biondo, vice-président de Google
+Franck Riester, député de Seine-et-Marne
+Marc Sands, directeur des publics et de l'information, Tate Gallery, Londres
+Alain Seban, président du Centre Pompidou
+Bernard Stiegler, philosophe et directeur de l'Institut de Recherche et d'Innovation (IRI)

+Animée par Brice Couturier, écrivain et producteur à France Culture

+La table ronde sera suivie d'un déjeuner-buffet


+RSVP: rp@centrepompidou.fr ou 01 44 78 15 05"; + +$C_partenaires = " IRI + | Centre Pompidou "; + +