diff --git a/main/survey/attach_existingsurvey.php b/main/survey/attach_existingsurvey.php index 539191ed1f..a40b169d30 100644 --- a/main/survey/attach_existingsurvey.php +++ b/main/survey/attach_existingsurvey.php @@ -20,7 +20,7 @@ /** * @package dokeos.survey * @author -* @version $Id: attach_existingsurvey.php 10549 2006-12-24 16:08:47Z pcool $ +* @version $Id: attach_existingsurvey.php 10550 2006-12-24 16:17:25Z pcool $ */ /* @@ -45,7 +45,7 @@ if($status==5) api_protect_admin_script(); } require_once (api_get_path(LIBRARY_PATH)."/usermanager.lib.php"); -$MonthsLong = array(get_lang("JanuaryLong"), get_lang("FebruaryLong"), get_lang("MarchLong"), get_lang("AprilLong"), get_lang("MayLong"), get_lang("JuneLong"), get_lang("JulyLong"), get_lang("AugustLong"), get_lang("SeptemberLong"), get_lang("OctoberLong"), get_lang("NovemberLong"), get_lang("DecemberLong")); +$MonthsLong = array(get_lang('JanuaryLong'), get_lang('FebruaryLong'), get_lang('"MarchLong'), get_lang('AprilLong'), get_lang('MayLong'), get_lang('JuneLong'), get_lang('JulyLong'), get_lang('AugustLong'), get_lang('SeptemberLong'), get_lang('OctoberLong'), get_lang('NovemberLong'), get_lang('DecemberLong')); $arr_date = explode("-",date("Y-m-d")); $curr_year = $arr_date[0]; $curr_month = $arr_date[1]; diff --git a/main/survey/attach_question.php b/main/survey/attach_question.php index dab1fd6f87..f9d2a61c63 100644 --- a/main/survey/attach_question.php +++ b/main/survey/attach_question.php @@ -20,7 +20,7 @@ /** * @package dokeos.survey * @author -* @version $Id: attach_question.php 10549 2006-12-24 16:08:47Z pcool $ +* @version $Id: attach_question.php 10550 2006-12-24 16:17:25Z pcool $ */ /* @@ -45,7 +45,7 @@ if($status==5) api_protect_admin_script(); } require_once (api_get_path(LIBRARY_PATH)."/usermanager.lib.php"); -$MonthsLong = array(get_lang("JanuaryLong"), get_lang("FebruaryLong"), get_lang("MarchLong"), get_lang("AprilLong"), get_lang("MayLong"), get_lang("JuneLong"), get_lang("JulyLong"), get_lang("AugustLong"), get_lang("SeptemberLong"), get_lang("OctoberLong"), get_lang("NovemberLong"), get_lang("DecemberLong")); +$MonthsLong = array(get_lang('JanuaryLong'), get_lang('FebruaryLong'), get_lang('"MarchLong'), get_lang('AprilLong'), get_lang('MayLong'), get_lang('JuneLong'), get_lang('JulyLong'), get_lang('AugustLong'), get_lang('SeptemberLong'), get_lang('OctoberLong'), get_lang('NovemberLong'), get_lang('DecemberLong')); $arr_date = explode("-",date("Y-m-d")); $curr_year = $arr_date[0]; $curr_month = $arr_date[1]; diff --git a/main/survey/attach_survey.php b/main/survey/attach_survey.php index 5d86a66cbb..eeac08be27 100644 --- a/main/survey/attach_survey.php +++ b/main/survey/attach_survey.php @@ -20,7 +20,7 @@ /** * @package dokeos.survey * @author -* @version $Id: attach_survey.php 10549 2006-12-24 16:08:47Z pcool $ +* @version $Id: attach_survey.php 10550 2006-12-24 16:17:25Z pcool $ */ /* @@ -45,7 +45,7 @@ if($status==5) api_protect_admin_script(); } require_once (api_get_path(LIBRARY_PATH)."/usermanager.lib.php"); -$MonthsLong = array(get_lang("JanuaryLong"), get_lang("FebruaryLong"), get_lang("MarchLong"), get_lang("AprilLong"), get_lang("MayLong"), get_lang("JuneLong"), get_lang("JulyLong"), get_lang("AugustLong"), get_lang("SeptemberLong"), get_lang("OctoberLong"), get_lang("NovemberLong"), get_lang("DecemberLong")); +$MonthsLong = array(get_lang('JanuaryLong'), get_lang('FebruaryLong'), get_lang('"MarchLong'), get_lang('AprilLong'), get_lang('MayLong'), get_lang('JuneLong'), get_lang('JulyLong'), get_lang('AugustLong'), get_lang('SeptemberLong'), get_lang('OctoberLong'), get_lang('NovemberLong'), get_lang('DecemberLong')); $arr_date = explode("-",date("Y-m-d")); $curr_year = $arr_date[0]; $curr_month = $arr_date[1]; diff --git a/main/survey/calendar.php b/main/survey/calendar.php index 496f06f44c..c643388ab9 100644 --- a/main/survey/calendar.php +++ b/main/survey/calendar.php @@ -20,7 +20,7 @@ /** * @package dokeos.survey * @author -* @version $Id: calendar.php 10223 2006-11-27 14:45:59Z pcool $ +* @version $Id: calendar.php 10550 2006-12-24 16:17:25Z pcool $ */ // name of the language file that needs to be included @@ -30,11 +30,11 @@ include('../inc/global.inc.php'); // the variables for the days and the months // Defining the shorts for the days -$DaysShort = array(get_lang("SundayShort"), get_lang("MondayShort"), get_lang("TuesdayShort"), get_lang("WednesdayShort"), get_lang("ThursdayShort"), get_lang("FridayShort"), get_lang("SaturdayShort")); +$DaysShort = array(get_lang('SundayShort'), get_lang('MondayShort'), get_lang('TuesdayShort'), get_lang('WednesdayShort'), get_lang('ThursdayShort'), get_lang('FridayShort'), get_lang('SaturdayShort')); // Defining the days of the week to allow translation of the days -$DaysLong = array(get_lang("SundayLong"), get_lang("MondayLong"), get_lang("TuesdayLong"), get_lang("WednesdayLong"), get_lang("ThursdayLong"), get_lang("FridayLong"), get_lang("SaturdayLong")); +$DaysLong = array(get_lang('SundayLong'), get_lang('MondayLong'), get_lang('TuesdayLong'), get_lang('WednesdayLong'), get_lang('ThursdayLong'), get_lang('FridayLong'), get_lang('SaturdayLong')); // Defining the months of the year to allow translation of the months -$MonthsLong = array(get_lang("JanuaryLong"), get_lang("FebruaryLong"), get_lang("MarchLong"), get_lang("AprilLong"), get_lang("MayLong"), get_lang("JuneLong"), get_lang("JulyLong"), get_lang("AugustLong"), get_lang("SeptemberLong"), get_lang("OctoberLong"), get_lang("NovemberLong"), get_lang("DecemberLong")); +$MonthsLong = array(get_lang('JanuaryLong'), get_lang('FebruaryLong'), get_lang('"MarchLong'), get_lang('AprilLong'), get_lang('MayLong'), get_lang('JuneLong'), get_lang('JulyLong'), get_lang('AugustLong'), get_lang('SeptemberLong'), get_lang('OctoberLong'), get_lang('NovemberLong'), get_lang('DecemberLong')); ?> diff --git a/main/survey/create_new_survey.php b/main/survey/create_new_survey.php index 6f825bdff4..cc9924c32d 100644 --- a/main/survey/create_new_survey.php +++ b/main/survey/create_new_survey.php @@ -20,7 +20,7 @@ /** * @package dokeos.survey * @author -* @version $Id: create_new_survey.php 10549 2006-12-24 16:08:47Z pcool $ +* @version $Id: create_new_survey.php 10550 2006-12-24 16:17:25Z pcool $ */ /* @@ -75,7 +75,7 @@ api_protect_admin_script(); ----------------------------------------------------------- */ // an api function for this would be nice since this is used in a lot of places in Dokeos -$MonthsLong = array(get_lang("JanuaryLong"), get_lang("FebruaryLong"), get_lang("MarchLong"), get_lang("AprilLong"), get_lang("MayLong"), get_lang("JuneLong"), get_lang("JulyLong"), get_lang("AugustLong"), get_lang("SeptemberLong"), get_lang("OctoberLong"), get_lang("NovemberLong"), get_lang("DecemberLong")); +$MonthsLong = array(get_lang('JanuaryLong'), get_lang('FebruaryLong'), get_lang('"MarchLong'), get_lang('AprilLong'), get_lang('MayLong'), get_lang('JuneLong'), get_lang('JulyLong'), get_lang('AugustLong'), get_lang('SeptemberLong'), get_lang('OctoberLong'), get_lang('NovemberLong'), get_lang('DecemberLong')); $tool_name = get_lang('CreateNewSurvey'); $tool_name1 = get_lang('CreateNewSurvey'); diff --git a/main/survey/mcma.php b/main/survey/mcma.php index 9d5a876b26..ccf255ce5b 100644 --- a/main/survey/mcma.php +++ b/main/survey/mcma.php @@ -20,7 +20,7 @@ /** * @package dokeos.survey * @author -* @version $Id: mcma.php 10549 2006-12-24 16:08:47Z pcool $ +* @version $Id: mcma.php 10550 2006-12-24 16:17:25Z pcool $ */ // name of the language file that needs to be included @@ -562,7 +562,7 @@ function checkLength(form){ - "> + diff --git a/main/survey/survey_edit.php b/main/survey/survey_edit.php index 90329aab67..28e64b79eb 100644 --- a/main/survey/survey_edit.php +++ b/main/survey/survey_edit.php @@ -20,7 +20,7 @@ /** * @package dokeos.survey * @author -* @version $Id: survey_edit.php 10549 2006-12-24 16:08:47Z pcool $ +* @version $Id: survey_edit.php 10550 2006-12-24 16:17:25Z pcool $ */ /* ============================================================================== @@ -42,7 +42,7 @@ api_protect_admin_script(); require_once (api_get_path(LIBRARY_PATH)."/usermanager.lib.php"); // the variables for the days and the months // Defining the months of the year to allow translation of the months -$MonthsLong = array(get_lang("JanuaryLong"), get_lang("FebruaryLong"), get_lang("MarchLong"), get_lang("AprilLong"), get_lang("MayLong"), get_lang("JuneLong"), get_lang("JulyLong"), get_lang("AugustLong"), get_lang("SeptemberLong"), get_lang("OctoberLong"), get_lang("NovemberLong"), get_lang("DecemberLong")); +$MonthsLong = array(get_lang('JanuaryLong'), get_lang('FebruaryLong'), get_lang('"MarchLong'), get_lang('AprilLong'), get_lang('MayLong'), get_lang('JuneLong'), get_lang('JulyLong'), get_lang('AugustLong'), get_lang('SeptemberLong'), get_lang('OctoberLong'), get_lang('NovemberLong'), get_lang('DecemberLong')); $arr_date = explode("-",date("Y-m-d")); $curr_year = $arr_date[0]; $curr_month = $arr_date[1]; diff --git a/main/survey/yesno.php b/main/survey/yesno.php index ebeb0b1e31..b751f8f61d 100644 --- a/main/survey/yesno.php +++ b/main/survey/yesno.php @@ -20,7 +20,7 @@ /** * @package dokeos.survey * @author -* @version $Id: yesno.php 10549 2006-12-24 16:08:47Z pcool $ +* @version $Id: yesno.php 10550 2006-12-24 16:17:25Z pcool $ */ // name of the language file that needs to be included @@ -430,7 +430,7 @@ function checkLength(form){ "> "> - "> + diff --git a/main/survey/yesno_edit.php b/main/survey/yesno_edit.php index 45671a114d..6e65c569c3 100644 --- a/main/survey/yesno_edit.php +++ b/main/survey/yesno_edit.php @@ -20,7 +20,7 @@ /** * @package dokeos.survey * @author -* @version $Id: yesno_edit.php 10549 2006-12-24 16:08:47Z pcool $ +* @version $Id: yesno_edit.php 10550 2006-12-24 16:17:25Z pcool $ */ // name of the language file that needs to be included @@ -428,7 +428,7 @@ if( isset($error_message) ) "> - +