Explorar o código

Minor - format code

jmontoyaa %!s(int64=7) %!d(string=hai) anos
pai
achega
06b5f5e9e2

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 473 - 472
main/exercise/export/scorm/scorm_classes.php


+ 8 - 8
main/inc/lib/internationalization.lib.php

@@ -59,11 +59,11 @@ define('PERSON_NAME_DATA_EXPORT', PERSON_NAME_EASTERN_ORDER);
 
 
 /**
 /**
  * Returns a translated (localized) string, called by its identificator.
  * Returns a translated (localized) string, called by its identificator.
- * @param string $variable				This is the identificator (name) of the translated string to be retrieved.
- * @param string $reserved				This parameter has been reserved for future use.
- * @param string $language (optional)	Language indentificator. If it is omited, the current interface language is assumed.
+ * @param string $variable This is the identificator (name) of the translated string to be retrieved.
+ * @param string $reserved This parameter has been reserved for future use.
+ * @param string $language (optional)    Language indentificator. If it is omited, the current interface language is assumed.
  *
  *
- * @return string						Returns the requested string in the correspondent language.
+ * @return string                        Returns the requested string in the correspondent language.
  *
  *
  * @author Roan Embrechts
  * @author Roan Embrechts
  * @author Patrick Cool
  * @author Patrick Cool
@@ -99,7 +99,7 @@ function get_lang($variable, $reserved = null, $language = null) {
     }
     }
 
 
     if (!isset($used_lang_vars)) {
     if (!isset($used_lang_vars)) {
-    	$used_lang_vars = array();
+        $used_lang_vars = array();
     }
     }
 
 
     // Caching results from some API functions, for speed.
     // Caching results from some API functions, for speed.
@@ -156,10 +156,10 @@ function get_lang($variable, $reserved = null, $language = null) {
 
 
 /**
 /**
  * Gets the current interface language.
  * Gets the current interface language.
- * @param bool $purified (optional)	When it is true, a purified (refined)
+ * @param bool $purified (optional)    When it is true, a purified (refined)
  * language value will be returned, for example 'french' instead of 'french_unicode'.
  * language value will be returned, for example 'french' instead of 'french_unicode'.
  * @param bool $setParentLanguageName
  * @param bool $setParentLanguageName
- * @return string					The current language of the interface.
+ * @return string                    The current language of the interface.
  */
  */
 function api_get_interface_language(
 function api_get_interface_language(
     $purified = false,
     $purified = false,
@@ -301,7 +301,7 @@ function api_get_text_direction($language = null)
     static $text_direction = array();
     static $text_direction = array();
 
 
     if (empty($language)) {
     if (empty($language)) {
-    	$language = api_get_interface_language();
+        $language = api_get_interface_language();
     }
     }
     if (!isset($text_direction[$language])) {
     if (!isset($text_direction[$language])) {
         $text_direction[$language] = in_array(
         $text_direction[$language] = in_array(

+ 7 - 7
main/wiki/wiki.inc.php

@@ -221,17 +221,17 @@ class Wiki
 
 
         foreach ($input_array as $key => $value) {
         foreach ($input_array as $key => $value) {
             //now doubles brackets
             //now doubles brackets
-            if (isset($input_array[$key-1]) && $input_array[$key-1] == '[[' AND
-                $input_array[$key+1] == ']]'
+            if (isset($input_array[$key-1]) &&
+                $input_array[$key-1] == '[[' && $input_array[$key+1] == ']]'
             ) {
             ) {
                 // now full wikilink
                 // now full wikilink
                 if (api_strpos($value, "|") !== false) {
                 if (api_strpos($value, "|") !== false) {
-                    $full_link_array=explode("|", $value);
-                    $link=trim(strip_tags($full_link_array[0]));
-                    $title=trim($full_link_array[1]);
+                    $full_link_array = explode("|", $value);
+                    $link = trim(strip_tags($full_link_array[0]));
+                    $title = trim($full_link_array[1]);
                 } else {
                 } else {
-                    $link=trim(strip_tags($value));
-                    $title=trim($value);
+                    $link = trim(strip_tags($value));
+                    $title = trim($value);
                 }
                 }
 
 
                 //if wikilink is homepage
                 //if wikilink is homepage

Algúns arquivos non se mostraron porque demasiados arquivos cambiaron neste cambio