Browse Source

Merge pull request #2295 from chamilo/flintci-646

Applied fixes from FlintCI
Julio Montoya 7 years ago
parent
commit
77407a47bb

+ 1 - 1
main/attendance/attendance_sheet.php

@@ -418,7 +418,7 @@ if (api_is_allowed_to_edit(null, true) ||
     }
 } else {
     echo Display::page_header(get_lang('AttendanceSheetReport'));
-    // View for students ?>
+    // View for students?>
     <?php if (!empty($users_presence)) {
         ?>
         <div>

+ 1 - 1
main/install/index.php

@@ -575,7 +575,7 @@ if (@$_POST['step2']) {
         $passForm
     );
 } elseif (@$_POST['step5']) {
-    //STEP 6 : LAST CHECK BEFORE INSTALL ?>
+    //STEP 6 : LAST CHECK BEFORE INSTALL?>
     <div class="RequirementHeading">
        <h3><?php echo display_step_sequence().get_lang('LastCheck'); ?></h3>
     </div>

+ 1 - 1
main/install/install.lib.php

@@ -1147,7 +1147,7 @@ function display_requirements(
             $error = true;
         }
 
-        // And now display the choice buttons (go back or install) ?>
+        // And now display the choice buttons (go back or install)?>
         <p align="center" style="padding-top:15px">
         <button type="submit" name="step1" class="btn btn-default" onclick="javascript: window.location='index.php'; return false;" value="<?php echo get_lang('Previous'); ?>" >
             <em class="fa fa-backward"> </em> <?php echo get_lang('Previous'); ?>

+ 1 - 1
main/mySpace/myStudents.php

@@ -1512,7 +1512,7 @@ if (empty($details)) {
         </div>
     ';
 
-    // line about other tools ?>
+    // line about other tools?>
     <div class="table-responsive">
     <table class="table table-striped table-hover">
         <thead>

+ 1 - 1
main/upload/upload.document.php

@@ -163,7 +163,7 @@ if (isset($_GET['createdir'])) {
     //show the form
     echo Display::return_message($new_folder_text, 'normal');
 } else {
-    //give them a link to create a directory ?>
+    //give them a link to create a directory?>
     <p>
         <a href="<?php echo api_get_self(); ?>?path=<?php echo $path; ?>&amp;createdir=1">
             <?php echo Display::return_icon('new_folder.gif'); ?>

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

@@ -1321,7 +1321,7 @@ class Wiki
                         ).'</a>';
                 }
 
-                //export to print ?>
+                //export to print?>
                 <script>
                     function goprint() {
                         var a = window.open('', '', 'width=800,height=600');

+ 4 - 4
plugin/grading_electronic/generate.php

@@ -134,14 +134,14 @@ try {
                     $student->getId()
                 );
                 $exerciseResult = current($exerciseResult);
-        
+
                 if (!$exerciseResult) {
                     continue;
                 }
-        
+
                 $attemptDate = new DateTime($exerciseResult['exe_date'], new DateTimeZone('UTC'));
                 $dateIsRange = $attemptDate >= $dateStart && $attemptDate <= $dateEnd;
-        
+
                 if (!$dateEnd) {
                     continue;
                 }
@@ -158,7 +158,7 @@ try {
         );
 
         /** old method to get the score
-        
+
                 $score = Category::getCurrentScore(
                     $student->getId(),
                     $gradebook,

+ 1 - 1
src/Chamilo/CoreBundle/Component/Editor/Connector.php

@@ -345,7 +345,7 @@ class Connector
                 if (isset($args['target'])) {
                     $driverName = $elFinder->getVolumeDriverNameByTarget($args['target']);
                 }
-        
+
                 if (isset($args['targets'])) {
                     foreach ($args['targets'] as $target) {
                         $driverName = $elFinder->getVolumeDriverNameByTarget($target);