Julio Montoya 15 years ago
parent
commit
b86cdb1d8c
98 changed files with 327 additions and 236 deletions
  1. 4 1
      documentation/changelog.html
  2. 57 78
      main/document/showinframes.php
  3. 26 4
      main/exercice/answer.class.php
  4. 135 85
      main/exercice/exercise.class.php
  5. 7 7
      main/exercice/exercise.lib.php
  6. 5 3
      main/exercice/exercise_result.php
  7. 2 2
      main/forum/forumfunction.inc.php
  8. 11 6
      main/inc/lib/add_course.lib.inc.php
  9. 2 0
      main/install/migrate-db-1.8.6.1-1.8.6.2-pre.sql
  10. 0 1
      main/lang/arabic/registration.inc.php
  11. 1 0
      main/lang/arabic/trad4all.inc.php
  12. 0 1
      main/lang/arabic_unicode/registration.inc.php
  13. 1 0
      main/lang/arabic_unicode/trad4all.inc.php
  14. 16 0
      main/lang/asturian/admin.inc.php
  15. 0 1
      main/lang/asturian/registration.inc.php
  16. 1 0
      main/lang/asturian/trad4all.inc.php
  17. 0 1
      main/lang/brazilian/registration.inc.php
  18. 1 0
      main/lang/brazilian/trad4all.inc.php
  19. 0 1
      main/lang/bulgarian/registration.inc.php
  20. 1 0
      main/lang/bulgarian/trad4all.inc.php
  21. 0 1
      main/lang/catalan/registration.inc.php
  22. 1 0
      main/lang/catalan/trad4all.inc.php
  23. 0 1
      main/lang/croatian/registration.inc.php
  24. 1 0
      main/lang/croatian/trad4all.inc.php
  25. 0 1
      main/lang/danish/registration.inc.php
  26. 1 0
      main/lang/danish/trad4all.inc.php
  27. 0 1
      main/lang/dutch/registration.inc.php
  28. 1 0
      main/lang/dutch/trad4all.inc.php
  29. 0 1
      main/lang/dutch_corporate/registration.inc.php
  30. 1 0
      main/lang/dutch_corporate/trad4all.inc.php
  31. 1 4
      main/lang/english/admin.inc.php
  32. 0 1
      main/lang/english/registration.inc.php
  33. 1 0
      main/lang/english/trad4all.inc.php
  34. 0 1
      main/lang/esperanto/registration.inc.php
  35. 1 0
      main/lang/esperanto/trad4all.inc.php
  36. 0 1
      main/lang/finnish/registration.inc.php
  37. 1 0
      main/lang/finnish/trad4all.inc.php
  38. 0 1
      main/lang/french/registration.inc.php
  39. 1 0
      main/lang/french/trad4all.inc.php
  40. 0 1
      main/lang/french_unicode/registration.inc.php
  41. 1 0
      main/lang/french_unicode/trad4all.inc.php
  42. 0 1
      main/lang/galician/registration.inc.php
  43. 1 0
      main/lang/galician/trad4all.inc.php
  44. 0 1
      main/lang/german/registration.inc.php
  45. 1 0
      main/lang/german/trad4all.inc.php
  46. 0 1
      main/lang/hungarian/registration.inc.php
  47. 1 0
      main/lang/hungarian/trad4all.inc.php
  48. 0 1
      main/lang/indonesian/registration.inc.php
  49. 1 0
      main/lang/indonesian/trad4all.inc.php
  50. 16 0
      main/lang/italian/admin.inc.php
  51. 0 1
      main/lang/italian/registration.inc.php
  52. 1 0
      main/lang/italian/trad4all.inc.php
  53. 0 1
      main/lang/latvian/registration.inc.php
  54. 1 0
      main/lang/latvian/trad4all.inc.php
  55. 0 1
      main/lang/lithuanian/registration.inc.php
  56. 1 0
      main/lang/lithuanian/trad4all.inc.php
  57. 0 1
      main/lang/macedonian/registration.inc.php
  58. 1 0
      main/lang/macedonian/trad4all.inc.php
  59. 0 1
      main/lang/norwegian/registration.inc.php
  60. 1 0
      main/lang/norwegian/trad4all.inc.php
  61. 0 2
      main/lang/persian/registration.inc.php
  62. 2 0
      main/lang/persian/trad4all.inc.php
  63. 0 1
      main/lang/polish/registration.inc.php
  64. 1 0
      main/lang/polish/trad4all.inc.php
  65. 2 0
      main/lang/portuguese/admin.inc.php
  66. 0 1
      main/lang/portuguese/registration.inc.php
  67. 1 0
      main/lang/portuguese/trad4all.inc.php
  68. 0 1
      main/lang/quechua_cusco/registration.inc.php
  69. 1 0
      main/lang/quechua_cusco/trad4all.inc.php
  70. 0 1
      main/lang/romanian/registration.inc.php
  71. 1 0
      main/lang/romanian/trad4all.inc.php
  72. 0 1
      main/lang/russian_unicode/registration.inc.php
  73. 1 0
      main/lang/russian_unicode/trad4all.inc.php
  74. 0 1
      main/lang/serbian/registration.inc.php
  75. 1 0
      main/lang/serbian/trad4all.inc.php
  76. 0 1
      main/lang/simpl_chinese/registration.inc.php
  77. 1 0
      main/lang/simpl_chinese/trad4all.inc.php
  78. 0 1
      main/lang/simpl_chinese_unicode/registration.inc.php
  79. 1 0
      main/lang/simpl_chinese_unicode/trad4all.inc.php
  80. 0 1
      main/lang/slovak/registration.inc.php
  81. 1 0
      main/lang/slovak/trad4all.inc.php
  82. 0 1
      main/lang/slovenian/registration.inc.php
  83. 1 0
      main/lang/slovenian/trad4all.inc.php
  84. 0 1
      main/lang/slovenian_unicode/registration.inc.php
  85. 1 0
      main/lang/slovenian_unicode/trad4all.inc.php
  86. 0 3
      main/lang/spanish/admin.inc.php
  87. 0 1
      main/lang/spanish/registration.inc.php
  88. 1 0
      main/lang/spanish/trad4all.inc.php
  89. 0 1
      main/lang/spanish_latin/registration.inc.php
  90. 1 0
      main/lang/spanish_latin/trad4all.inc.php
  91. 0 1
      main/lang/swedish/registration.inc.php
  92. 1 0
      main/lang/swedish/trad4all.inc.php
  93. 0 1
      main/lang/thai/registration.inc.php
  94. 1 0
      main/lang/thai/trad4all.inc.php
  95. 0 1
      main/lang/trad_chinese_unicode/registration.inc.php
  96. 1 0
      main/lang/trad_chinese_unicode/trad4all.inc.php
  97. 0 1
      main/lang/turkce/registration.inc.php
  98. 1 0
      main/lang/turkce/trad4all.inc.php

+ 4 - 1
documentation/changelog.html

@@ -50,11 +50,14 @@
   <li>User groups added  DT#5611 </li>  
   <li>Social network tab added</li>
   <li>Easy construction of presentations with the images of document tool</li>
