dokeos-main
[ class tree: dokeos-main ] [ index: dokeos-main ] [ all elements ]

Procedural File: index.php

Source Location: /index.php



Page Details:



Tags:

author:  Patrick Cool <patrick.cool@UGent.be>, Ghent University, Refactoring
version:  $Id: index.php 12813 2007-07-31 08:16:06Z elixir_julian $
todo:  check the different @todos in this page and really do them
todo:  check if the news management works as expected


Includes:

include('./home/'.$_GET['include']) [line 181]
include(stats.lib.inc.php) [line 146]


Tags:

todo:  This piece of code should probably move to local.inc.php where the actual login procedure is handled.
todo:  check if this code is used. I think this code is never executed because after clicking the submit button the code does the stuff in local.inc.php and then redirects to index.php or user_portal.php depending on api_get_setting('page_after_login')
include('home/home_top_'.$user_selected_language.'.html') [line 207]
include('home/home_top.html') [line 210]
include_once(api_get_path(LIBRARY_PATH).'formvalidator/FormValidator.class.php') [line 54]
include_once(groupmanager.lib.php) [line 53]
include_once(system_announcements.lib.php) [line 52]
include_once(debug.lib.inc.php) [line 50]
include_once(events.lib.inc.php) [line 51]
include_once(course.lib.php) [line 49]
require_once('./main/inc/global.inc.php') [line 48]


Tags:

todo:  make all the library files consistent use filename.lib.php and not filename.lib.inc.php





DOKEOS_HOMEPAGE [line 31]

DOKEOS_HOMEPAGE = true


Tags:

todo:  Couldn't this be done using the $HtmlHeadXtra array?

[ Top ]




category_has_open_courses [line 294]

boolean category_has_open_courses( unknown_type $category)

This function checks if there are courses that are open to the world in the platform course categories (=faculties)



Parameters

unknown_type   $category  
[ Top ]



display_anonymous_course_list [line 499]

void display_anonymous_course_list( )

Display list of courses in a category.

(for anonymous users)




Tags:

author:  Patrick Cool <patrick.cool@UGent.be>, Ghent University - refactoring and code cleaning
version:  1.1


[ Top ]



display_anonymous_right_menu [line 326]

void display_anonymous_right_menu( )

Displays the right-hand menu for anonymous users:

login form, useful links, help section Warning: function defines globals




Tags:

version:  1.0.1
todo:  does $_plugins need to be global?


[ Top ]



display_login_form [line 474]

void display_login_form( )

Adds a form to let users login



Tags:

version:  1.1


[ Top ]



display_lost_password_info [line 487]

void display_lost_password_info( )

Displays a link to the lost password section



[ Top ]



handle_login_failed [line 446]

void handle_login_failed( )

Reacts on a failed login: displays an explanation with a link to the registration form.



Tags:

version:  1.0.1


[ Top ]



logout [line 258]

void logout( )

This function handles the logout and is called whenever there is a $_GET['logout']



Tags:

author:  Patrick Cool <patrick.cool@UGent.be>, Ghent University


[ Top ]



Documentation generated on Wed, 05 Sep 2007 06:14:49 +0200 by phpDocumentor 1.4.0