Minor - Format code

1.10.x
Julio Montoya 11 years ago
parent 9ba2437445
commit ac98a84ba4
  1. 3
      main/exercice/answer.class.php
  2. 4
      main/inc/lib/template.lib.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() {

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

Loading…
Cancel
Save