Browse Source

[svn r19465] Changed the position button in "Update audio links" see FS#3688 and FS#3917

Arthur Portugal 16 years ago
parent
commit
30dff4fe4e
1 changed files with 5 additions and 3 deletions
  1. 5 3
      main/newscorm/learnpath.class.php

+ 5 - 3
main/newscorm/learnpath.class.php

@@ -4488,13 +4488,15 @@ class learnpath {
 				$return .= "\t" . '<tr>' . "\n";
 					$return .= "\t\t" . '<td colspan="4">'.get_lang("NoItemsInLp").'</td>' . "\n";
 				$return .= "\t" . '</tr>' . "\n";
-			}		
+			}
+			$return .= '</table>' . "\n";		
 		// we need to close the form when we are updating the mp3 files
+		
 		if ($_GET['updateaudio'] == 'true')
 		{
-			$return .= '<tr><th></th> <th><button class="save" type="submit" name="save_audio" id="save_audio">'.get_lang('SaveAudio').'</button></th><th></th><th></th></tr>';	
+			$return .= '<div style="margin:40px 0; float:right;"><button class="save" type="submit" name="save_audio" id="save_audio">'.get_lang('SaveAudio').'</button></div>';
 		}				
-		$return .= '</table>' . "\n";		
+				
 		
 		// we need to close the form when we are updating the mp3 files
 		if ($_GET['updateaudio'] == 'true' AND count($arrLP) <> 0)