[svn r11883] allows to change the logo in the admin

skala
Eric Marguin 19 years ago
parent e2d4c1b803
commit 7ecb0ea6f2
  1. 7
      index.php

@ -20,7 +20,7 @@
/** /**
* @package dokeos.main * @package dokeos.main
* @author Patrick Cool <patrick.cool@UGent.be>, Ghent University, Refactoring * @author Patrick Cool <patrick.cool@UGent.be>, Ghent University, Refactoring
* @version $Id: index.php 11226 2007-02-26 13:44:34Z elixir_julian $ * @version $Id: index.php 11883 2007-04-05 12:44:26Z elixir_inter $
* @todo check the different @todos in this page and really do them * @todo check the different @todos in this page and really do them
* @todo check if the news management works as expected * @todo check if the news management works as expected
*/ */
@ -195,7 +195,10 @@ else
{ {
if(!file_exists('home/home_news_'.$user_selected_language.'.html')) if(!file_exists('home/home_news_'.$user_selected_language.'.html'))
{ {
include ('home/home_top.html'); $home_top_temp=file('home/home_top.html');
$home_top_temp=implode('',$home_top_temp);
$open=str_replace('{rel_path}',api_get_path(REL_PATH),$home_top_temp);
echo $open;
} }
else else
{ {

Loading…
Cancel
Save