[svn r10550] language refactoring + DLTT

skala
Patrick Cool 18 years ago
parent 85221b7454
commit 47ceb990aa
  1. 4
      main/survey/attach_existingsurvey.php
  2. 4
      main/survey/attach_question.php
  3. 4
      main/survey/attach_survey.php
  4. 8
      main/survey/calendar.php
  5. 4
      main/survey/create_new_survey.php
  6. 4
      main/survey/mcma.php
  7. 4
      main/survey/survey_edit.php
  8. 4
      main/survey/yesno.php
  9. 4
      main/survey/yesno_edit.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];

@ -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];

@ -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];

@ -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'));
?>
<html>

@ -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');

@ -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){
<input type="submit" name="back" value="<?php echo get_lang('Back'); ?>">
<input type="submit" name="saveandexit" value="<?php echo get_lang('SaveAndExit');?>">
<input type="button" value="<?php echo get_lang('Preview');?>" onClick="preview('mcma','<?php echo $temp; ?>','<?php echo $Multi; ?>')">
<input type="submit" name="next" value="<?php echo get_lang("Next"); ?>">
<input type="submit" name="next" value="<?php echo get_lang('Next'); ?>">
</div>
<!--this partcular field helps in identify the item to be add at the itemadd.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];

@ -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){
<input type="submit" name="back" value="<?php echo get_lang("Back");?>">
<input type="submit" name="saveandexit" value="<?php echo get_lang("SaveAndExit");?>">
<input type="button" value="<?php echo get_lang('Preview');?>" onClick="preview('yesno','<?php echo $temp;?>','<?php echo $Multi; ?>')">
<input type="submit" name="next" value="<?php echo get_lang("Next");?>">
<input type="submit" name="next" value="<?php echo get_lang('Next');?>">
</div>
<!--this partcular field helps in identify the item to be add at the itemadd.php-->
</form>

@ -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) )
<input type="submit" name="update" value="<?php echo get_lang("Update");?>">
<!--<input name="preview" value="<?php echo get_lang("Preview");?>" type="submit" onClick="return changeAction()" > -->
<!--<input type="submit" name="next" value="<?php echo get_lang("Next");?>"> -->
<!--<input type="submit" name="next" value="<?php echo get_lang('Next');?>"> -->
</div>
<!--this partcular field helps in identify the item to be add at the itemadd.php-->
</form>

Loading…
Cancel
Save