';
- echo ucfirst(get_lang('MyCourses'));
+ echo api_ucfirst(get_lang('MyCourses'));
echo '
';
echo '';
//Courses whithout sessions
diff --git a/main/work/work.lib.php b/main/work/work.lib.php
index 319c89f8a8..d6af4b2906 100644
--- a/main/work/work.lib.php
+++ b/main/work/work.lib.php
@@ -1,4 +1,4 @@
-, Ghent University - ability for course admins to specify wether uploaded documents are visible or invisible by default.
* @author Roan Embrechts, code refactoring and virtual course support
* @author Frederic Vauthier, directories management
-* @version $Id: work.lib.php 20700 2009-05-15 16:35:50Z cvargas1 $
+* @version $Id: work.lib.php 20709 2009-05-15 19:12:37Z ivantcholakov $
*/
/**
* Displays action links (for admins, authorized groups members and authorized students)
@@ -622,7 +622,7 @@ function display_student_publications_list($work_dir,$sub_course_dir,$currentCou
}
if ($direc_date!='' && $direc_date!='0000-00-00 00:00:00') {
- $my_direc_date = ucfirst(format_locale_date($dateFormatShort,strtotime($direc_date))).' ';
+ $my_direc_date = api_ucfirst(format_locale_date($dateFormatShort,strtotime($direc_date))).' ';
$my_direc_date .= ucfirst(strftime($timeNoSecFormat,strtotime($direc_date)));
$row[]= date_to_str_ago($direc_date).'
'.$my_direc_date.'';
} else {
@@ -683,7 +683,7 @@ function display_student_publications_list($work_dir,$sub_course_dir,$currentCou
$row[]= build_document_icon_tag('file',$work->url);
$row[]= '
'.$work->title.''.$work->description;
$row[]= display_user_link($row2['insert_user_id'],$work->author).$qualification_string;// $work->author;
- $sent_date = ucfirst(format_locale_date($dateFormatShort,strtotime($work->sent_date))).' ';
+ $sent_date = api_ucfirst(format_locale_date($dateFormatShort,strtotime($work->sent_date))).' ';
$sent_date .= ucfirst(strftime($timeNoSecFormat,strtotime($work->sent_date)));
$row[]= date_to_str_ago($work->sent_date).$add_string.'
'.$sent_date.'';
diff --git a/main/work/work.php b/main/work/work.php
index 0d7ee0572c..f1163c7f90 100644
--- a/main/work/work.php
+++ b/main/work/work.php
@@ -1,4 +1,4 @@
-, Ghent University - ability for course admins to specify wether uploaded documents are visible or invisible by default.
* @author Roan Embrechts, code refactoring and virtual course support
* @author Frederic Vauthier, directories management
-* @version $Id: work.php 20700 2009-05-15 16:35:50Z cvargas1 $
+* @version $Id: work.php 20709 2009-05-15 19:12:37Z ivantcholakov $
*
* @todo refactor more code into functions, use quickforms, coding standards, ...
*/
@@ -1074,9 +1074,9 @@ if($is_special > 0):
Display :: display_normal_message($publication['description']);
}
- $ends_on = ucfirst(format_locale_date($dateFormatLong,strtotime($homework['ends_on']))).' ';
+ $ends_on = api_ucfirst(format_locale_date($dateFormatLong,strtotime($homework['ends_on']))).' ';
$ends_on .= ucfirst(strftime($timeNoSecFormat,strtotime($homework['ends_on'])));
- $expires_on = ucfirst(format_locale_date($dateFormatLong,strtotime($homework['expires_on']))).' ';
+ $expires_on = api_ucfirst(format_locale_date($dateFormatLong,strtotime($homework['expires_on']))).' ';
$expires_on .= ucfirst(strftime($timeNoSecFormat,strtotime($homework['expires_on'])));
if($has_ended) {
Display :: display_error_message(get_lang('EndDateAlreadyPassed').' '.$ends_on);