diff --git a/main/calendar/agenda.inc.php b/main/calendar/agenda.inc.php index aaa7d333f0..9a0e4d8763 100755 --- a/main/calendar/agenda.inc.php +++ b/main/calendar/agenda.inc.php @@ -1,13 +1,14 @@ BeezNest 2011 - Lots of fixes - UI improvements, security fixes, - @author: Patrick Cool, patrick.cool@UGent.be - @todo this code should be clean as well as the myagenda.inc.php - jmontoya - + * @author: Julio Montoya BeezNest 2011 - Lots of fixes - UI improvements, security fixes, + * @author: Patrick Cool, patrick.cool@UGent.be + * @todo this code should be clean as well as the myagenda.inc.php - jmontoya + * @package chamilo.calendar */ - +/** + * Code + */ // the variables for the days and the months // Defining the shorts for the days $DaysShort = api_get_week_days_short(); @@ -4535,4 +4536,4 @@ function display_ical_import_form() { '; echo ''; -} \ No newline at end of file +} diff --git a/main/calendar/agenda.php b/main/calendar/agenda.php index 882020f3d6..0fd5c79fd7 100755 --- a/main/calendar/agenda.php +++ b/main/calendar/agenda.php @@ -1,7 +1,11 @@ '; // The footer is displayed only if we are not in the learnpath if ($_GET['origin'] != 'learnpath') { Display::display_footer(); -} \ No newline at end of file +} diff --git a/main/exercice/GC.php b/main/exercice/GC.php index 6e9ed9d7b3..678a1d7f66 100755 --- a/main/exercice/GC.php +++ b/main/exercice/GC.php @@ -1,27 +1,21 @@ "; HotPotGC($_configuration['root_sys'],1,1); - - /** - * functions - */ -/** - * Garbage collector + * Garbage collector caller function */ function HotPotGC($root_sys,$flag,$userID) { // flag[0,1] - print or delete the HotPotatoes temp files (.t.html) @@ -29,7 +23,9 @@ function HotPotGC($root_sys,$flag,$userID) { require_once(api_get_path(LIBRARY_PATH)."fileManage.lib.php"); HotPotGCt($documentPath,$flag,$userID); } - +/** + * Garbage collector + */ function HotPotGCt($folder,$flag,$userID) { // Garbage Collector $filelist = array(); if ($dir = @opendir($folder)) { diff --git a/main/user/subscribe_user.php b/main/user/subscribe_user.php index 847debf1b7..fd67170742 100755 --- a/main/user/subscribe_user.php +++ b/main/user/subscribe_user.php @@ -1,16 +1,13 @@