+  <li>Upgrade from FCKEditor 2.6.4.1 to <strong>FCKEditor 2.6.5, Build 23959</strong> has been implemented. (#2867)</li>
+  <li>Settings WYSIWYG editor from Platform Admin Area</li>
+  <li>Upgrade html2pdf libray to 3.26</li>
+  <li>Upgrade mimetex to 1.71</li>
 
 </ul>
 <h3>Debugging</h3>
 <ul>
-  <li>Online editor: A upgrade from FCKEditor 2.6.4.1 to <strong>FCKEditor 2.6.5, Build 23959</strong> has been implemented. (#2867)</li>
   <li>Fixed a bug in course homepage always showing a box even when no tools were shown (r8747:3ad59f6aed1f)</li>
   <li>Score result in reporting is expressed as a percentage</li>
   <li>CSV export of reporting no longer contains html code in the last column</li>

+ 57 - 78
main/document/showinframes.php

@@ -104,89 +104,68 @@ $path_info= pathinfo($file_url_sys);
 <script language="javascript" src="<?= api_get_path(WEB_LIBRARY_PATH); ?>javascript/jquery.frameready.js"></script>
 
 
-	<script type="text/javascript">
-	// Fixes the content height of the frame	
-	var leftZoneHeightOccupied = 0;
-	var rightZoneHeightOccupied = 0;
-	var initialLeftZoneHeight = 0;
-	var initialRightZoneHeight = 0;
+<script type="text/javascript">
+	<!--
 	
 	var updateContentHeight = function() {
-		winHeight = (window.innerHeight != undefined ? window.innerHeight : document.documentElement.clientHeight);
-		
-		newLeftZoneHeight = winHeight - leftZoneHeightOccupied;		
-		
-		newRightZoneHeight = winHeight - rightZoneHeightOccupied;
-		if (newLeftZoneHeight <= initialLeftZoneHeight) {
-			newLeftZoneHeight = initialLeftZoneHeight;
-			newRightZoneHeight = newLeftZoneHeight + leftZoneHeightOccupied - rightZoneHeightOccupied;
-		}
-		if (newRightZoneHeight <= initialRightZoneHeight) {
-			newRightZoneHeight = initialRightZoneHeight;
-			newLeftZoneHeight = newRightZoneHeight + rightZoneHeightOccupied - leftZoneHeightOccupied;
-		}
-
-		document.getElementById('mainFrame').style.height = newRightZoneHeight + 'px';
-		if (document.body.clientHeight > winHeight) {
-			document.body.style.overflow = 'auto';
-		} else {
-			document.body.style.overflow = 'hidden';
-		}		
+		initialHeight = document.getElementById('headerFrame').offsetHeight; 
+		docHeight = document.body.clientHeight;
+		document.getElementById('mainFrame').style.height = (docHeight-initialHeight)+"px";						
 	};
-</script>	
-<?php
-  	 if (api_get_setting('show_glossary_in_documents') == 'ismanual') {	 	
-  	 	?>
-  		<script type="text/javascript">
-    	$(document).ready(function() {
-    	updateContentHeight();
-      	$.frameReady(function(){   
-	       //  	$("<div>I am a div courses</div>").prependTo("body");
-     
-	      }, "top.mainFrame",   
-	      { load: [   
-	      		{type:"script", id:"_fr1", src:"<?= api_get_path(WEB_LIBRARY_PATH); ?>javascript/jquery.js"},
-	            {type:"script", id:"_fr2", src:"<?= api_get_path(WEB_LIBRARY_PATH); ?>javascript/jquery.highlight.js"},
-	            {type:"script", id:"_fr3", src:"<?= api_get_path(WEB_LIBRARY_PATH); ?>fckeditor/editor/plugins/glossary/fck_glossary_manual.js"}
-	      	 ] 
-	      }
-	   
-	      );
-	      	window.onresize = updateContentHeight;
-	   }
-	   );
-</script>  	 	
-<?php
-  	 } elseif(api_get_setting('show_glossary_in_documents') == 'isautomatic') {
-?>
-	<script type="text/javascript">
-	    $(document).ready(function() {
-	    	updateContentHeight(); 
-	    		window.onresize = updateContentHeight;  
-	      $.frameReady(function(){   
-	       //  $("<div>I am a div courses</div>").prependTo("body");
-	     
-	      }, "top.mainFrame",   
-	      { load: [   
-	      		{type:"script", id:"_fr1", src:"<?= api_get_path(WEB_LIBRARY_PATH); ?>javascript/jquery.js"},
-	            {type:"script", id:"_fr2", src:"<?= api_get_path(WEB_LIBRARY_PATH); ?>javascript/jquery.highlight.js"},
-	            {type:"script", id:"_fr3", src:"<?= api_get_path(WEB_LIBRARY_PATH); ?>fckeditor/editor/plugins/glossary/fck_glossary_automatic.js"}
-	      	 ] 
-	      }	   
-	      );
-	   }
-	   );
-	</script>
-<?php
-  	 }
-?>  
+	
+	// Fixes the content height of the frame			
+	window.onload = function() {
+
+		updateContentHeight();
+				
+		//loads the glossary library		
+		<?php 	
+			if (api_get_setting('show_glossary_in_documents') == 'ismanual') {  	  	 	
+		  	 	?>		  	 	
+		    $(document).ready(function() {   
+		      $.frameReady(function(){   
+		       //  $("<div>I am a div courses</div>").prependTo("body");		     
+		      }, "top.mainFrame",   
+		      { load: [   
+		      		{type:"script", id:"_fr1", src:"<?= api_get_path(WEB_LIBRARY_PATH); ?>javascript/jquery.js"},
+		            {type:"script", id:"_fr2", src:"<?= api_get_path(WEB_LIBRARY_PATH); ?>javascript/jquery.highlight.js"},
+		            {type:"script", id:"_fr3", src:"<?= api_get_path(WEB_LIBRARY_PATH); ?>fckeditor/editor/plugins/glossary/fck_glossary_manual.js"}
+		      	 ] 
+		      }		   
+		      );
+		   });		   		  	 	
+		<?php
+		  	 } elseif(api_get_setting('show_glossary_in_documents') == 'isautomatic') {
+		?>		
+		    $(document).ready(function() {   
+		      $.frameReady(function(){   
+		       //  $("<div>I am a div courses</div>").prependTo("body");
+		     
+		      }, "top.mainFrame",   
+		      { load: [   
+		      		{type:"script", id:"_fr1", src:"<?= api_get_path(WEB_LIBRARY_PATH); ?>javascript/jquery.js"},
+		            {type:"script", id:"_fr2", src:"<?= api_get_path(WEB_LIBRARY_PATH); ?>javascript/jquery.highlight.js"},
+		            {type:"script", id:"_fr3", src:"<?= api_get_path(WEB_LIBRARY_PATH); ?>fckeditor/editor/plugins/glossary/fck_glossary_automatic.js"}
+		      	 ] 
+		      }
+		   
+		      );
+		   });
+		<?php
+		  	 }		  
+		?>
+	}
+	-->	
+</script>
 </head>
-<body>
-	<iframe border="0" frameborder="0" scrolling="no" style="width:100%;"   src="headerpage.php?file=<?php echo $file.'&amp;'.api_get_cidreq(); ?>"> </iframe>
+<body style="margin:0px;padding:0px" OnResize="updateContentHeight()">
+	<iframe border="0" frameborder="0" scrolling="no" style="width:100%;" id="headerFrame" src="headerpage.php?file=<?php echo $file.'&amp;'.api_get_cidreq(); ?>"> </iframe>
 	<?php
-		if (file_exists($file_url_sys)) {			
-		echo '<iframe border="0" frameborder="0" scrolling="no" height="100%" style="width:100%;"  id="mainFrame" name="mainFrame" src="'.$file_url_web.'?'.api_get_cidreq().'&rand='.mt_rand(1,10000).'"></iframe>';			
-	} else {			
+	if (file_exists($file_url_sys)) {
+		//echo '<div style="overflow:scroll">aca';			
+		echo '<iframe border="0" frameborder="0" scrolling="yes"  style="width:100%;"  id="mainFrame" name="mainFrame" src="'.$file_url_web.'?'.api_get_cidreq().'&rand='.mt_rand(1,10000).'"></iframe>';
+		//echo '</div>';			
+	} else {				
 		echo '<frame name="mainFrame" id="mainFrame" src=showinframes.php?nopages=1 />';
 	}
 	?>

+ 26 - 4
main/exercice/answer.class.php

@@ -80,7 +80,15 @@ class Answer
 		$this->cancel();
 
 		// fills arrays
-		$this->read();
+		Exercise::read($_REQUEST['exerciseId']);		
+		if($this->random_answers=='1')
+		{
+			$this->readOrderedBy('rand()', '');// randomize answers
+		}
+		else
+		{
+			$this->read(); // natural order
+		}
 	}
 
 	/**
@@ -114,7 +122,7 @@ class Answer
 		$questionId=$this->questionId;
 		//$answerType=$this->selectType();
 
-		$sql="SELECT id,answer,correct,comment,ponderation, position, hotspot_coordinates, hotspot_type, destination FROM
+		$sql="SELECT id,answer,correct,comment,ponderation, position, hotspot_coordinates, hotspot_type, destination, id_auto FROM
 		      $TBL_ANSWER WHERE question_id ='".Database::escape_string($questionId)."' ORDER BY position";
 
 		$result=Database::query($sql,__FILE__,__LINE__);
@@ -133,6 +141,7 @@ class Answer
 			$this->hotspot_coordinates[$i]=$object->hotspot_coordinates;
 			$this->hotspot_type[$i]=$object->hotspot_type;
 			$this->destination[$i]=$object->destination;
+			$this->autoId[$i]=$object->id_auto;
 			$i++;
 		}
 
@@ -161,7 +170,7 @@ class Answer
 		$questionId=$this->questionId;
 		//$answerType=$this->selectType();
 
-		$sql="SELECT answer,correct,comment,ponderation,position, hotspot_coordinates, hotspot_type,destination " .
+		$sql="SELECT answer,correct,comment,ponderation,position, hotspot_coordinates, hotspot_type, destination, id_auto " .
 				"FROM $TBL_ANSWER WHERE question_id='".Database::escape_string($questionId)."' " .
 				"ORDER BY $field $order";
 
@@ -178,13 +187,26 @@ class Answer
 			$this->weighting[$i]=$object->ponderation;
 			$this->position[$i]=$object->position;
 			$this->destination[$i]=$object->destination;
-
+			$this->autoId[$i]=$object->id_auto;
 			$i++;
 		}
 
 		$this->nbrAnswers=$i-1;
 	}
 
+
+	/**
+	 * returns the autoincrement id identificator
+	 *
+	 * @author - Juan Carlos Raña
+	 * @return - integer - answer num
+	 */
+	function selectAutoId($id)
+	{
+		return $this->autoId[$id];
+	}
+
+
 	/**
 	 * returns the number of answers in this question
 	 *

+ 135 - 85
main/exercice/exercise.class.php

@@ -19,15 +19,16 @@ class Exercise
 	var $sound;
 	var $type;
 	var $random;
+	var $random_answers;
 	var $active;
 	var $timeLimit;
 	var $attempts;
 	var $feedbacktype;
 	var $end_time;
-  var $start_time;
+  	var $start_time;
 	var $questionList;  // array with the list of this exercise's questions
 	var $results_disabled;
-  var $expired_time;
+  	var $expired_time;
 	/**
 	 * constructor of the class
 	 *
@@ -41,13 +42,14 @@ class Exercise
 		$this->sound='';
 		$this->type=1;
 		$this->random=0;
+		$this->random_answers=0;
 		$this->active=1;
 		$this->questionList=array();
 		$this->timeLimit = 0;
 		$this->end_time = '0000-00-00 00:00:00';
-    $this->start_time = '0000-00-00 00:00:00';
-    $this->results_disabled =1;
-    $this->expired_time = '0000-00-00 00:00:00';
+		$this->start_time = '0000-00-00 00:00:00';
+		$this->results_disabled =1;
+		$this->expired_time = '0000-00-00 00:00:00';
 	}
 
 	/**
@@ -68,7 +70,7 @@ class Exercise
 	    $TBL_QUESTIONS          = Database::get_course_table(TABLE_QUIZ_QUESTION);
     	#$TBL_REPONSES           = Database::get_course_table(TABLE_QUIZ_ANSWER);
 
-		$sql="SELECT title,description,sound,type,random,active, results_disabled, max_attempt,start_time,end_time,feedback_type,expired_time FROM $TBL_EXERCICES WHERE id='".Database::escape_string($id)."'";
+		$sql="SELECT title,description,sound,type,random, random_answers, active, results_disabled, max_attempt,start_time,end_time,feedback_type,expired_time FROM $TBL_EXERCICES WHERE id='".Database::escape_string($id)."'";
 		$result=Database::query($sql,__FILE__,__LINE__);
 
 		// if the exercise has been found
@@ -80,6 +82,7 @@ class Exercise
 			$this->sound=$object->sound;
 			$this->type=$object->type;
 			$this->random=$object->random;
+			$this->random_answers=$object->random_answers;
 			$this->active=$object->active;
 			$this->results_disabled =$object->results_disabled;
 			$this->attempts = $object->max_attempt;
@@ -231,6 +234,21 @@ class Exercise
 			return false;
 		}
 	}
+	
+	/**
+	 * returns random answers status.
+	 *
+	 * @author - Juan Carlos Raña
+	 */
+	function selectRandomAnswers()
+	{
+		
+		$this->random_answers;
+		
+		return $this->random_answers;
+	}	
+	
+	
 	/**
 	 * Same as isRandom() but has a name applied to values different than 0 or 1
 	 */
@@ -366,7 +384,6 @@ class Exercise
 		$this->feedbacktype=$feedback_type;
 	}
 
-
 	/**
 	 * changes the exercise description
 	 *
@@ -377,16 +394,18 @@ class Exercise
 	{
 		$this->description=$description;
 	}
-  /**
-   * changes the exercise description
-   *
-   * @author - Isaac flores
-   * @param - int The expired time of the quiz
-   */
-  function updateExpiredTime($expired_time)
-  {
-    $this->expired_time = $expired_time;
-  }
+	
+	/**
+	* changes the exercise expired_time
+	*
+	* @author - Isaac flores
+	* @param - int The expired time of the quiz
+	*/
+	function updateExpiredTime($expired_time)
+	{
+	$this->expired_time = $expired_time;
+	}
+	
 	/**
 	 * changes the exercise sound file
 	 *
@@ -460,6 +479,18 @@ class Exercise
 		$this->random=$random;
 	}
 
+
+	/**
+	 * sets to 0 if answers are not selected randomly
+	 * if answers are selected randomly
+	 * @author - Juan Carlos Raña
+	 * @param - integer $random_answers - random answers
+	 */
+	function updateRandomAnswers($random_answers)
+	{
+		$this->$random_answers = $random_answers;
+	}
+
 	/**
 	 * enables the exercise
 	 *
@@ -520,6 +551,7 @@ class Exercise
 		$attempts = $this->attempts;
 		$feedbacktype = $this->feedbacktype;
 		$random = $this->random;
+		$random_answers = $this->random_answers;
 		$active = $this->active;
 		$session_id = api_get_session_id();
     	$expired_time = $this->expired_time;
@@ -545,6 +577,7 @@ class Exercise
 						$sql .= ", sound='".Database::escape_string($sound)."',
 						type='".Database::escape_string($type)."',
 						random='".Database::escape_string($random)."',
+						random_answers='".Database::escape_string($random_answers)."',
 						active='".Database::escape_string($active)."',
 						feedback_type='".Database::escape_string($feedbacktype)."',
 						start_time='$start_time',end_time='$end_time',
@@ -576,7 +609,7 @@ class Exercise
 			$cond1=Database::escape_string(Security::remove_XSS($exercise));
 			$cond2=Database::escape_string(Security::remove_XSS(api_html_entity_decode($description),COURSEMANAGERLOWSECURITY));
 		}*/
-			$sql="INSERT INTO $TBL_EXERCICES (start_time, end_time, title, description, sound, type, random,active, results_disabled, max_attempt, feedback_type, expired_time, session_id)
+			$sql="INSERT INTO $TBL_EXERCICES (start_time, end_time, title, description, sound, type, random, random_answers,active, results_disabled, max_attempt, feedback_type, expired_time, session_id)
 					VALUES(
 						'$start_time','$end_time',
 						'".Database::escape_string($exercise)."',
@@ -584,6 +617,7 @@ class Exercise
 						'".Database::escape_string($sound)."',
 						'".Database::escape_string($type)."',
 						'".Database::escape_string($random)."',
+						'".Database::escape_string($random_answers)."',
 						'".Database::escape_string($active)."',
 						'".Database::escape_string($results_disabled)."',
 						'".Database::escape_string($attempts)."',
@@ -949,59 +983,65 @@ class Exercise
 			$random[] = FormValidator :: createElement ('static', 'help','help','<span style="font-style: italic;">'.get_lang('RandomQuestionsHelp').'</span>');
 			//$random[] = FormValidator :: createElement ('text', 'randomQuestions', null,null,'0');
 			$form -> addGroup($random,null,get_lang('RandomQuestions'),'<br />');
-
+			
+			//random answers
+			$radios_random_answers = array();
+			$radios_random_answers[] = FormValidator :: createElement ('radio', 'randomAnswers', null, get_lang('Yes'),'1');
+			$radios_random_answers[] = FormValidator :: createElement ('radio', 'randomAnswers', null, get_lang('No'),'0');
+			$form -> addGroup($radios_random_answers, null, get_lang('RandomAnswers'));
+			
+			//Attempts
 			$attempt_option=range(0,10);
-	    $attempt_option[0]=get_lang('Infinite');
-
-	    $form -> addElement('select', 'exerciseAttempts',get_lang('ExerciseAttempts'),$attempt_option);
-
-	    $form -> addElement('checkbox', 'enabletimelimit',get_lang('EnableTimeLimits'),null,'onclick = "  return timelimit() "');
-      $var= Exercise::selectTimeLimit();
+			$attempt_option[0]=get_lang('Infinite');
+	
+			$form -> addElement('select', 'exerciseAttempts',get_lang('ExerciseAttempts'),$attempt_option);
+	
+			$form -> addElement('checkbox', 'enabletimelimit',get_lang('EnableTimeLimits'),null,'onclick = "  return timelimit() "');
+		  	$var= Exercise::selectTimeLimit();
 
 			if(($this -> start_time!='0000-00-00 00:00:00')||($this -> end_time!='0000-00-00 00:00:00'))
 				$form -> addElement('html','<div id="options2" style="display:block;">');
 			else
 				$form -> addElement('html','<div id="options2" style="display:none;">');
 
-	    //$form -> addElement('date', 'start_time', get_lang('ExeStartTime'), array('language'=>'es','format' => 'dMYHi'));
-	    //$form -> addElement('date', 'end_time', get_lang('ExeEndTime'), array('language'=>'es','format' => 'dMYHi'));
-	    $form->addElement('datepicker', 'start_time', get_lang('ExeStartTime'), array('form_name'=>'exercise_admin'));
+	    	//$form -> addElement('date', 'start_time', get_lang('ExeStartTime'), array('language'=>'es','format' => 'dMYHi'));
+	    	//$form -> addElement('date', 'end_time', get_lang('ExeEndTime'), array('language'=>'es','format' => 'dMYHi'));
+	    	$form->addElement('datepicker', 'start_time', get_lang('ExeStartTime'), array('form_name'=>'exercise_admin'));
 			$form->addElement('datepicker', 'end_time', get_lang('ExeEndTime'), array('form_name'=>'exercise_admin'));
-       
-       
-      //$form -> addElement('select', 'enabletimercontroltotalminutes',get_lang('ExerciseTimerControlMinutes'),$time_minutes_option);
-      $form -> addElement('html','</div>');
+              
+     		//$form -> addElement('select', 'enabletimercontroltotalminutes',get_lang('ExerciseTimerControlMinutes'),$time_minutes_option);
+      		$form -> addElement('html','</div>');
       
 
-      	$check_option=$this -> selectType();
-//      var_dump($check_option);
+      		$check_option=$this -> selectType();
+			//      var_dump($check_option);
 
-	    if ($check_option==1 && isset($_GET['exerciseId'])) {
-	    	$diplay = 'none';
-	    } else {
-	    	$diplay = 'block';
-	    } 
+			if ($check_option==1 && isset($_GET['exerciseId'])) {
+				$diplay = 'none';
+			} else {
+				$diplay = 'block';
+			} 
       
-    $form -> addElement('html','<div id="divtimecontrol"  style="display:'.$diplay.';">');
+    		$form -> addElement('html','<div id="divtimecontrol"  style="display:'.$diplay.';">');
            
-      //Timer control
-      $time_hours_option = range(0,12);
-      $time_minutes_option = range(0,59);
-      $form -> addElement('checkbox', 'enabletimercontrol',get_lang('EnableTimerControl'),null,array('onclick' =>'option_time_expired()','id'=>'enabletimercontrol','onload'=>'check_load_time()'));      
-      $expired_date = (int)$this->selectExpiredTime();
-
-      if(($expired_date!='0')) {
-        $form -> addElement('html','<div id="timercontrol" style="display:block;">');
-      } else {
-        $form -> addElement('html','<div id="timercontrol" style="display:none;">');
-      }
+			//Timer control
+			$time_hours_option = range(0,12);
+			$time_minutes_option = range(0,59);
+			$form -> addElement('checkbox', 'enabletimercontrol',get_lang('EnableTimerControl'),null,array('onclick' =>'option_time_expired()','id'=>'enabletimercontrol','onload'=>'check_load_time()'));      
+			$expired_date = (int)$this->selectExpiredTime();
+
+			if(($expired_date!='0')) {
+			$form -> addElement('html','<div id="timercontrol" style="display:block;">');
+			} else {
+			$form -> addElement('html','<div id="timercontrol" style="display:none;">');
+			}
       	
-      	$form -> addElement('text', 'enabletimercontroltotalminutes',get_lang('ExerciseTotalDurationInMinutes'),array('style' => 'width : 35px','id' => 'enabletimercontroltotalminutes'));
-      $form -> addElement('html','</div>');
+			$form -> addElement('text', 'enabletimercontroltotalminutes',get_lang('ExerciseTotalDurationInMinutes'),array('style' => 'width : 35px','id' => 'enabletimercontroltotalminutes'));
+			$form -> addElement('html','</div>');
 			//$form -> addElement('text', 'exerciseAttempts', get_lang('ExerciseAttempts').' : ',array('size'=>'2'));        
-      
-      $form -> addElement('html','</div>');  //End advanced setting
-      $form -> addElement('html','</div>');  
+			
+			$form -> addElement('html','</div>');  //End advanced setting
+			$form -> addElement('html','</div>');  
                
 	        $defaults = array();
 
@@ -1053,6 +1093,7 @@ class Exercise
 				} else {
 					$defaults['randomQuestions'] = $this -> random;
 				}
+				$defaults['randomAnswers'] = $this ->selectRandomAnswers();
 				$defaults['exerciseType'] = $this -> selectType();
 				$defaults['exerciseTitle'] = $this -> selectTitle();
 				$defaults['exerciseDescription'] = $this -> selectDescription();
@@ -1064,20 +1105,21 @@ class Exercise
 	            	$defaults['enabletimelimit'] = 1;
 
 			    $defaults['start_time'] = ($this->start_time!='0000-00-00 00:00:00')? $this -> start_time : date('Y-m-d 12:00:00');
-	        $defaults['end_time'] = ($this->end_time!='0000-00-00 00:00:00')?$this -> end_time : date('Y-m-d 12:00:00',time()+84600);
+	        	$defaults['end_time'] = ($this->end_time!='0000-00-00 00:00:00')?$this -> end_time : date('Y-m-d 12:00:00',time()+84600);
           
-          //Get expired time
-          if($this -> expired_time != '0') {
-            $defaults['enabletimercontrol'] = 1;
-          	$defaults['enabletimercontroltotalminutes'] = $this -> expired_time;
-          } else {
-          	$defaults['enabletimercontroltotalminutes'] = 0;
-          }
+				//Get expired time
+				if($this -> expired_time != '0') {
+				$defaults['enabletimercontrol'] = 1;
+				$defaults['enabletimercontroltotalminutes'] = $this -> expired_time;
+				} else {
+				$defaults['enabletimercontroltotalminutes'] = 0;
+				}
                 
 			} else {
 				$defaults['exerciseType'] = 2;
 				$defaults['exerciseAttempts'] = 0;
 				$defaults['randomQuestions'] = 0;
+				$defaults['randomAnswers'] = 0;
 				$defaults['exerciseDescription'] = '';
 				$defaults['exerciseFeedbackType'] = 0;
 				$defaults['results_disabled'] = 0;
@@ -1110,44 +1152,52 @@ class Exercise
 		$this -> updateFeedbackType($form -> getSubmitValue('exerciseFeedbackType'));
 		$this -> updateType($form -> getSubmitValue('exerciseType'));
 		$this -> setRandom($form -> getSubmitValue('randomQuestions'));
+		$this -> updateRandomAnswers($form -> getSubmitValue('randomAnswers'));
 		$this -> updateResultsDisabled($form -> getSubmitValue('results_disabled'));
     	$this -> updateExpiredTime($form -> getSubmitValue('enabletimercontroltotalminutes'));
+		
 		if($form -> getSubmitValue('enabletimelimit')==1) {
            $start_time = $form -> getSubmitValue('start_time');
            $this->start_time = $start_time['Y'].'-'.$start_time['F'].'-'.$start_time['d'].' '.$start_time['H'].':'.$start_time['i'].':00';
            $end_time = $form -> getSubmitValue('end_time');
            $this->end_time = $end_time['Y'].'-'.$end_time['F'].'-'.$end_time['d'].' '.$end_time['H'].':'.$end_time['i'].':00';
-    } else {
+    	} else {
            $this->start_time = '0000-00-00 00:00:00';
            $this->end_time = '0000-00-00 00:00:00';
         }
 
-    if($form -> getSubmitValue('enabletimercontrol') == 1) {
-           $expired_total_time = $form -> getSubmitValue('enabletimercontroltotalminutes');
-           if ($this->expired_time == 0) {
-               $this->expired_time = $expired_total_time;                    	
-           }
-
-    } else {
-           $this->expired_time = 0;
+		if($form -> getSubmitValue('enabletimercontrol') == 1) {
+			   $expired_total_time = $form -> getSubmitValue('enabletimercontroltotalminutes');
+			   if ($this->expired_time == 0) {
+				   $this->expired_time = $expired_total_time;                    	
+			   }
+	
+		} else {
+			$this->expired_time = 0;
+		}
+		
+		if($form -> getSubmitValue('randomAnswers') == 1) {
+           $this->random_answers=1;
+    	} else {
+           $this->random_answers=0;
         }
-                
-        $this -> save($type);
+		
+		$this -> save($type);
 	}
 
-    function search_engine_save() {
-        if ($_POST['index_document'] != 1) {
-            return;
-        }
+	function search_engine_save() {
+		if ($_POST['index_document'] != 1) {
+			return;
+		}
 
-	    $course_id = api_get_course_id();
+		$course_id = api_get_course_id();
 
-	    require_once(api_get_path(LIBRARY_PATH) . 'search/DokeosIndexer.class.php');
-	    require_once(api_get_path(LIBRARY_PATH) . 'search/IndexableChunk.class.php');
-	    require_once(api_get_path(LIBRARY_PATH) . 'specific_fields_manager.lib.php');
+		require_once(api_get_path(LIBRARY_PATH) . 'search/DokeosIndexer.class.php');
+		require_once(api_get_path(LIBRARY_PATH) . 'search/IndexableChunk.class.php');
+		require_once(api_get_path(LIBRARY_PATH) . 'specific_fields_manager.lib.php');
 
-	    $specific_fields = get_specific_field_list();
-	    $ic_slide = new IndexableChunk();
+		$specific_fields = get_specific_field_list();
+		$ic_slide = new IndexableChunk();
 
 	    $all_specific_terms = '';
 	    foreach ($specific_fields as $specific_field) {

+ 7 - 7
main/exercice/exercise.lib.php

@@ -134,7 +134,7 @@ function showQuestion($questionId, $onlyAnswers=false, $origin=false,$current_it
 		for($answerId=1;$answerId <= $nbrAnswers;$answerId++) {
 			$answer=$objAnswerTmp->selectAnswer($answerId);
 			$answerCorrect=$objAnswerTmp->isCorrect($answerId);
-
+			$numAnswer=$objAnswerTmp->selectAutoId($answerId);
 			if($answerType == FILL_IN_BLANKS) {
 				// splits text and weightings that are joined with the character '::'
 				list($answer)=explode('::',$answer);
@@ -209,10 +209,10 @@ function showQuestion($questionId, $onlyAnswers=false, $origin=false,$current_it
 				 <td>
 				 	<div class='u-m-answer'>
 					<p style='float:left; padding-right:4px;'>
-					<span><input class='checkbox' type='radio' name='choice[".$questionId."]' value='".$answerId."'></p></span>";
-				$answer=api_parse_tex($answer);
-				$s.=strip_tags($answer);
-				$s.="</div></td></tr>";
+					<span><input class='checkbox' type='radio' name='choice[".$questionId."]' value='".$numAnswer."'></p></span>";
+                    $answer=api_parse_tex($answer);
+                    $s.=strip_tags($answer);
+                    $s.="</div></td></tr>";
 
 			} elseif($answerType == MULTIPLE_ANSWER) {
 			// multiple answers
@@ -221,7 +221,7 @@ function showQuestion($questionId, $onlyAnswers=false, $origin=false,$current_it
 				  <td>
 					 <div class='u-m-answer'>
 					 <p style='float:left; padding-right:4px;'>
-					 <span><input class='checkbox' type='checkbox' name='choice[".$questionId."][".$answerId."]' value='1'></p></span>";
+					 <span><input class='checkbox' type='checkbox' name='choice[".$questionId."][".$numAnswer."]' value='1'></p></span>";
 				$answer = api_parse_tex($answer);
 				$s.=strip_tags($answer);
 				$s.="</div></td></tr>";
@@ -234,7 +234,7 @@ function showQuestion($questionId, $onlyAnswers=false, $origin=false,$current_it
 			}
 			// free answer
 
-			// matching
+			// matching // TODO: replace $answerId by $numAnswer
 			else {
 				if(!$answerCorrect) {
 					// options (A, B, C, ...) that will be put into the list-box

+ 5 - 3
main/exercice/exercise_result.php

@@ -609,6 +609,8 @@ foreach ($questionList as $questionId) {
 		$answerComment=$objAnswerTmp->selectComment($answerId);
 		$answerCorrect=$objAnswerTmp->isCorrect($answerId);
 		$answerWeighting=$objAnswerTmp->selectWeighting($answerId);
+		$numAnswer=$objAnswerTmp->selectAutoId($answerId);
+		
 		switch ($answerType) {
 			// for unique answer
 			case UNIQUE_ANSWER :
@@ -616,7 +618,7 @@ foreach ($questionList as $questionId) {
 					// then give him the corresponding score
 					// (maybe a negative score, positive score or 0)
 					// Positive score should only be given when we are going over the right answer
-					$studentChoice=($choice == $answerId)?1:0;
+					$studentChoice=($choice == $numAnswer)?1:0;
 					if($studentChoice) {
 					  	$questionScore+=$answerWeighting;
 						$totalScore+=$answerWeighting;
@@ -624,7 +626,7 @@ foreach ($questionList as $questionId) {
 					break;
 			// for multiple answers
 			case MULTIPLE_ANSWER :
-					$studentChoice=$choice[$answerId];
+					$studentChoice=$choice[$numAnswer];
 					if($studentChoice) {
 						$questionScore+=$answerWeighting;
 						$totalScore+=$answerWeighting;
@@ -794,7 +796,7 @@ foreach ($questionList as $questionId) {
 
 
 					break;
-			// for matching
+			// for matching TODO: replace $answerId id by $numAnswer
 			case MATCHING :
 					if($answerCorrect)
 					{

+ 2 - 2
main/forum/forumfunction.inc.php

@@ -1941,11 +1941,11 @@ function show_add_post_form($action='', $id='', $form_values='') {
 		// thread qualify
 
 		$form->addElement('static','Group', '<br /><strong>'.get_lang('AlterQualifyThread').'</strong>');
-		$form->addElement('text', 'numeric_calification', get_lang('QualifyNumeric'),'Style="width:40px"');
 		$form->applyFilter('numeric_calification', 'html_filter');
 		$form->addElement('checkbox', 'thread_qualify_gradebook', '', get_lang('QualifyThreadGradebook'),'onclick="javascript:if(this.checked==true){document.getElementById(\'options_field\').style.display = \'block\';}else{document.getElementById(\'options_field\').style.display = \'none\';}"');
 
 		$form -> addElement('html','<div id="options_field" style="display:none">');
+		$form->addElement('text', 'numeric_calification', get_lang('QualifyNumeric'),'Style="width:40px"');
 		$form->addElement('text', 'calification_notebook_title', get_lang('TitleColumnGradebook'));
 		$form->applyFilter('calification_notebook_title', 'html_filter');
 		$form->addElement('text', 'weight_calification', get_lang('QualifyWeight'),'value="0.00" Style="width:40px" onfocus="this.select();"');
@@ -2372,7 +2372,6 @@ function show_edit_post_form($current_post, $current_thread, $current_forum, $fo
 
 	if (!isset($_GET['edit'])) {
 		$form->addElement('static','Group','<strong>'.get_lang('AlterQualifyThread').'</strong>');
-		$form->addElement('text', 'numeric_calification', get_lang('QualifyNumeric'),'value="'.$current_thread['thread_qualify_max'].'" Style="width:40px"');
 		$form->applyFilter('numeric_calification', 'html_filter');
 		$form->addElement('checkbox', 'thread_qualify_gradebook', '', get_lang('QualifyThreadGradebook'),'onclick="javascript:if(this.checked==true){document.getElementById(\'options_field\').style.display = \'block\';}else{document.getElementById(\'options_field\').style.display = \'none\';}"');
 		$defaults['thread_qualify_gradebook']=is_resource_in_course_gradebook(api_get_course_id(),5,$_GET['thread'],api_get_session_id());
@@ -2382,6 +2381,7 @@ function show_edit_post_form($current_post, $current_thread, $current_forum, $fo
 		} else {
 			$form -> addElement('html','<div id="options_field" style="display:none">');
 		}
+		$form->addElement('text', 'numeric_calification', get_lang('QualifyNumeric'),'value="'.$current_thread['thread_qualify_max'].'" Style="width:40px"');
 		$form->addElement('text', 'calification_notebook_title', get_lang('TitleColumnGradebook'),'value="'.$current_thread['thread_title_qualify'].'"');
 		$form->applyFilter('calification_notebook_title', 'html_filter');
 		$form->addElement('text', 'weight_calification', get_lang('QualifyWeight'),'value="'.$current_thread['thread_weight'].'" Style="width:40px"');

+ 11 - 6
main/inc/lib/add_course.lib.inc.php

@@ -636,6 +636,7 @@ function update_Db_course($courseDbName)
 		sound varchar(50) default NULL,
 		type tinyint unsigned NOT NULL default 1,
 		random smallint(6) NOT NULL default 0,
+		random_answers tinyint unsigned NOT NULL default 0,
 		active tinyint NOT NULL default 0,
 		results_disabled TINYINT UNSIGNED NOT NULL DEFAULT 0,
 		access_condition TEXT DEFAULT NULL,
@@ -681,10 +682,14 @@ function update_Db_course($courseDbName)
 	    hotspot_coordinates text,
 	    hotspot_type enum('square','circle','poly','delineation') default NULL,
 	    destination text NOT NULL,
-		PRIMARY KEY (id, question_id)
+		id_auto int NOT NULL AUTO_INCREMENT,		
+		PRIMARY KEY (id, question_id),
+		UNIQUE KEY id_auto (id_auto)
 		)";
 	Database::query($sql, __FILE__, __LINE__);
 
+
+
 	// Exercise tool - Test/question relations
 	$sql = "
 		CREATE TABLE `".$TABLEQUIZQUESTION . "` (
@@ -2251,12 +2256,12 @@ function fill_Db_course($courseDbName, $courseRepository, $language,$default_doc
 			Exercise tool
 		-----------------------------------------------------------
 		*/
-		Database::query("INSERT INTO `".$TABLEQUIZANSWERSLIST . "` VALUES ( '1', '1', '".lang2db(get_lang('Ridiculise')) . "', '0', '".lang2db(get_lang('NoPsychology')) . "', '-5', '1','','','')",__FILE__,__LINE__);
-		Database::query("INSERT INTO `".$TABLEQUIZANSWERSLIST . "` VALUES ( '2', '1', '".lang2db(get_lang('AdmitError')) . "', '0', '".lang2db(get_lang('NoSeduction')) . "', '-5', '2','','','')", __FILE__, __LINE__);
-		Database::query("INSERT INTO `".$TABLEQUIZANSWERSLIST . "` VALUES ( '3', '1', '".lang2db(get_lang('Force')) . "', '1', '".lang2db(get_lang('Indeed')) . "', '5', '3','','','')", __FILE__, __LINE__);
-		Database::query("INSERT INTO `".$TABLEQUIZANSWERSLIST . "` VALUES ( '4', '1', '".lang2db(get_lang('Contradiction')) . "', '1', '".lang2db(get_lang('NotFalse')) . "', '5', '4','','','')", __FILE__, __LINE__);
+		Database::query("INSERT INTO `".$TABLEQUIZANSWERSLIST . "` VALUES ( '1', '1', '".lang2db(get_lang('Ridiculise')) . "', '0', '".lang2db(get_lang('NoPsychology')) . "', '-5', '1','','','','')",__FILE__,__LINE__);
+		Database::query("INSERT INTO `".$TABLEQUIZANSWERSLIST . "` VALUES ( '2', '1', '".lang2db(get_lang('AdmitError')) . "', '0', '".lang2db(get_lang('NoSeduction')) . "', '-5', '2','','','','')", __FILE__, __LINE__);
+		Database::query("INSERT INTO `".$TABLEQUIZANSWERSLIST . "` VALUES ( '3', '1', '".lang2db(get_lang('Force')) . "', '1', '".lang2db(get_lang('Indeed')) . "', '5', '3','','','','')", __FILE__, __LINE__);
+		Database::query("INSERT INTO `".$TABLEQUIZANSWERSLIST . "` VALUES ( '4', '1', '".lang2db(get_lang('Contradiction')) . "', '1', '".lang2db(get_lang('NotFalse')) . "', '5', '4','','','','')", __FILE__, __LINE__);
 		$html=addslashes('<table width="100%" border="0" cellpadding="0" cellspacing="0"><tr><td width="110" valign="top" align="left"><img src="'.api_get_path(WEB_CODE_PATH).'default_course_document/images/mr_dokeos/thinking.jpg"></td><td valign="top" align="left">'.lang2db(get_lang('Antique')).'</td></tr></table>');
-		Database::query('INSERT INTO `'.$TABLEQUIZ . '` (title, description, type, random, active, results_disabled ) VALUES ("'.lang2db(get_lang('ExerciceEx')) . '", "'.$html.'", "1", "0", "1", "0")', __FILE__, __LINE__);
+		Database::query('INSERT INTO `'.$TABLEQUIZ . '` (title, description, type, random, random_answers, active, results_disabled ) VALUES ("'.lang2db(get_lang('ExerciceEx')) . '", "'.$html.'", "1", "0", "0", "1", "0")', __FILE__, __LINE__);
 		Database::query("INSERT INTO `".$TABLEQUIZQUESTIONLIST . "` (id, question, description, ponderation, position, type, picture, level) VALUES ( '1', '".lang2db(get_lang('SocraticIrony')) . "', '".lang2db(get_lang('ManyAnswers')) . "', '10', '1', '2','',1)", __FILE__, __LINE__);
 		Database::query("INSERT INTO `".$TABLEQUIZQUESTION . "` (question_id, exercice_id, question_order) VALUES (1,1,1)", __FILE__, __LINE__);
 

+ 2 - 0
main/install/migrate-db-1.8.6.1-1.8.6.2-pre.sql

@@ -93,3 +93,5 @@ ALTER TABLE group_category ADD COLUMN chat_state TINYINT DEFAULT 1, ADD INDEX (c
 ALTER TABLE student_publication ADD COLUMN weight float(6,2) UNSIGNED NOT NULL DEFAULT 0;
 ALTER TABLE course_description ADD COLUMN description_type TINYINT NOT NULL DEFAULT 0;
 ALTER TABLE dropbox_category ADD COLUMN session_id smallint NOT NULL DEFAULT 0, ADD INDEX (session_id);
+ALTER TABLE quiz ADD COLUMN random_answers TINYINT UNSIGNED NOT NULL DEFAULT 0 AFTER random;
+ALTER TABLE quiz_answer ADD COLUMN id_auto INT NOT NULL AUTO_INCREMENT, ADD UNIQUE INDEX (id_auto);

+ 0 - 1
main/lang/arabic/registration.inc.php

@@ -5,7 +5,6 @@ $langShouldBeCSVFormat = "  &#1604;&#1575; &#1578;&#1590;&#1610;&#1601; &#1601;&
 $langTracking = "&#1578;&#1578;&#1576;&#1617;&#1593;";
 $langEnter2passToChange = "&#1575;&#1583;&#1582;&#1604; &#1603;&#1604;&#1605;&#1577; &#1575;&#1604;&#1605;&#1585;&#1608;&#1585; &#1605;&#1585;&#1578;&#1610;&#1606; &#1604;&#1603;&#1610; &#1610;&#1605;&#1603;&#1606; &#1578;&#1594;&#1610;&#1585;&#1607;&#1575; &#1593;&#1583;&#1575; &#1584;&#1604;&#1603; &#1575;&#1578;&#1585;&#1603; &#1575;&#1604;&#1601;&#1574;&#1577; &#1601;&#1575;&#1585;&#1594;&#1577;";
 $langAuthInfo = "&#1575;&#1604;&#1578;&#1571;&#1603;&#1583; &#1605;&#1606; &#1589;&#1604;&#1575;&#1581;&#1610;&#1577; &#1575;&#1604;&#1583;&#1582;&#1608;&#1604;";
-$langDelImage = "&#1575;&#1581;&#1584;&#1601; &#1575;&#1604;&#1589;&#1608;&#1585;&#1577;";
 $langUpdateImage = "&#1594;&#1610;&#1585; &#1575;&#1604;&#1589;&#1608;&#1585;&#1577;";
 $langImageWrong = "&#1581;&#1580;&#1605; &#1575;&#1604;&#1605;&#1604;&#1601; &#1610;&#1580;&#1576; &#1575;&#1606; &#1610;&#1603;&#1608;&#1606; &#1575;&#1589;&#1594;&#1585; &#1605;&#1606;";
 $langAddImage = "&#1589;&#1608;&#1585;&#1577;";

+ 1 - 0
main/lang/arabic/trad4all.inc.php

@@ -26,6 +26,7 @@ $LoginName = "&#1575;&#1604;&#1583;&#1582;&#1608;&#1604;";
 $AutostartMp3 = "&#1575;&#1590;&#1594;&#1591; &#1605;&#1608;&#1575;&#1601;&#1602; &#1575;&#1584;&#1575; &#1603;&#1606;&#1578; &#1578;&#1585;&#1610;&#1583; &#1578;&#1588;&#1594;&#1610;&#1604; &#1575;&#1604;&#1605;&#1604;&#1601; &#1575;&#1604;&#1589;&#1608;&#1578;&#1610; &#1575;&#1608;&#1578;&#1608;&#1605;&#1575;&#1578;&#1610;&#1603;&#1610;&#1575;";
 $Assignments = "&#1575;&#1604;&#1608;&#1575;&#1580;&#1576;&#1575;&#1578;";
 $Forum = "&#1605;&#1606;&#1578;&#1583;&#1609;";
+$langDelImage = "&#1575;&#1581;&#1584;&#1601; &#1575;&#1604;&#1589;&#1608;&#1585;&#1577;";
 $langCode = "&#1585;&#1605;&#1586; &#1575;&#1604;&#1605;&#1602;&#1585;&#1585;";
 $langUp = "&#1601;&#1608;&#1602;";
 $Down = "&#1571;&#1587;&#1601;&#1604;";

+ 0 - 1
main/lang/arabic_unicode/registration.inc.php

@@ -5,7 +5,6 @@ $langShouldBeCSVFormat = "الملف يجب أن يكون بتنسيق CSV . ل
 $langTracking = "المتابعة";
 $langEnter2passToChange = "ادخل كلمة المرور مرتين لتغييرها. أو اترك الحقول فارغة ";
 $langAuthInfo = "التحقق ";
-$langDelImage = "إزالة صورة";
 $langUpdateImage = "تغيير صورة";
 $langImageWrong = "يجب أن يكون حجم الملف أقل من ";
 $langAddImage = "صورة";

+ 1 - 0
main/lang/arabic_unicode/trad4all.inc.php

@@ -26,6 +26,7 @@ $LoginName = " التسجيل";
 $AutostartMp3 = "اضغط على موافق إذا كنت ترغب في تشغيل الملف الصوتي تلقائياً";
 $Assignments = "نشرات الطلاب ";
 $Forum = "منتدى ";
+$langDelImage = "إزالة صورة";
 $langCode = "رمز المقرر";
 $langUp = "أعلى";
 $Down = "أسفل";

+ 16 - 0
main/lang/asturian/admin.inc.php

@@ -1101,4 +1101,20 @@ $UserTag = "Etiqueta d\'usuariu";
 $SelectSession = "Seleicionar sesión";
 $GroupPermissions = "Permisos del grupu";
 $SpecialCourse = "Cursu especial";
+$MathMimetexTitle = "Editor matemáticu mimeTEX";
+$MathMimetexComment = "Activar l\'editor matemáticu mimeTEX";
+$MathASCIImathMLTitle = "Editor matemáticu SCIImathML";
+$MathASCIImathMLComment = "Activar l\'editor matemáticu SCIImathML";
+$YoutubeForStudentsTitle = "Permitir a los escolinos inxertar videos de Youtube";
+$YoutubeForStudentsComment = "Activar la posibilidá de que los escolinos puedan inxertar videos de Youtube";
+$BlockCopyPasteForStudentsTitle = "Bloquiar a los escolinos copiar y pegar";
+$BlockCopyPasteForStudentsComment = "Bloquiar a los escolinos la posibilidá de copiar y pegar nel editor WYSIWYG";
+$MoreButtonsForMaximizedModeTitle = "Barres de botones estendíes";
+$MoreButtonsForMaximizedModeComment = "Activar les barres de botones estendíes cuando l\'editor WYSISYG ta masimizáu";
+$Editor = "Editor WYSIWYG";
+$GoToCourseAfterLoginTitle = "Dir direutamente al cursu dempués d\'identificase";
+$GoToCourseAfterLoginComment = "Cuando un usuariu te apuntáu sólamente nun cursu, dir direutamente al cursu dempués d\'identificase";
+$GroupList = "Llista de grupos";
+$AllowStudentsDownloadFoldersTitle = "Permitir a los escolinos baxar direutorios";
+$AllowStudentsDownloadFoldersComment = "Permitir a los escolinos empaquetar y baxar un direutoriu completu na ferramienta documentos";
 ?>

+ 0 - 1
main/lang/asturian/registration.inc.php

@@ -5,7 +5,6 @@ $langShouldBeCSVFormat = "L\'archivu tien de tar en formatu CSV. Nun ponga espac
 $langTracking = "Siguimientu";
 $langEnter2passToChange = "Pa cambiar la seña, escriba la nueva nestos dos campos. Si quier caltener l\'actual, nun escriba nada.";
 $langAuthInfo = "Identificación";
-$langDelImage = "Esborrar foto";
 $langUpdateImage = "Cambiar foto";
 $langImageWrong = "L\'archivu tien de tener un tamañu menor de ";
 $langAddImage = "Incluyir foto";

+ 1 - 0
main/lang/asturian/trad4all.inc.php

@@ -26,6 +26,7 @@ $LoginName = "Usuariu/a";
 $AutostartMp3 = "Calque Aceutar si quier que l\'archivu d\'audiu eche andar automáticamente";
 $Assignments = "Trabayos";
 $Forum = "Foru";
+$langDelImage = "Esborrar foto";
 $langCode = "Códigu del cursu";
 $langUp = "Subir";
 $Down = "Baxar";

+ 0 - 1
main/lang/brazilian/registration.inc.php

@@ -5,7 +5,6 @@ $langShouldBeCSVFormat = "O arquivo precisa estar no formato CSV. N
 $langTracking = "Acompanhamento";
 $langEnter2passToChange = "Informe a sua senha duas vezes para modificá-la. Caso não o queira, deixe os campos em branco.";
 $langAuthInfo = "Autenticação";
-$langDelImage = "Remover foto";
 $langUpdateImage = "Trocar foto";
 $langImageWrong = "O arquivo deve ser menor que";
 $langAddImage = "Foto";

+ 1 - 0
main/lang/brazilian/trad4all.inc.php

@@ -26,6 +26,7 @@ $LoginName = "Login";
 $AutostartMp3 = "Clique em OK se deseja que o arquivo de áudio toque automaticamente";
 $Assignments = "Trabalhos dos Estudantes";
 $Forum = "Fórum";
+$langDelImage = "Remover foto";
 $langCode = "Código do curso";
 $langUp = "Acima";
 $Down = "desce";

+ 0 - 1
main/lang/bulgarian/registration.inc.php

@@ -5,7 +5,6 @@ $langShouldBeCSVFormat = "&#1060;&#1072;&#1081;&#1083;&#1098;&#1090; &#1090;&#10
 $langTracking = "&#1055;&#1088;&#1077;&#1075;&#1083;&#1077;&#1076; &#1085;&#1072; &#1087;&#1086;&#1089;&#1077;&#1097;&#1077;&#1085;&#1080;&#1103;&#1090;&#1072;";
 $langEnter2passToChange = "&#1042;&#1098;&#1074;&#1077;&#1076;&#1077;&#1090;&#1077; &#1074;&#1072;&#1096;&#1072;&#1090;&#1072; &#1087;&#1072;&#1088;&#1086;&#1083;&#1072; &#1076;&#1074;&#1072; &#1087;&#1098;&#1090;&#1080;, &#1079;&#1072; &#1076;&#1072; &#1103; &#1089;&#1084;&#1077;&#1085;&#1080;&#1090;&#1077;.<br/>&#1054;&#1089;&#1090;&#1072;&#1074;&#1077;&#1090;&#1077; &#1076;&#1074;&#1077;&#1090;&#1077; &#1087;&#1086;&#1083;&#1077;&#1090;&#1072; &#1087;&#1088;&#1072;&#1079;&#1085;&#1080;, &#1072;&#1082;&#1086; &#1085;&#1077; &#1080;&#1089;&#1082;&#1072;&#1090;&#1077; &#1076;&#1072; &#1089;&#1084;&#1077;&#1085;&#1080;&#1090;&#1077; &#1087;&#1072;&#1088;&#1086;&#1083;&#1072;&#1090;&#1072;.";
 $langAuthInfo = "&#1040;&#1074;&#1090;&#1077;&#1085;&#1090;&#1080;&#1082;&#1072;&#1094;&#1080;&#1103;";
-$langDelImage = "&#1055;&#1088;&#1077;&#1084;&#1072;&#1093;&#1074;&#1072;&#1085;&#1077; &#1085;&#1072; &#1089;&#1085;&#1080;&#1084;&#1082;&#1072;&#1090;&#1072;";
 $langUpdateImage = "&#1057;&#1084;&#1103;&#1085;&#1072; &#1085;&#1072; &#1089;&#1085;&#1080;&#1084;&#1082;&#1072;&#1090;&#1072;";
 $langImageWrong = "&#1056;&#1072;&#1079;&#1084;&#1077;&#1088;&#1098;&#1090; &#1085;&#1072; &#1092;&#1072;&#1081;&#1083;&#1072; &#1090;&#1088;&#1103;&#1073;&#1074;&#1072; &#1076;&#1072; &#1077; &#1087;&#1086;-&#1084;&#1072;&#1083;&#1098;&#1082; &#1086;&#1090;";
 $langAddImage = "&#1057;&#1085;&#1080;&#1084;&#1082;&#1072;";

+ 1 - 0
main/lang/bulgarian/trad4all.inc.php

@@ -26,6 +26,7 @@ $LoginName = "&#1055;&#1086;&#1090;&#1088;&#1077;&#1073;&#1080;&#1090;&#1077;&#1
 $AutostartMp3 = "&#1048;&#1089;&#1082;&#1072;&#1090;&#1077; &#1083;&#1080; &#1072;&#1091;&#1076;&#1080;&#1086;-&#1092;&#1072;&#1081;&#1083;&#1098;&#1090; &#1076;&#1072; &#1089;&#1090;&#1072;&#1088;&#1090;&#1080;&#1088;&#1072; &#1072;&#1074;&#1090;&#1086;&#1084;&#1072;&#1090;&#1080;&#1095;&#1085;&#1086;?";
 $Assignments = "&#1047;&#1072;&#1076;&#1072;&#1095;&#1080;";
 $Forum = "&#1060;&#1086;&#1088;&#1091;&#1084;";
+$langDelImage = "&#1055;&#1088;&#1077;&#1084;&#1072;&#1093;&#1074;&#1072;&#1085;&#1077; &#1085;&#1072; &#1089;&#1085;&#1080;&#1084;&#1082;&#1072;&#1090;&#1072;";
 $langCode = "&#1050;&#1086;&#1076; &#1085;&#1072; &#1082;&#1091;&#1088;&#1089;&#1072;";
 $langUp = "&#1053;&#1072;&#1075;&#1086;&#1088;&#1077;";
 $Down = "&#1053;&#1072;&#1076;&#1086;&#1083;&#1091;";

+ 0 - 1
main/lang/catalan/registration.inc.php

@@ -5,7 +5,6 @@ $langShouldBeCSVFormat = "L\'arxiu ha d\'estar format CSV. No afegeixi espais. L
 $langTracking = "Seguiment";
 $langEnter2passToChange = "Per a canviar la contrasenya, introdueixi la nova contrasenya en aquests dos camps. Si desitja mantenir l\'actual, deixi buits els dos camps. ";
 $langAuthInfo = "Autentificació";
-$langDelImage = "Eliminar foto";
 $langUpdateImage = "Canviar foto";
 $langImageWrong = "L\'arxiu ha de tenir una grandària menor de ";
 $langAddImage = "Incloure foto";

+ 1 - 0
main/lang/catalan/trad4all.inc.php

@@ -26,6 +26,7 @@ $LoginName = "Nom d\'usuari";
 $AutostartMp3 = "Pressioni Acceptar si desitja que l\'arxiu d\'àudio es reprodueixi automàticament";
 $Assignments = "Assignments";
 $Forum = "Forum";
+$langDelImage = "Eliminar foto";
 $langCode = "Codi del curs";
 $langUp = "Amunt";
 $Down = "Avall";

+ 0 - 1
main/lang/croatian/registration.inc.php

@@ -5,7 +5,6 @@ $langShouldBeCSVFormat = "Datoteka treba biti formata CSV. Ne dodavajte razmake.
 $langTracking = "Pra&#263;enje";
 $langEnter2passToChange = "Unesite zaporku dvaput kako biste je promijenili. U suprotnome ostavite polja praznima.";
 $langAuthInfo = "Autentifikacija";
-$langDelImage = "Ukloni sliku";
 $langUpdateImage = "Izmijeni sliku";
 $langImageWrong = "Veli&#269;ina datoteke treba biti manja od";
 $langAddImage = "Slika";

+ 1 - 0
main/lang/croatian/trad4all.inc.php

@@ -26,6 +26,7 @@ $LoginName = "Korisni&#269;ko ime";
 $AutostartMp3 = "Odaberite OK ukoliko želite pokrenuti audio datoteku automatski";
 $Assignments = "Studentski radovi";
 $Forum = "Forum";
+$langDelImage = "Ukloni sliku";
 $langCode = "Šifra kolegija";
 $langUp = "Gore";
 $Down = "dolje";

+ 0 - 1
main/lang/danish/registration.inc.php

@@ -5,7 +5,6 @@ $langShouldBeCSVFormat = "Filen ska v
 $langTracking = "Statistik";
 $langEnter2passToChange = "Indtast dit adgangskode to gange for at ændre det. Hvis ikke, skal du lade felterne stå tomme.";
 $langAuthInfo = "Godkendelse";
-$langDelImage = "Fjern billede";
 $langUpdateImage = "Ændre billede";
 $langImageWrong = "Filstørrelsen skal være mindre end";
 $langAddImage = "Billede";

+ 1 - 0
main/lang/danish/trad4all.inc.php

@@ -26,6 +26,7 @@ $LoginName = "Login";
 $AutostartMp3 = "Klik på ok, hvis audio-filen skal afspilles automatisk ";
 $Assignments = "Afleveringer";
 $Forum = "Forum";
+$langDelImage = "Fjern billede";
 $langCode = "Kursuskode";
 $langUp = "op";
 $Down = "ned";

+ 0 - 1
main/lang/dutch/registration.inc.php

@@ -5,7 +5,6 @@ $langShouldBeCSVFormat = "Het bestand moet in CSV-formaat zijn. Voeg geen spatie
 $langTracking = "Statistieken";
 $langEnter2passToChange = "Nieuw wachtwoord tweemaal invullen, of blanco laten om het huidige te behouden.";
 $langAuthInfo = "Authenticatie";
-$langDelImage = "Verwijder foto";
 $langUpdateImage = "Wijzig foto";
 $langImageWrong = "De bestandsgrootte voor de foto moet kleiner zijn dan";
 $langAddImage = "Foto";

+ 1 - 0
main/lang/dutch/trad4all.inc.php

@@ -26,6 +26,7 @@ $LoginName = "Gebruikersnaam";
 $AutostartMp3 = "Druk OK als u het audiobestand automatisch wilt laten afspelen";
 $Assignments = "Opdrachten";
 $Forum = "Forum";
+$langDelImage = "Verwijder foto";
 $langCode = "Cursuscode";
 $langUp = "Hoger niveau";
 $Down = "omlaag";

+ 0 - 1
main/lang/dutch_corporate/registration.inc.php

@@ -5,7 +5,6 @@ $langShouldBeCSVFormat = "Het bestand moet in CSV-formaat zijn. Voeg geen spatie
 $langTracking = "Statistieken";
 $langEnter2passToChange = "Nieuw wachtwoord tweemaal invullen, of blanco laten om het huidige te behouden.";
 $langAuthInfo = "Authenticatie";
-$langDelImage = "Verwijder foto";
 $langUpdateImage = "Wijzig foto";
 $langImageWrong = "De bestandsgrootte voor de foto moet kleiner zijn dan";
 $langAddImage = "Foto";

+ 1 - 0
main/lang/dutch_corporate/trad4all.inc.php

@@ -26,6 +26,7 @@ $LoginName = "Gebruikersnaam";
 $AutostartMp3 = "Druk OK als u het audiobestand automatisch wilt laten afspelen";
 $Assignments = "Gebruikerspublicaties";
 $Forum = "Forum";
+$langDelImage = "Verwijder foto";
 $langCode = "Modulecode";
 $langUp = "Hoger niveau";
 $Down = "omlaag";

+ 1 - 4
main/lang/english/admin.inc.php

@@ -1100,9 +1100,6 @@ $SendEmailToAdminComment = "Send an email to administardor of the platform, each
 $UserTag = "User tag";
 $SelectSession = "Select session";
 $GroupPermissions = "Group Permissions";
-$MessagesSent = "Messages sent";
-$MessagesReceived = "Messages received";
-$CountFriends = "Number of friends";
 $SpecialCourse = "Special course";
 $MathMimetexTitle = "mimeTEX mathematical editor";
 $MathMimetexComment = "Enable mimeTeX mathematical editor";
@@ -1119,5 +1116,5 @@ $GoToCourseAfterLoginTitle = "Go directly to the course after login";
 $GoToCourseAfterLoginComment = "When a user is registered in one course, go directly to the course after login";
 $GroupList = "Group List";
 $AllowStudentsDownloadFoldersTitle = "Allow students to download directories";
-$AllowStudentsDownloadFoldersComment = "Allow to students pack and download a complete directory in the document tool";
+$AllowStudentsDownloadFoldersComment = "Permitir a los estudiantes empaquetar y descargar un directorio completo en la herramienta documentos";
 ?>

+ 0 - 1
main/lang/english/registration.inc.php

@@ -5,7 +5,6 @@ $langShouldBeCSVFormat = "File should be CSV format. Do not add spaces. Structur
 $langTracking = "Reporting";
 $langEnter2passToChange = "To change your password, enter your current password in the field above and your new password in both fields below. To maintain the current password, leave the three fields empty.";
 $langAuthInfo = "Authentication";
-$langDelImage = "Remove picture";
 $langUpdateImage = "Change picture";
 $langImageWrong = "The file size should be smaller than";
 $langAddImage = "Picture";

+ 1 - 0
main/lang/english/trad4all.inc.php

@@ -26,6 +26,7 @@ $LoginName = "Login";
 $AutostartMp3 = "Do you want audio file to START automatically?";
 $Assignments = "Assignments";
 $Forum = "Forum";
+$langDelImage = "Remove picture";
 $langCode = "Training code";
 $langUp = "Up";
 $Down = "down";

+ 0 - 1
main/lang/esperanto/registration.inc.php

@@ -5,7 +5,6 @@ $langShouldBeCSVFormat = "La dosiero estu CSV-formata. Ne enmetu spacetojn. La s
 $langTracking = "Statistikoj ";
 $langEnter2passToChange = "Dufoje enigi novan pasvorton, a&#365; enigi nenion por konservi vian aktualan";
 $langAuthInfo = "A&#365;tentikigo ";
-$langDelImage = "Forigi foton ";
 $langUpdateImage = "&#348;an&#285;i foton ";
 $langImageWrong = "La grando de la foto estu maksimume ";
 $langAddImage = "Foto ";

+ 1 - 0
main/lang/esperanto/trad4all.inc.php

@@ -24,6 +24,7 @@ $Language = "Lingvo";
 $LoginName = "Uzula nomo";
 $Assignments = "Studentaj publika&#309;oj ";
 $Forum = "Forumo ";
+$langDelImage = "Forigi foton ";
 $langCode = "Kurskodo ";
 $langUp = "Pli alta nivelo";
 $Down = "malsupren";

+ 0 - 1
main/lang/finnish/registration.inc.php

@@ -3,7 +3,6 @@ for more information: see languages.txt in the lang folder.
 */
 $langTracking = "Seuranta";
 $langEnter2passToChange = "Vaihtaaksesi salasanasi syötä se kaksi kertaa. Muussa tapauksessa jätä kentät tyhjiksi.";
-$langDelImage = "Poista kuva";
 $langUpdateImage = "Vaihda kuva";
 $langImageWrong = "Tiedoston koon pitäisi olla pienempi kuin";
 $langAddImage = "Kuva";

+ 1 - 0
main/lang/finnish/trad4all.inc.php

@@ -26,6 +26,7 @@ $LoginName = "Kirjaudu";
 $AutostartMp3 = "Haluatko että ääni soitetaan automaattisesti?";
 $Assignments = "Oppilaan tehtävät";
 $Forum = "Keskustelualue";
+$langDelImage = "Poista kuva";
 $langCode = "Kurssikoodi";
 $langUp = "Ylös";
 $Down = "alas";

+ 0 - 1
main/lang/french/registration.inc.php

@@ -5,7 +5,6 @@ $langShouldBeCSVFormat = "Le fichier devrait 
 $langTracking = "Suivi";
 $langEnter2passToChange = "La saisie du nouveau mot de passe ainsi que sa confirmation sont nécessaires en cas de modification de votre mot de passe. <br />Dans tous les autres cas, laissez ces deux champs vides.";
 $langAuthInfo = "Paramètres de connexion";
-$langDelImage = "Supprimer la photo";
 $langUpdateImage = "Changer de photo";
 $langImageWrong = "La taille de l\'image doit être inférieure à";
 $langAddImage = "Photo";

+ 1 - 0
main/lang/french/trad4all.inc.php

@@ -26,6 +26,7 @@ $LoginName = "Login";
 $AutostartMp3 = "Cliquez sur Ok pour que le son demarre automatiquement. Cliquez sur Annuler pour que le son demarre quand on cliquera sur Play.";
 $Assignments = "Travaux";
 $Forum = "Forums";
+$langDelImage = "Supprimer la photo";
 $langCode = "Code";
 $langUp = "Monter";
 $Down = "descendre";

+ 0 - 1
main/lang/french_unicode/registration.inc.php

@@ -5,7 +5,6 @@ $langShouldBeCSVFormat = "Le fichier devrait être au format CSV. N\'ajoutez pas
 $langTracking = "Suivi";
 $langEnter2passToChange = "La saisie du nouveau mot de passe ainsi que sa confirmation sont nécessaires en cas de modification de votre mot de passe. <br />Dans tous les autres cas, laissez ces deux champs vides.";
 $langAuthInfo = "Paramètres de connexion";
-$langDelImage = "Supprimer la photo";
 $langUpdateImage = "Changer de photo";
 $langImageWrong = "La taille du fichier doit être inférieure à";
 $langAddImage = "Ajoutez une photo";

+ 1 - 0
main/lang/french_unicode/trad4all.inc.php

@@ -26,6 +26,7 @@ $LoginName = "Identifiant";
 $AutostartMp3 = "Cliquez ok si vous souhaitez le démarrage automatique du fichier audio";
 $Assignments = "Travaux";
 $Forum = "Forums";
+$langDelImage = "Supprimer la photo";
 $langCode = "Code cours";
 $langUp = "Monter";
 $Down = "descendre";

+ 0 - 1
main/lang/galician/registration.inc.php

@@ -5,7 +5,6 @@ $langShouldBeCSVFormat = "O arquivo debe estar en formato CSV. Non engada espazo
 $langTracking = "Seguimento";
 $langEnter2passToChange = "Introuduce o teu contrasinal dúas veces para cambialo. Se non queres cambialo, deixa o espazo en branco.";
 $langAuthInfo = "Autentificación";
-$langDelImage = "Borrar imaxe";
 $langUpdateImage = "Cambiar imaxe";
 $langImageWrong = "O ficheiro coa imaxe debe ser menor de";
 $langAddImage = "Engadir foto";

+ 1 - 0
main/lang/galician/trad4all.inc.php

@@ -26,6 +26,7 @@ $LoginName = "Nome de usuario";
 $AutostartMp3 = "Pulse OK se desexa que o arquivo de audio se reproduza automaticamente.";
 $Assignments = "Tarefas dos estudantes";
 $Forum = "Foro";
+$langDelImage = "Borrar imaxe";
 $langCode = "Código do curso";
 $langUp = "Subir";
 $Down = "Descargar";

+ 0 - 1
main/lang/german/registration.inc.php

@@ -5,7 +5,6 @@ $langShouldBeCSVFormat = "Die Datei sollte CSV-formatiert sein. F
 $langTracking = "Tracking";
 $langEnter2passToChange = "Wenn Sie Ihr Passwort ändern möchten, geben Sie das neue Passwort bitte zweimal ein. Andernfalls lassen Sie diese Felder einfach frei.";
 $langAuthInfo = "Authentifizierung";
-$langDelImage = "Bild entfernen";
 $langUpdateImage = "Bild ändern";
 $langImageWrong = "Die Dateigröße sollte geringer sein als";
 $langAddImage = "Bild";

+ 1 - 0
main/lang/german/trad4all.inc.php

@@ -26,6 +26,7 @@ $LoginName = "Login";
 $AutostartMp3 = "Klick OK, wenn die Audio Datei automatisch abgespielt werden soll";
 $Assignments = "Unterlagen der Teilnehmer/innen";
 $Forum = "Foren";
+$langDelImage = "Bild entfernen";
 $langCode = "Kurscode";
 $langUp = "nach oben";
 $Down = "nach unten";

+ 0 - 1
main/lang/hungarian/registration.inc.php

@@ -5,7 +5,6 @@ $langShouldBeCSVFormat = "A f
 $langTracking = "Naplózás";
 $langEnter2passToChange = "Írja be kétszer jelszavát a megváltoztatásához. Hagyja üresen a mez&#337;ket, ha nem kívánja megváltoztatni jelszavát.";
 $langAuthInfo = "Ellen&#337;rzés";
-$langDelImage = "Kép eltávolítása";
 $langUpdateImage = "Kép cseréje";
 $langImageWrong = "A fájl mérte nem lehet nagyobb, mint";
 $langAddImage = "Kép";

+ 1 - 0
main/lang/hungarian/trad4all.inc.php

@@ -26,6 +26,7 @@ $LoginName = "Azonos
 $AutostartMp3 = "Kattintson az OK-ra, ha azt szeretné, hogy a hangfájl lejátszása automatikusan elinduljon";
 $Assignments = "Hallgatói publikációk";
 $Forum = "Fórum";
+$langDelImage = "Kép eltávolítása";
 $langCode = "Kurzus kód";
 $langUp = "Fel";
 $Down = "le";

+ 0 - 1
main/lang/indonesian/registration.inc.php

@@ -5,7 +5,6 @@ $langShouldBeCSVFormat = "File haru dalam format CSV. Jangan tambah spasi. Struk
 $langTracking = "Tracking";
 $langEnter2passToChange = "Masukkan password dua kali untuk merubahnya.  Jika tidak ingin merubah, biarkan kosong.";
 $langAuthInfo = "Autentikasi";
-$langDelImage = "Hapus foto";
 $langUpdateImage = "Ubah foto";
 $langImageWrong = "Ukuran file harus lebih kecil dari";
 $langAddImage = "Foto";

+ 1 - 0
main/lang/indonesian/trad4all.inc.php

@@ -24,6 +24,7 @@ $Language = "Bahasa";
 $LoginName = "Login";
 $Assignments = "Tugas-tugas";
 $Forum = "Forum";
+$langDelImage = "Hapus foto";
 $langCode = "Kode Mata Kuliah";
 $langUp = "Ke Atas";
 $Down = "turun";

+ 16 - 0
main/lang/italian/admin.inc.php

@@ -1101,4 +1101,20 @@ $UserTag = "Etichetta utente";
 $SelectSession = "Seleziona la sessione";
 $GroupPermissions = "Permessi del gruppo";
 $SpecialCourse = "Corso speciale";
+$MathMimetexTitle = "Editor matematico mimeTeX";
+$MathMimetexComment = "Abilita l\'editor matematico mimeTeX";
+$MathASCIImathMLTitle = "Editor matematico ASCIIMathML";
+$MathASCIImathMLComment = "Abilita\'editor matematico ASCIIMathML";
+$YoutubeForStudentsTitle = "Permetti ai corsisti di inserire video da YouTube";
+$YoutubeForStudentsComment = "Abilita la possibilità per i corsisti di inserire video da YouTube";
+$BlockCopyPasteForStudentsTitle = "Disabilita il copia/incolla per i corsisti";
+$BlockCopyPasteForStudentsComment = "Disabilita la possibilità di usare le funzioni Copia/Incolla da parte dei corsisti nell\'editor WYSIWYG";
+$MoreButtonsForMaximizedModeTitle = "Barra degli strumenti estesa";
+$MoreButtonsForMaximizedModeComment = "La barra degli strumenti dell\'editor WYSIWYG conterrà più opzioni";
+$Editor = "Editor WYSIWYG";
+$GoToCourseAfterLoginTitle = "Entra direttamente nel corso dopo l\'accesso alla piattaforma";
+$GoToCourseAfterLoginComment = "Se l\'utente è iscritto ad un solo corso, potà entrare immediatamente nel corso dopo l\'accesso";
+$GroupList = "Elenco dei gruppi";
+$AllowStudentsDownloadFoldersTitle = "Permetti il download delle directory da parte dei corsisti";
+$AllowStudentsDownloadFoldersComment = "I corsisti potranno scaricare una versione compressa di intere directory nella sezione Documenti";
 ?>

+ 0 - 1
main/lang/italian/registration.inc.php

@@ -5,7 +5,6 @@ $langShouldBeCSVFormat = "Il file deve essere in formato CSV. Non aggiungere spa
 $langTracking = "Statistiche";
 $langEnter2passToChange = "Inserisci due volte la password per cambiarla. Altrimenti, lascia i campi vuoti.";
 $langAuthInfo = "Autenticazione";
-$langDelImage = "Elimina immagine";
 $langUpdateImage = "Cambia immagine";
 $langImageWrong = "La dimensione del file deve essere minore di";
 $langAddImage = "Immagine";

+ 1 - 0
main/lang/italian/trad4all.inc.php

@@ -26,6 +26,7 @@ $LoginName = "Nome utente";
 $AutostartMp3 = "Premi OK se desideri far partire il brano al caricamento";
 $Assignments = "Elaborati";
 $Forum = "Forum";
+$langDelImage = "Elimina immagine";
 $langCode = "Codice del Corso";
 $langUp = "Risali";
 $Down = "giù";

+ 0 - 1
main/lang/latvian/registration.inc.php

@@ -5,7 +5,6 @@ $langShouldBeCSVFormat = "Failam j&#257;b&#363;t CSV form&#257;t&#257;. Nepievie
 $langTracking = "Sekot l&#299;dz";
 $langEnter2passToChange = "Ievadiet paroli divreiz, lai veiktu t&#257;s mai&#326;u. Ja nev&#275;laties to dar&#299;t, atst&#257;jiet lauci&#326;us tukšus.";
 $langAuthInfo = "Autoriz&#275;šan&#257;s";
-$langDelImage = "Dz&#275;st att&#275;lu";
 $langUpdateImage = "Main&#299;t &#291;&#299;metni";
 $langImageWrong = "Dokumenta izm&#275;ram j&#257;b&#363;t maz&#257;kam par";
 $langAddImage = "Att&#275;ls";

+ 1 - 0
main/lang/latvian/trad4all.inc.php

@@ -24,6 +24,7 @@ $Language = "Valoda";
 $LoginName = "lietot&#257;jv&#257;rds";
 $Assignments = "Studentu publik&#257;cijas";
 $Forum = "Diskusija";
+$langDelImage = "Dz&#275;st att&#275;lu";
 $langCode = "Kursa kods";
 $langUp = "Augšup";
 $Down = "Lejup";

+ 0 - 1
main/lang/lithuanian/registration.inc.php

@@ -5,7 +5,6 @@ $langShouldBeCSVFormat = "Failas turi buti CSV formato. Napalikite tarpų. Struk
 $langTracking = "Įvertinimų sekimas";
 $langEnter2passToChange = "Keisdami įveskite savo slaptažodį dukart. Kitaip palikite šiuos laukus tuščius.";
 $langAuthInfo = "Autentifikacija";
-$langDelImage = "Pašalinti nuotrauką";
 $langUpdateImage = "Pakeisti nuotrauką";
 $langImageWrong = "Failo dydis turi buti mažesnis negu";
 $langAddImage = "Nuotrauka";

+ 1 - 0
main/lang/lithuanian/trad4all.inc.php

@@ -25,6 +25,7 @@ $Language = "Kalba";
 $LoginName = "Prisijungimo vardas";
 $Assignments = "Studentų publikacijos";
 $Forum = "Forumas";
+$langDelImage = "Pašalinti nuotrauką";
 $langCode = "Course code";
 $langUp = "Aukštyn";
 $Down = "žemyn";

+ 0 - 1
main/lang/macedonian/registration.inc.php

@@ -5,7 +5,6 @@ $langShouldBeCSVFormat = "&#1044;&#1072;&#1090;&#1086;&#1090;&#1077;&#1082;&#107
 $langTracking = "&#1057;&#1083;&#1077;&#1076;&#1077;&#1114;&#1077;";
 $langEnter2passToChange = "&#1042;&#1085;&#1077;&#1089;&#1077;&#1090;&#1077; &#1112;&#1072; &#1074;&#1072;&#1096;&#1072;&#1090;&#1072; &#1083;&#1086;&#1079;&#1080;&#1085;&#1082;&#1072; &#1076;&#1074;&#1072;&#1087;&#1072;&#1090;&#1080; &#1079;&#1072; &#1076;&#1072; &#1112;&#1072; &#1087;&#1088;&#1086;&#1084;&#1077;&#1085;&#1080;&#1090;&#1077;. &#1042;&#1086; &#1089;&#1087;&#1088;&#1086;&#1090;&#1080;&#1074;&#1085;&#1086;, &#1086;&#1089;&#1090;&#1072;&#1074;&#1077;&#1090;&#1077; &#1075;&#1080; &#1087;&#1086;&#1083;&#1080;&#1114;&#1072;&#1090;&#1072; &#1087;&#1088;&#1072;&#1079;&#1085;&#1080;.";
 $langAuthInfo = "&#1055;&#1088;&#1086;&#1074;&#1077;&#1088;&#1082;&#1072; &#1085;&#1072; &#1072;&#1074;&#1090;&#1077;&#1085;&#1090;&#1080;&#1095;&#1085;&#1086;&#1089;&#1090;&#1072;";
-$langDelImage = "&#1054;&#1090;&#1089;&#1090;&#1088;&#1072;&#1085;&#1080; &#1112;&#1072; &#1089;&#1083;&#1080;&#1082;&#1072;&#1090;&#1072;";
 $langUpdateImage = "&#1055;&#1088;&#1086;&#1084;&#1077;&#1085;&#1080; &#1112;&#1072; &#1089;&#1083;&#1080;&#1082;&#1072;&#1090;&#1072;";
 $langImageWrong = "&#1043;&#1086;&#1077;&#1084;&#1080;&#1085;&#1072;&#1090;&#1072; &#1085;&#1072; &#1076;&#1072;&#1090;&#1086;&#1090;&#1077;&#1082;&#1072;&#1090;&#1072; &#1090;&#1088;&#1077;&#1073;&#1072; &#1076;&#1072; &#1077; &#1087;&#1086;&#1084;&#1072;&#1083;&#1072; &#1086;&#1076;";
 $langAddImage = "&#1057;&#1083;&#1080;&#1082;&#1072;";

+ 1 - 0
main/lang/macedonian/trad4all.inc.php

@@ -25,6 +25,7 @@ $Language = "&#1032;&#1072;&#1079;&#1080;&#1082;";
 $LoginName = "&#1050;&#1086;&#1088;&#1080;&#1089;&#1085;&#1080;&#1095;&#1082;&#1086; &#1080;&#1084;&#1077;";
 $Assignments = "&#1055;&#1091;&#1073;&#1083;&#1080;&#1082;&#1072;&#1094;&#1080;&#1080; &#1085;&#1072; &#1082;&#1091;&#1088;&#1089;&#1080;&#1089;&#1090;&#1080;&#1090;&#1077;";
 $Forum = "&#1060;&#1086;&#1088;&#1091;&#1084;";
+$langDelImage = "&#1054;&#1090;&#1089;&#1090;&#1088;&#1072;&#1085;&#1080; &#1112;&#1072; &#1089;&#1083;&#1080;&#1082;&#1072;&#1090;&#1072;";
 $langCode = "&#1064;&#1080;&#1092;&#1088;&#1072; &#1085;&#1072; &#1082;&#1091;&#1088;&#1089;&#1086;&#1090;";
 $langUp = "&#1043;&#1086;&#1088;&#1077;";
 $Down = "&#1076;&#1086;&#1083;&#1091;";

+ 0 - 1
main/lang/norwegian/registration.inc.php

@@ -3,7 +3,6 @@ for more information: see languages.txt in the lang folder.
 */
 $langTracking = "Statestikk";
 $langAuthInfo = "Autentifikasjon";
-$langDelImage = "Fjern bilde";
 $langUpdateImage = "Endre bilde";
 $langImageWrong = "Filstørrelsen skal være mindre enn ";
 $langAddImage = "Bilde";

+ 1 - 0
main/lang/norwegian/trad4all.inc.php

@@ -17,6 +17,7 @@ $langEdit = "Rediger";
 $Language = "Språk";
 $LoginName = "Pålogging";
 $Forum = "Forum";
+$langDelImage = "Fjern bilde";
 $langCode = "Kurskode";
 $langUp = "Opp";
 $Down = "ned";

+ 0 - 2
main/lang/persian/registration.inc.php

@@ -7,8 +7,6 @@ $langTracking = "&#1587;&#1740;&#1587;&#1578;&#1605;
 &#1578;&#1581;&#1589;&#1740;&#1604;&#1740;";
 $langEnter2passToChange = "&#1583;&#1585; &#1589;&#1608;&#1585;&#1578;&#1740; &#1705;&#1607; &#1605;&#1740; &#1582;&#1608;&#1575;&#1607;&#1740;&#1583; &#1585;&#1605;&#1586; &#1608;&#1585;&#1608;&#1583; &#1582;&#1608;&#1583; &#1585;&#1575; &#1578;&#1594;&#1740;&#1740;&#1585; &#1583;&#1607;&#1740;&#1583;&#1548; &#1605;&#1740; &#1576;&#1575;&#1740;&#1587;&#1578; &#1585;&#1605;&#1586; &#1580;&#1583;&#1740;&#1583; &#1582;&#1608;&#1583; &#1585;&#1575; &#1583;&#1608; &#1576;&#1575;&#1585; &#1608;&#1575;&#1585;&#1583; &#1705;&#1606;&#1740;&#1583;. &#1575;&#1711;&#1585; &#1606;&#1605;&#1740; &#1582;&#1608;&#1575;&#1607;&#1740;&#1583; &#1585;&#1605;&#1586; &#1608;&#1585;&#1608;&#1583; &#1582;&#1608;&#1583; &#1585;&#1575; &#1578;&#1594;&#1740;&#1740;&#1585; &#1583;&#1607;&#1740;&#1583; &#1582;&#1575;&#1606;&#1607; &#1607;&#1575;&#1740; &#1605;&#1585;&#1576;&#1608;&#1591; &#1576;&#1607; &#1578;&#1594;&#1740;&#1740;&#1585; &#1585;&#1605;&#1586; &#1608;&#1585;&#1608;&#1583; &#1585;&#1575; &#1582;&#1575;&#1604;&#1740; &#1576;&#1711;&#1584;&#1575;&#1585;&#1740;&#1583; ";
 $langAuthInfo = "&#1588;&#1606;&#1575;&#1587;&#1575;&#1740;&#1740; &#1582;&#1608;&#1583; &#1576;&#1607; &#1587;&#1740;&#1587;&#1578;&#1605;";
-$langDelImage = "&#1581;&#1584;&#1601;
-&#1593;&#1705;&#1587;";
 $langUpdateImage = "&#1578;&#1593;&#1608;&#1740;&#1590;
 &#1593;&#1705;&#1587;";
 $langImageWrong = "&#1608;&#1586;&#1606;&#1601;&#1575;&#1740;&#1604; &#1605;&#1608;&#1585;&#1583; &#1606;&#1592;&#1585; &#1576;&#1575;&#1740;&#1583; &#1705;&#1575;&#1607;&#1588;&#1740;&#1575;&#1576;&#1583;";

+ 2 - 0
main/lang/persian/trad4all.inc.php

@@ -26,6 +26,8 @@ $LoginName = "&#1606;&#1575;&#1605;
 &#1705;&#1575;&#1585;&#1576;&#1585;&#1740;";
 $Assignments = "&#1601;&#1593;&#1575;&#1604;&#1740;&#1578;&#1607;&#1575;&#1740;&#1583;&#1585;&#1587;&#1740;";
 $Forum = "&#1662;&#1740;&#1575;&#1605;&#1711;&#1575;&#1607; &#1607;&#1575;";
+$langDelImage = "&#1581;&#1584;&#1601;
+&#1593;&#1705;&#1587;";
 $langCode = "&#1705;&#1583;&#1583;&#1585;&#1587;";
 $langUp = "&#1576;&#1575;&#1604;&#1575;";
 $Down = "&#1662;&#1575;&#1740;&#1740;&#1606;";

+ 0 - 1
main/lang/polish/registration.inc.php

@@ -5,7 +5,6 @@ $langShouldBeCSVFormat = "Plik powinien by&#263; w formacie CSV. Nie dodawaj spa
 $langTracking = "&#346;ledzenie";
 $langEnter2passToChange = "Podaj nowe has&#322;o dwukrotnie";
 $langAuthInfo = "Autoryzacja";
-$langDelImage = "Usu&#324; obrazek";
 $langUpdateImage = "Zmie&#324; obrazek";
 $langImageWrong = "Rozmiar pliku powinien by&#263; mniejszy ni&#380;";
 $langAddImage = "Obrazek";

+ 1 - 0
main/lang/polish/trad4all.inc.php

@@ -26,6 +26,7 @@ $LoginName = "Login";
 $AutostartMp3 = "Odtwarzaj automatycznie pliki d&#378;wi&#281;kowe?";
 $Assignments = "Przypisania";
 $Forum = "Forum";
+$langDelImage = "Usu&#324; obrazek";
 $langCode = "Kod kursu";
 $langUp = "Do góry";
 $Down = "Na dó&#322;";

+ 2 - 0
main/lang/portuguese/admin.inc.php

@@ -1115,4 +1115,6 @@ $Editor = "Editor WYSIWYG";
 $GoToCourseAfterLoginTitle = "Ir directamente para o curso após efectuar o login/acesso";
 $GoToCourseAfterLoginComment = "Quando um utilizador se encontra registado num curso, ir directamente para o curso após o login/acesso";
 $GroupList = "Lista do Grupo";
+$AllowStudentsDownloadFoldersTitle = "Permitir aos alunos descarregar pastas/directórios";
+$AllowStudentsDownloadFoldersComment = "Permitir aos alunos criar um pacote e descarregar uma pasta/directório completo na ferramenta documentos";
 ?>

+ 0 - 1
main/lang/portuguese/registration.inc.php

@@ -5,7 +5,6 @@ $langShouldBeCSVFormat = "O ficheiro deve de estar no formato CSV. N
 $langTracking = "Relatórios";
 $langEnter2passToChange = "Para modificar a sua senha/password, introduza a sua senha/password actual no campo acima e a nova senha/password em ambos os campos abaixo desse. Para manter a senha/password actual, deixe os três campos vazios.";
 $langAuthInfo = "Autenticação";
-$langDelImage = "Remover imagem";
 $langUpdateImage = "Modificar imagem";
 $langImageWrong = "O tamanho do ficheiro deve ser menor que";
 $langAddImage = "Imagem";

+ 1 - 0
main/lang/portuguese/trad4all.inc.php

@@ -26,6 +26,7 @@ $LoginName = "Login/acesso";
 $AutostartMp3 = "Deseja o ficheiro de audio a INICIAR automaticamente?";
 $Assignments = "Tarefas/Trabalhos";
 $Forum = "Fórum";
+$langDelImage = "Remover imagem";
 $langCode = "Código do curso";
 $langUp = "Acima";
 $Down = "abaixo";

+ 0 - 1
main/lang/quechua_cusco/registration.inc.php

@@ -5,7 +5,6 @@ $langShouldBeCSVFormat = "Khipuqa CSV nisqapi kashan. Ama imatapas yapankichu. I
 $langTracking = "Qatikuy";
 $langEnter2passToChange = "Qelqa pakata t\'ijrachinapqa haykuchiy hoq musuq qelqa pakata kay kanchakunapi. Sichus qepakuyta munaq ñaupaqwan chayqa, ajnallata saqey  iskhay kanchakunata.";
 $langAuthInfo = "Cheqaqchana";
-$langDelImage = "Wankita horqoy";
 $langUpdateImage = "Hoq wankita churay";
 $langImageWrong = "Khipuqa kanqapuni kay yupamanta huch\'uykama";
 $langAddImage = "Wankitawan churay";

+ 1 - 0
main/lang/quechua_cusco/trad4all.inc.php

@@ -25,6 +25,7 @@ $LoginName = "Haykuqmasi";
 $AutostartMp3 = "Chaskiy nisqata q\'apiy, pachanmanta uyariyta munaspaqa";
 $Assignments = "Llank\'aykuna";
 $Forum = "Rimarinakuy";
+$langDelImage = "Wankita horqoy";
 $langCode = "Yachachinaq chinpun";
 $langUp = "Wichachiy";
 $Down = "Urayachiy";

+ 0 - 1
main/lang/romanian/registration.inc.php

@@ -5,7 +5,6 @@ $langShouldBeCSVFormat = "Fisierul este in format CSV. Nu adaugati spatii. Struc
 $langTracking = "Urmarire";
 $langEnter2passToChange = "Introdu parola de doua ori pentru a o schimba. Altfel lasa campurile libere";
 $langAuthInfo = "Autentificare";
-$langDelImage = "Sterge imaginea";
 $langUpdateImage = "Schimba imaginea";
 $langImageWrong = "Fisierul trebuie sa fie mai mic de";
 $langAddImage = "Imagine";

+ 1 - 0
main/lang/romanian/trad4all.inc.php

@@ -26,6 +26,7 @@ $LoginName = "Login(logare)";
 $AutostartMp3 = "Apasati ok daca doriti ca fisierul audio sa fie redat in mod automat";
 $Assignments = "Publicatiile studentilor";
 $Forum = "Forum";
+$langDelImage = "Sterge imaginea";
 $langCode = "Codul cursului";
 $langUp = "Sus";
 $Down = "jos";

+ 0 - 1
main/lang/russian_unicode/registration.inc.php

@@ -5,7 +5,6 @@ $langShouldBeCSVFormat = "Файл должен иметь формат CSV. Н
 $langTracking = "Отчет";
 $langEnter2passToChange = "Введите свой пароль дважды для того, чтобы изменить его. Или же оставьте поля пустыми.";
 $langAuthInfo = "Идентификация";
-$langDelImage = "Удалить рисунок";
 $langUpdateImage = "Изменить рисунок";
 $langImageWrong = "Размер файла должен быть меньше, чем";
 $langAddImage = "Рисунок";

+ 1 - 0
main/lang/russian_unicode/trad4all.inc.php

@@ -26,6 +26,7 @@ $LoginName = "Имя пользователя";
 $AutostartMp3 = "Нажмите ОК, если хотите, чтобы аудио файлы проигрывались автоматически";
 $Assignments = "Задания";
 $Forum = "Форум";
+$langDelImage = "Удалить рисунок";
 $langCode = "Код курса";
 $langUp = "Вверх";
 $Down = "вниз";

+ 0 - 1
main/lang/serbian/registration.inc.php

@@ -5,7 +5,6 @@ $langShouldBeCSVFormat = "Fajl treba da bude u CSV formatu. Nemojte dodavati raz
 $langTracking = "Pra&#263;enje";
 $langEnter2passToChange = "Unesite vašu lozinku dva puta da biste je promenili. U suprotnom ostavite polja prazna.";
 $langAuthInfo = "Autorizacija";
-$langDelImage = "Ukloni sliku";
 $langUpdateImage = "Promeni sliku";
 $langImageWrong = "Veli&#269;ina fajla bi trebala da bude manja od";
 $langAddImage = "Slika";

+ 1 - 0
main/lang/serbian/trad4all.inc.php

@@ -25,6 +25,7 @@ $LoginName = "Korisni&#269;ko ime";
 $AutostartMp3 = "Da li želite da se audio datoteka startuje automatski?";
 $Assignments = "publikacije polaznika ";
 $Forum = "Forum ";
+$langDelImage = "Ukloni sliku";
 $langCode = "Šifra kursa";
 $langUp = "Gore";
 $Down = "dole";

+ 0 - 1
main/lang/simpl_chinese/registration.inc.php

@@ -5,7 +5,6 @@ $langShouldBeCSVFormat = "
 $langTracking = "跟踪";
 $langEnter2passToChange = "修改密码请重复输入两次, 否则保持为空.";
 $langAuthInfo = "有效";
-$langDelImage = "移除图片";
 $langUpdateImage = "更换图片";
 $langImageWrong = "文件尺寸要小于";
 $langAddImage = "图片";

+ 1 - 0
main/lang/simpl_chinese/trad4all.inc.php

@@ -25,6 +25,7 @@ $Language = "
 $LoginName = "登录";
 $Assignments = "学生作业";
 $Forum = "论坛";
+$langDelImage = "移除图片";
 $langCode = "课程代码";
 $langUp = "向上";
 $Down = "向下";

+ 0 - 1
main/lang/simpl_chinese_unicode/registration.inc.php

@@ -5,7 +5,6 @@ $langShouldBeCSVFormat = "文件应该是CSV格式,请不要加空格,结构
 $langTracking = "学习进度";
 $langEnter2passToChange = "修改密码请重复输入两次,否则保持为空。";
 $langAuthInfo = "有效";
-$langDelImage = "移除图片";
 $langUpdateImage = "更换图片";
 $langImageWrong = "文件尺寸要小于";
 $langAddImage = "图片";

+ 1 - 0
main/lang/simpl_chinese_unicode/trad4all.inc.php

@@ -12,6 +12,7 @@ $langGroup = "小组";
 $langEdit = "编辑";
 $langGroupForum = "小组论坛";
 $LoginName = "登录名";
+$langDelImage = "移除图片";
 $langCode = "代码";
 $langUp = "向上";
 $langUniqueSelect = "单选题";

+ 0 - 1
main/lang/slovak/registration.inc.php

@@ -4,7 +4,6 @@ for more information: see languages.txt in the lang folder.
 $langShouldBeCSVFormat = "Súbor by mal by&#357; v CSV formáte. Nepridávajte medzery. Štruktúra by mala by&#357; správne:";
 $langEnter2passToChange = "Pre zmenenie zadajte svoje nové heslo dva krát. Inak nechajte polí&#269;ka prázdne.";
 $langAuthInfo = "Overenie";
-$langDelImage = "Odstráni&#357; obrázok";
 $langUpdateImage = "Zmeni&#357; obrázok";
 $langImageWrong = "Ve&#318;kos&#357; súboru by mala by&#357; menšia ako";
 $langAddImage = "Obrázok";

+ 1 - 0
main/lang/slovak/trad4all.inc.php

@@ -26,6 +26,7 @@ $LoginName = "Prihasovacie meno";
 $AutostartMp3 = "Kliknite na OK, ak si želáte, aby bol zvukový súbor spustený automaticky. ";
 $Assignments = "Zadania";
 $Forum = "Fórum";
+$langDelImage = "Odstráni&#357; obrázok";
 $langCode = "Kód kurzu";
 $langUp = "Hore";
 $Down = "dole";

+ 0 - 1
main/lang/slovenian/registration.inc.php

@@ -5,7 +5,6 @@ $langShouldBeCSVFormat = "Datoteka mora biti v CSV obliki. Ne dodajajte presledk
 $langTracking = "Sledenje";
 $langEnter2passToChange = "Za spremembo vnesite geslo dvakrat. Sicer pustite polji prazni.";
 $langAuthInfo = "Avtentifikacija";
-$langDelImage = "Odstrani sliko";
 $langUpdateImage = "Zamenjaj sliko";
 $langImageWrong = "Velikost datoteke mora biti manjša od";
 $langAddImage = "Slika";

+ 1 - 0
main/lang/slovenian/trad4all.inc.php

@@ -26,6 +26,7 @@ $LoginName = "Uporabni
 $AutostartMp3 = "Kliknite OK, èe želite, da bo avdio datoteka predvajana avtomatièno";
 $Assignments = "Zadolžitve";
 $Forum = "Forum";
+$langDelImage = "Odstrani sliko";
 $langCode = "Koda teèaja";
 $langUp = "Gor";
 $Down = "dol";

+ 0 - 1
main/lang/slovenian_unicode/registration.inc.php

@@ -5,7 +5,6 @@ $langShouldBeCSVFormat = "Datoteka mora biti v CSV obliki. Ne dodajajte presledk
 $langTracking = "Poročila";
 $langEnter2passToChange = "Za spremembo vnesite geslo dvakrat. Sicer pustite polji prazni.";
 $langAuthInfo = "Avtentifikacija";
-$langDelImage = "Odstrani sliko";
 $langUpdateImage = "Zamenjaj sliko";
 $langImageWrong = "Velikost datoteke mora biti manjša od";
 $langAddImage = "Slika";

+ 1 - 0
main/lang/slovenian_unicode/trad4all.inc.php

@@ -26,6 +26,7 @@ $LoginName = "Uporabniško ime";
 $AutostartMp3 = "Kliknite OK, če želite, da bo avdio datoteka predvajana avtomatično";
 $Assignments = "Zadolžitve";
 $Forum = "Forum";
+$langDelImage = "Odstrani sliko";
 $langCode = "Koda tečaja";
 $langUp = "Gor";
 $Down = "dol";

+ 0 - 3
main/lang/spanish/admin.inc.php

@@ -1100,9 +1100,6 @@ $SendEmailToAdminComment = "Enviar un correo electr
 $UserTag = "Etiqueta de usuario";
 $SelectSession = "Seleccionar sesión";
 $GroupPermissions = "Permisos del grupo";
-$MessagesSent = "Mensajes enviados";
-$MessagesReceived = "Mensajes recibidos";
-$CountFriends = "Número de amigos";
 $SpecialCourse = "Curso especial";
 $MathMimetexTitle = "Editor matemático mimeTEX";
 $MathMimetexComment = "Habilitar el editor matemático mimeTEX";

+ 0 - 1
main/lang/spanish/registration.inc.php

@@ -5,7 +5,6 @@ $langShouldBeCSVFormat = "El archivo debe estar formato CSV. No a
 $langTracking = "Seguimiento";
 $langEnter2passToChange = "Para cambiar la contraseña, introduzca la nueva contraseña en estos dos campos. Si desea mantener la actual, deje vacíos los dos campos. ";
 $langAuthInfo = "Autentificación";
-$langDelImage = "Eliminar foto";
 $langUpdateImage = "Cambiar foto";
 $langImageWrong = "El archivo debe tener un tamaño menor de";
 $langAddImage = "Incluir foto";

+ 1 - 0
main/lang/spanish/trad4all.inc.php

@@ -26,6 +26,7 @@ $LoginName = "Usuario";
 $AutostartMp3 = "Presione Aceptar si desea que el archivo de audio se reproduzca automáticamente";
 $Assignments = "Tareas";
 $Forum = "Foro";
+$langDelImage = "Eliminar foto";
 $langCode = "Código del curso";
 $langUp = "Subir";
 $Down = "Bajar";

+ 0 - 1
main/lang/spanish_latin/registration.inc.php

@@ -5,7 +5,6 @@ $langShouldBeCSVFormat = "El archivo debe estar formato CSV. No a
 $langTracking = "Seguimiento";
 $langEnter2passToChange = "Para cambiar la contraseña, introduzca la nueva contraseña en estos dos campos. Si desea mantener la actual, deje vacíos ambos.";
 $langAuthInfo = "Autentificación";
-$langDelImage = "Eliminar fotografía";
 $langUpdateImage = "Cambiar fotografía";
 $langImageWrong = "El archivo debe tener un tamaño menor de";
 $langAddImage = "Agregar fotografía";

+ 1 - 0
main/lang/spanish_latin/trad4all.inc.php

@@ -24,6 +24,7 @@ $Language = "Idioma";
 $LoginName = "Usuario";
 $Assignments = "Assignments";
 $Forum = "Forum";
+$langDelImage = "Eliminar fotografía";
 $langCode = "Código del curso";
 $langUp = "Subir";
 $Down = "abajo";

+ 0 - 1
main/lang/swedish/registration.inc.php

@@ -5,7 +5,6 @@ $langShouldBeCSVFormat = "Filen skall vara i CSV format. L
 $langTracking = "Spårning";
 $langEnter2passToChange = "Skriv ditt lösenord 2 ggr för att ändra det, eller också lämnar du fälten tomma.";
 $langAuthInfo = "Legitimering";
-$langDelImage = "Ta bort bild";
 $langUpdateImage = "Ändra bild";
 $langImageWrong = "Filstorleken skall vara mindre än";
 $langAddImage = "Bild";

+ 1 - 0
main/lang/swedish/trad4all.inc.php

@@ -26,6 +26,7 @@ $LoginName = "Logga in";
 $AutostartMp3 = "Tryck OK om du vill spela ljudfilen automatiskt";
 $Assignments = "Assignments";
 $Forum = "Forum";
+$langDelImage = "Ta bort bild";
 $langCode = "Kurskod";
 $langUp = "Upp";
 $Down = "ner";

+ 0 - 1
main/lang/thai/registration.inc.php

@@ -5,7 +5,6 @@ $langShouldBeCSVFormat = "
 $langTracking = "¡ÒõԴµÒÁ¼Å";
 $langEnter2passToChange = "¡ÒÃà»ÅÕè¹ÃËÑʼèÒ¹ãËÁè ãËé¡ÃÍ¡ÃËÑʼèÒ¹·ÕèµÑé§ãËÁè·Ñé§ÊͧªÍ§ ËÒ¡äÁèà»ÅÕ蹡ç»ÅèÍÂÇèÒ§äÇé";
 $langAuthInfo = "¡ÒÃÃѺÃͧÊÔ·¸Ôì";
-$langDelImage = "àÍÒÀÒ¾ÍÍ¡";
 $langUpdateImage = "à»ÅÕè¹ÀÒ¾";
 $langImageWrong = "¢¹Ò´ä¿ÅìµéͧäÁèà¡Ô¹";
 $langAddImage = "ÀÒ¾";

+ 1 - 0
main/lang/thai/trad4all.inc.php

@@ -24,6 +24,7 @@ $Language = "
 $LoginName = "&#3648;&#3586;&#3657;&#3634;&#3626;&#3641;&#3656;&#3619;&#3632;&#3610;&#3610;";
 $Assignments = "§Ò¹·ÕèÍÒ¨ÒÃÂìÁͺËÁÒÂ/¡ÒúéÒ¹";
 $Forum = "¡ÒÃÍÀÔ»ÃÒ : Forum";
+$langDelImage = "àÍÒÀÒ¾ÍÍ¡";
 $langCode = "ÃËÑÊÇÔªÒ";
 $langUp = "¢Öé¹";
 $Down = "ŧ";

+ 0 - 1
main/lang/trad_chinese_unicode/registration.inc.php

@@ -5,7 +5,6 @@ $langShouldBeCSVFormat = "檔案應該是CSV格式,請不要加空格,架構
 $langTracking = "學習進度";
 $langEnter2passToChange = "修改密碼請重複輸入兩次,否則保持為空。";
 $langAuthInfo = "有效";
-$langDelImage = "移除圖片";
 $langUpdateImage = "更換圖片";
 $langImageWrong = "檔案尺寸要小於";
 $langAddImage = "圖片";

+ 1 - 0
main/lang/trad_chinese_unicode/trad4all.inc.php

@@ -25,6 +25,7 @@ $LoginName = "登入名稱";
 $AutostartMp3 = "若你想音訊檔自動插放,請按「確定」。";
 $Assignments = "課業";
 $Forum = "討論區";
+$langDelImage = "移除圖片";
 $langCode = "代碼";
 $langUp = "向上";
 $Down = "向下";

+ 0 - 1
main/lang/turkce/registration.inc.php

@@ -5,7 +5,6 @@ $langShouldBeCSVFormat = "Dosya CSV format&#305;nda olmal&#305;d&#305;r.Bo&#351;
 $langTracking = "&#304;zleme";
 $langEnter2passToChange = "&#350;ifre de&#287;i&#351;ikli&#287;i için yeni &#351;ifrenizi iki kere girmelisiniz, aksi taktirde bu alan&#305; bo&#351; b&#305;rak&#305;n&#305;z.";
 $langAuthInfo = "Giri&#351;";
-$langDelImage = "Fotoyu kald&#305;r";
 $langUpdateImage = "Resmi de&#287;i&#351;tir";
 $langImageWrong = "Dosya boyutunun olabilece&#287;i büyüklük:";
 $langAddImage = "Resim";

+ 1 - 0
main/lang/turkce/trad4all.inc.php

@@ -25,6 +25,7 @@ $LoginName = "Kullan&#305;c&#305; ad&#305;";
 $AutostartMp3 = "Ses dosyas&#305;n&#305; otomatik ba&#351;latmak istiyor musunuz ?";
 $Assignments = "Ö&#287;renci Çal&#305;&#351;malar&#305;";
 $Forum = "Forum";
+$langDelImage = "Fotoyu kald&#305;r";
 $langCode = "Ders kodu";
 $langUp = "Yukar&#305;";
 $Down = "a&#351;a&#287;&#305;";