Minor - format code

1.10.x
Julio Montoya 11 years ago
parent 971fc7e841
commit 76529c85da
  1. 5
      main/admin/settings.lib.php
  2. 2
      main/inc/lib/document.lib.php
  3. 1
      main/inc/lib/events.lib.php
  4. 2
      main/inc/lib/skill.visualizer.lib.php

@ -374,7 +374,10 @@ function handle_stylesheets()
$( "#tabs" ).tabs(); $( "#tabs" ).tabs();
}); });
</script>'; </script>';
echo Display::tabs(array(get_lang('Update'), get_lang('UploadNewStylesheet')), array($form_change->return_form(), $form->return_form())); echo Display::tabs(
array(get_lang('Update'), get_lang('UploadNewStylesheet')),
array($form_change->return_form(), $form->return_form())
);
} else { } else {
$form_change->display(); $form_change->display();
} }

@ -2512,7 +2512,7 @@ class DocumentManager
// Replace origin course path by destination course path. // Replace origin course path by destination course path.
if (strpos($content_html, $real_orig_url) !== false) { if (strpos($content_html, $real_orig_url) !== false) {
$url_course_path = str_replace($orig_course_info_path.'/'.$document_file, '', $real_orig_path); $url_course_path = str_replace($orig_course_info_path.'/'.$document_file, '', $real_orig_path);
//var_dump($dest_course_path_rel);
//$destination_url = $url_course_path . $destination_course_directory . '/' . $document_file . $dest_url_query; //$destination_url = $url_course_path . $destination_course_directory . '/' . $document_file . $dest_url_query;
// See BT#7780 // See BT#7780
$destination_url = $dest_course_path_rel . $document_file . $dest_url_query; $destination_url = $dest_course_path_rel . $document_file . $dest_url_query;

@ -1741,7 +1741,6 @@ class Event
$item['answer'] = $objExercise->fill_in_blank_answer_to_string($item['answer']); $item['answer'] = $objExercise->fill_in_blank_answer_to_string($item['answer']);
break; break;
case HOT_SPOT: case HOT_SPOT:
//var_dump($item['answer']);
break; break;
} }

@ -168,8 +168,6 @@ class SkillVisualizer
$skill['x'] = $x; $skill['x'] = $x;
$skill['y'] = $y; $skill['y'] = $y;
// var_dump($skill);
//$skill['description'] = "{$brothers[$skill['parent_id']]} $x - $y"; //$skill['description'] = "{$brothers[$skill['parent_id']]} $x - $y";
//$skill['name'] = $skill['name']." | $x = $my_count * 150 + $parent_x - (150* $max/2) - 10*$childs "; //$skill['name'] = $skill['name']." | $x = $my_count * 150 + $parent_x - (150* $max/2) - 10*$childs ";
$this->add_item($skill, array('x' => $this->offset_x + $x, 'y' => $this->offset_y +$y)); $this->add_item($skill, array('x' => $this->offset_x + $x, 'y' => $this->offset_y +$y));

Loading…
Cancel
Save