Source for file help.php
Documentation is available at help.php
==============================================================================
Dokeos - elearning and course management software
Copyright (c) 2004-2005 Dokeos S.A.
Copyright (c) 2003-2005 Ghent University (UGent)
Copyright (c) 2001 Universite catholique de Louvain (UCL)
Copyright (c) Sally "Example" Programmer (sally@somewhere.net)
For a full list of contributors, see "credits.txt".
The full license can be read in "license.txt".
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
See the GNU General Public License for more details.
Contact address: Dokeos, 44 rue des palais, B-1030 Brussels, Belgium
==============================================================================
==============================================================================
* This script displays a help window.
==============================================================================
// name of the language file that needs to be included
include('../inc/global.inc.php');
header('Content-Type: text/html; charset='. $charset);
* Choose CSS style platform's, user's, course's, or Learning path CSS
$my_style= $platform_theme;
$user_theme = $useri['theme'];
if(!empty($user_theme) && $user_theme != $my_style)
$my_style = $user_theme; // user's css
if (!empty($mycourseid) && $mycourseid != - 1)
if (!empty($mycoursetheme) && $mycoursetheme!=- 1)
if(!empty($mycoursetheme) && $mycoursetheme != $my_style)
$my_style = $mycoursetheme; // course's css
if (!empty($mycourselptheme) && $mycourselptheme!=- 1 && $mycourselptheme== 1)
global $lp_theme_css; // it comes from the lp_controller.php
global $lp_theme_config; // it comes from the lp_controller.php
if (!empty($lp_theme_css))
if(!empty($theme) && $theme != $my_style)
$my_style = $theme; // LP's css
$my_style= $platform_theme;
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang=" <?php echo $language_code; ?>" lang=" <?php echo $language_code; ?>">
<meta http-equiv="Content-Type" content="text/html; charset= <?php echo $charset ?>" />
<style type="text/css" media="screen, projection">
<div style="margin:10px;">
<div style="text-align:right;"><a href="javascript:window.close();"> <?php echo get_lang('Close'); ?></a></div>
<a href="faq.php"> <?php echo get_lang('AccessToFaq') ?></a>
<?php echo get_lang($helpName. 'Content'); ?>
<a href="faq.php"> <?php echo get_lang('AccessToFaq') ?></a>
<div style="text-align:right;"><a href="javascript:window.close();"> <?php echo get_lang('Close'); ?></a></div>
|