Browse Source

[svn r18255] Minor - Style changes - Fixed display new button into sortabletable and message when you login is not correct - see FS#3606

Cristian Fasanando 16 years ago
parent
commit
532c665077
2 changed files with 4 additions and 3 deletions
  1. 3 2
      index.php
  2. 1 1
      main/inc/lib/sortabletable.class.php

+ 3 - 2
index.php

@@ -1,4 +1,4 @@
-<?php // $Id: index.php 18231 2009-02-04 16:20:38Z juliomontoya $
+<?php // $Id: index.php 18255 2009-02-05 15:50:24Z cfasanando $
  
 /*
 ==============================================================================
@@ -27,7 +27,7 @@
 /**
 *	@package dokeos.main
 * 	@author Patrick Cool <patrick.cool@UGent.be>, Ghent University, Refactoring
-* 	@version $Id: index.php 18231 2009-02-04 16:20:38Z juliomontoya $
+* 	@version $Id: index.php 18255 2009-02-05 15:50:24Z cfasanando $
 *   @todo check the different @todos in this page and really do them
 * 	@todo check if the news management works as expected
 */
@@ -346,6 +346,7 @@ function display_anonymous_right_menu() {
 		display_login_form();
 
 		if ($loginFailed) {
+			echo '<br />';
 			handle_login_failed();
 		}
 		if (api_get_setting('allow_lostpassword') == 'true' OR api_get_setting('allow_registration') == 'true') {

+ 1 - 1
main/inc/lib/sortabletable.class.php

@@ -258,7 +258,7 @@ class SortableTable extends HTML_Table
 					$html .= '<option value="'.$action.'">'.$label.'</option>';
 				}
 				$html .= '</select>';
-				$html .= '<button type="submit" class="save" onclick="javascript:if(!confirm('."'".addslashes(htmlentities(get_lang("ConfirmYourChoice"),ENT_QUOTES,$charset))."'".')) return false;">'.get_lang('Ok').'</button>';
+				$html .= '&nbsp;&nbsp;<button type="submit" class="save" onclick="javascript:if(!confirm('."'".addslashes(htmlentities(get_lang("ConfirmYourChoice"),ENT_QUOTES,$charset))."'".')) return false;">'.get_lang('Ok').'</button>';
 			}
 			else
 			{