[svn r11546] bug 1251 : css inclusion correction

skala
Guillaume Lederer 19 years ago
parent b1a3601307
commit dcf5aee161
  1. 6
      main/exercice/exercice_submit.php
  2. 4
      main/exercice/exercise_result.php

@ -35,7 +35,7 @@
* the administrator * the administrator
* @package dokeos.exercise * @package dokeos.exercise
* @author Olivier Brouckaert * @author Olivier Brouckaert
* @version $Id: exercice_submit.php 11297 2007-03-01 13:30:14Z elixir_julian $ * @version $Id: exercice_submit.php 11546 2007-03-12 15:52:51Z guim_led $
*/ */
@ -411,7 +411,7 @@ else
</head> </head>
<body> <body>
<link rel="stylesheet" type="text/css" href="<?php echo api_get_path(WEB_CODE_PATH); ?>css/default/frames.css" /> <link rel="stylesheet" type="text/css" href="<?php echo api_get_path(WEB_CODE_PATH).'css/'.api_get_setting('stylesheets').'/frames.css'; ?>" />
<?php <?php
} }
@ -576,7 +576,7 @@ if ($origin != 'learnpath') { //so we are not in learnpath tool
Display::display_footer(); Display::display_footer();
} else { } else {
?> ?>
<link rel="stylesheet" type="text/css" href="<?php echo $clarolineRepositoryWeb ?>css/frames.css" /> <link rel="stylesheet" type="text/css" href="<?php echo api_get_path(WEB_CODE_PATH).'css/'.api_get_setting('stylesheets').'/frames.css'; ?>" />
</body></html> </body></html>
<?php <?php
} }

@ -27,7 +27,7 @@
* @package dokeos.exercise * @package dokeos.exercise
* @author Olivier Brouckaert, main author * @author Olivier Brouckaert, main author
* @author Roan Embrechts, some refactoring * @author Roan Embrechts, some refactoring
* @version $Id: exercise_result.php 11534 2007-03-12 13:29:29Z elixir_julian $ * @version $Id: exercise_result.php 11546 2007-03-12 15:52:51Z guim_led $
* *
* @todo split more code up in functions, move functions to library? * @todo split more code up in functions, move functions to library?
*/ */
@ -174,7 +174,7 @@ else
</head> </head>
<body> <body>
<link rel="stylesheet" type="text/css" href="<?php echo api_get_path(WEB_CODE_PATH); ?>css/default/frames.css" /> <link rel="stylesheet" type="text/css" href="<?php echo api_get_path(WEB_CODE_PATH).'css/'.api_get_setting('stylesheets').'/frames.css'; ?>" />
<?php <?php
} }

Loading…
Cancel
Save