web/index.php
changeset 294 106c4ec894aa
parent 291 db1e6bfaa54e
child 536 5dd170a735e9
--- a/web/index.php	Thu Oct 06 19:31:05 2011 +0200
+++ b/web/index.php	Fri Oct 07 14:11:35 2011 +0200
@@ -9,6 +9,8 @@
 include_once dirname(__FILE__).'/common.php';
 include_once dirname(__FILE__).'/'.$C_default_rep.'/config.php';
 
+set_config_translations($config,$translate);
+
 
 /**
  * Do we already have a valid Access Token or need to go get one?
@@ -175,11 +177,11 @@
 				</p>
 				</div>
 				<!-- fourth slide -->
-				<div class="slides" style="background-image:url('<?php echo("$C_default_rep/$config[slide_background]"); ?>');">
+				<div class="slides" style="background-image:url('<?php echo("$C_default_rep/".$translate->_("config__slide_background")); ?>');">
 				<p class="slideTitle" ><?php print $translate->_("4. TitreSlide"); ?></p>
 				<br/><br/><br/>
 				<p style="width:400px;padding-right:400px;" class="slideText">
-				<?php print($translate->_($config['abstract'])); ?>
+				<?php print($translate->_('config__abstract')); ?>
 				 </p>
 
 				 <a class="button_b" href="<?php echo(URL_ROOT.$C_default_rep); ?>/client.php"><span> <?php print $translate->_("4. Button"); ?></span> </a>