Browse Source

Minor - format code

Julio Montoya 9 years ago
parent
commit
76529c85da

+ 4 - 1
main/admin/settings.lib.php

@@ -374,7 +374,10 @@ function handle_stylesheets()
                 $( "#tabs" ).tabs();
             });
             </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 {
             $form_change->display();
         }

+ 1 - 1
main/inc/lib/document.lib.php

@@ -2512,7 +2512,7 @@ class DocumentManager
                             // Replace origin course path by destination course path.
                             if (strpos($content_html, $real_orig_url) !== false) {
                                 $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;
                                 // See BT#7780
                                 $destination_url = $dest_course_path_rel . $document_file . $dest_url_query;

+ 0 - 1
main/inc/lib/events.lib.php

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

+ 0 - 2
main/inc/lib/skill.visualizer.lib.php

@@ -168,8 +168,6 @@ class SkillVisualizer
             $skill['x'] = $x;
             $skill['y'] = $y;
 
-
-            //    var_dump($skill);
             //$skill['description']  = "{$brothers[$skill['parent_id']]} $x - $y";
             //$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));