Browse Source

Minor - Format code

Julio Montoya 9 years ago
parent
commit
ac98a84ba4
2 changed files with 4 additions and 3 deletions
  1. 2 1
      main/exercice/answer.class.php
  2. 2 2
      main/inc/lib/template.lib.php

+ 2 - 1
main/exercice/answer.class.php

@@ -748,7 +748,8 @@ class Answer
      * Get the necessary JavaScript for some answers
      * @return string
      */
-    public function getJs() {
+    public function getJs()
+    {
         //if ($this->questionId == 2)
         return "<script>
                 jsPlumb.ready(function() {

+ 2 - 2
main/inc/lib/template.lib.php

@@ -66,9 +66,9 @@ class Template
         $this->load_plugins = $load_plugins;
 
         $template_paths = array(
-            api_get_path(SYS_CODE_PATH) . 'template/overrides', // user defined templates
+            api_get_path(SYS_CODE_PATH).'template/overrides', // user defined templates
             api_get_path(SYS_CODE_PATH).'template', //template folder
-            api_get_path(SYS_PLUGIN_PATH) //plugin folder
+            api_get_path(SYS_PLUGIN_PATH) // plugin folder
         );
 
         $cache_folder = api_get_path(SYS_ARCHIVE_PATH).'twig';