Changing headers, cleaning code

skala
Julio Montoya 15 years ago
parent 295032183c
commit 75abb3c73d
  1. 37
      main/group/group.php
  2. 37
      main/group/group_category.php
  3. 39
      main/group/group_creation.php
  4. 30
      main/group/group_edit.php
  5. 37
      main/group/group_overview.php
  6. 34
      main/group/group_space.php

@ -1,31 +1,7 @@
<?php // $Id: group.php 22201 2009-07-17 19:57:03Z cfasanando $ <?php // $Id: group.php 22201 2009-07-17 19:57:03Z cfasanando $
/* For licensing terms, see /license.txt */
/*
==============================================================================
Dokeos - elearning and course management software
Copyright (c) 2004-2008 Dokeos SPRL
Copyright (c) 2003 Ghent University (UGent)
Copyright (c) 2001 Universite catholique de Louvain (UCL)
Copyright (c) various contributors
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, rue du Corbeau, 108, B-1030 Brussels, Belgium
Mail: info@dokeos.com
==============================================================================
*/
/** /**
==============================================================================
* Main page for the group module. * Main page for the group module.
* This script displays the general group settings, * This script displays the general group settings,
* and a list of groups with buttons to view, edit... * and a list of groups with buttons to view, edit...
@ -36,14 +12,9 @@
* @author Roan Embrechts, initial self-unsubscribe code, code cleaning, virtual course support * @author Roan Embrechts, initial self-unsubscribe code, code cleaning, virtual course support
* @author Bart Mollet, code cleaning, use of Display-library, list of courseAdmin-tools, use of GroupManager * @author Bart Mollet, code cleaning, use of Display-library, list of courseAdmin-tools, use of GroupManager
* @author Isaac Flores, code cleaning and improvements * @author Isaac Flores, code cleaning and improvements
* @package dokeos.group * @package chamilo.group
==============================================================================
*/
/*
==============================================================================
INIT SECTION
==============================================================================
*/ */
/* INIT SECTION */
// name of the language file that needs to be included // name of the language file that needs to be included
$language_file = 'group'; $language_file = 'group';
require_once '../inc/global.inc.php'; require_once '../inc/global.inc.php';
@ -427,9 +398,7 @@ foreach ($group_cats as $index => $category)
*/ */
} }
/* /*
==============================================================================
FOOTER FOOTER
==============================================================================
*/ */
if (!isset ($_GET['origin']) || $_GET['origin'] != 'learnpath') if (!isset ($_GET['origin']) || $_GET['origin'] != 'learnpath')
{ {

@ -1,38 +1,11 @@
<?php <?php
// $Id: group_category.php 21074 2009-05-29 15:48:32Z cvargas1 $ /* For licensing terms, see /license.txt */
/*
==============================================================================
Dokeos - elearning and course management software
Copyright (c) 2004 Dokeos S.A.
Copyright (c) 2003 Ghent University (UGent)
Copyright (c) 2001 Universite catholique de Louvain (UCL)
Copyright (c) various contributors
Copyright (c) Bart Mollet, Hogeschool Gent
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: Dokeos, 181 rue Royale, B-1000 Brussels, Belgium, info@dokeos.com
==============================================================================
*/
/** /**
============================================================================== * @package chamilo.group
* @package dokeos.group
==============================================================================
*/
/*
==============================================================================
INIT SECTION
==============================================================================
*/ */
/* INIT SECTION */
// name of the language file that needs to be included // name of the language file that needs to be included
$language_file = "group"; $language_file = "group";
require_once ('../inc/global.inc.php'); require_once ('../inc/global.inc.php');

@ -1,40 +1,11 @@
<?php <?php
/* /* For licensing terms, see /license.txt */
===============================================================================
Dokeos - elearning and course management software
Copyright (c) 2004 Dokeos S.A.
Copyright (c) 2003 Ghent University (UGent)
Copyright (c) 2001 Universite catholique de Louvain (UCL)
Copyright (c) Hugues Peeters
Copyright (c) Thomas Depraetere
Copyright (c) Christophe Gesche
Copyright (c) Roan Embrechts
Copyright (c) Bart Mollet
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: Dokeos, 181 rue Royale, B-1000 Brussels, Belgium, info@dokeos.com
===============================================================================
*/
/** /**
============================================================================== * @package chamilo.group
* @package dokeos.group
==============================================================================
*/
/*
===============================================================================
DOKEOS INIT SETTINGS
===============================================================================
*/ */
/* INIT SECTION */
// name of the language file that needs to be included // name of the language file that needs to be included
$language_file = "group"; $language_file = "group";
require_once ('../inc/global.inc.php'); require_once ('../inc/global.inc.php');

@ -1,42 +1,16 @@
<?php <?php
/* /* For licensing terms, see /license.txt */
==============================================================================
Dokeos - elearning and course management software
Copyright (c) 2004 Dokeos S.A.
Copyright (c) 2003 Ghent University (UGent)
Copyright (c) 2001 Universite catholique de Louvain (UCL)
Copyright (c) various contributors
Copyright (c) Bart Mollet, Hogeschool Gent
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: Dokeos, 181 rue Royale, B-1000 Brussels, Belgium, info@dokeos.com
==============================================================================
*/
/** /**
==============================================================================
* This script displays an area where teachers can edit the group properties and member list. * This script displays an area where teachers can edit the group properties and member list.
* Groups are also often called "teams" in the Dokeos code. * Groups are also often called "teams" in the Dokeos code.
* *
* @author various contributors * @author various contributors
* @author Roan Embrechts (VUB), partial code cleanup, initial virtual course support * @author Roan Embrechts (VUB), partial code cleanup, initial virtual course support
@package dokeos.group @package chamilo.group
* @todo course admin functionality to create groups based on who is in which course (or class). * @todo course admin functionality to create groups based on who is in which course (or class).
==============================================================================
*/ */
/* /*
==============================================================================
INIT SECTION INIT SECTION
==============================================================================
*/ */
// name of the language file that needs to be included // name of the language file that needs to be included
$language_file = "group"; $language_file = "group";

@ -1,31 +1,6 @@
<?php // $Id: group_overview.php 22201 2009-07-17 19:57:03Z cfasanando $ <?php // $Id: group_overview.php 22201 2009-07-17 19:57:03Z cfasanando $
/* For licensing terms, see /license.txt */
/*
==============================================================================
Dokeos - elearning and course management software
Copyright (c) 2004-2008 Dokeos SPRL
Copyright (c) 2003 Ghent University (UGent)
Copyright (c) 2001 Universite catholique de Louvain (UCL)
Copyright (c) various contributors
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, rue du Corbeau, 108, B-1030 Brussels, Belgium
Mail: info@dokeos.com
==============================================================================
*/
/** /**
==============================================================================
* Main page for the group module. * Main page for the group module.
* This script displays the general group settings, * This script displays the general group settings,
* and a list of groups with buttons to view, edit... * and a list of groups with buttons to view, edit...
@ -35,14 +10,10 @@
* @author Patrick Cool, show group comment under the group name * @author Patrick Cool, show group comment under the group name
* @author Roan Embrechts, initial self-unsubscribe code, code cleaning, virtual course support * @author Roan Embrechts, initial self-unsubscribe code, code cleaning, virtual course support
* @author Bart Mollet, code cleaning, use of Display-library, list of courseAdmin-tools, use of GroupManager * @author Bart Mollet, code cleaning, use of Display-library, list of courseAdmin-tools, use of GroupManager
* @package dokeos.group * @package chamilo.group
==============================================================================
*/
/*
==============================================================================
INIT SECTION
==============================================================================
*/ */
/* INIT SECTION*/
// name of the language file that needs to be included // name of the language file that needs to be included
$language_file = "group"; $language_file = "group";
include ('../inc/global.inc.php'); include ('../inc/global.inc.php');

@ -1,41 +1,17 @@
<?php //$Id: group_space.php 21933 2009-07-09 06:08:22Z ivantcholakov $ <?php //$Id: group_space.php 21933 2009-07-09 06:08:22Z ivantcholakov $
/* /* For licensing terms, see /license.txt */
==============================================================================
Dokeos - elearning and course management software
Copyright (c) 2004-2008 Dokeos SPRL
Copyright (c) 2003 Ghent University (UGent)
Copyright (c) 2001 Universite catholique de Louvain (UCL)
Copyright (c) various contributors
Copyright (c) Bart Mollet
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: Dokeos, rue du Corbeau, 108, B-1030 Brussels, Belgium, info@dokeos.com
==============================================================================
*/
/** /**
============================================================================== ==============================================================================
* This script shows the group space for one specific group, possibly displaying * This script shows the group space for one specific group, possibly displaying
* a list of users in the group, subscribe or unsubscribe option, tutors... * a list of users in the group, subscribe or unsubscribe option, tutors...
* *
* @package dokeos.group * @package chamilo.group
* @todo Display error message if no group ID specified * @todo Display error message if no group ID specified
============================================================================== ==============================================================================
*/ */
/*
============================================================================== /* INIT SECTION*/
INIT SECTION
==============================================================================
*/
// name of the language file that needs to be included // name of the language file that needs to be included
$language_file = "group"; $language_file = "group";
require_once '../inc/global.inc.php'; require_once '../inc/global.inc.php';

Loading…
Cancel
Save