Ver código fonte

[svn r18277] -CSS improvment discussed with thomas
-Corrects the problems of #FS3541
-Buttons in wiki

Noël Dieschburg 16 anos atrás
pai
commit
01802cba5c

+ 3 - 3
index.php

@@ -1,4 +1,4 @@
-<?php // $Id: index.php 18255 2009-02-05 15:50:24Z cfasanando $
+<?php // $Id: index.php 18277 2009-02-06 00:30:06Z ndieschburg $
  
 /*
 ==============================================================================
@@ -27,7 +27,7 @@
 /**
 *	@package dokeos.main
 * 	@author Patrick Cool <patrick.cool@UGent.be>, Ghent University, Refactoring
-* 	@version $Id: index.php 18255 2009-02-05 15:50:24Z cfasanando $
+* 	@version $Id: index.php 18277 2009-02-06 00:30:06Z ndieschburg $
 *   @todo check the different @todos in this page and really do them
 * 	@todo check if the news management works as expected
 */
@@ -486,7 +486,7 @@ function display_login_form()
 	$form = new FormValidator('formLogin');
 	$form->addElement('text','login',get_lang('UserName'),array('size'=>15));
 	$form->addElement('password','password',get_lang('Pass'),array('size'=>15));
-	$form->addElement('style_submit_button','submitAuth',get_lang('langEnter'));
+	$form->addElement('style_submit_button','submitAuth',get_lang('langEnter'),'class="login"');
 	$renderer =& $form->defaultRenderer();
 	$renderer->setElementTemplate('<div><label>{label}</label></div><div>{element}</div>');
 	$form->display();

+ 5 - 5
main/admin/index.php

@@ -1,4 +1,4 @@
-<?php // $Id: index.php 18203 2009-02-03 18:02:16Z ndieschburg $
+<?php // $Id: index.php 18277 2009-02-06 00:30:06Z ndieschburg $
 /*
 ==============================================================================
 	Dokeos - elearning and course management software
@@ -87,7 +87,7 @@ if (api_is_platform_admin()) {
 	<ul>
 		<li style="list-style-type:none"><form method="get" action="user_list.php">	
 			<input type="text" name="keyword" value="<?php echo $keyword_url; ?>"/>
-			<button type="submit"> <?php echo get_lang('Search');?>
+			<button class="search" type="submit"> <?php echo get_lang('Search');?>
 			</button>
 			</form>
 		</li>
@@ -122,7 +122,7 @@ if(api_is_platform_admin()) {
 	<h4><?php Display::display_icon('course.gif', get_lang('Courses')); ?> <?php echo ucfirst(get_lang('Courses')); ?></h4>
 		<ul><li style="list-style-type:none"><form method="get" action="course_list.php">	
 		<input type="text" name="keyword" value="<?php echo $keyword_url; ?>"/>
-		<button type="submit"> <?php echo get_lang('Search');?>
+		<button class="search" type="submit"> <?php echo get_lang('Search');?>
 			</button>
 		</form></li>
 		<li>
@@ -180,7 +180,7 @@ if(api_get_setting('use_session_mode')=='true')
  <ul>
  <li style="list-style-type:none"><form method="POST" action="session_list.php">
 	<input type="text" name="keyword" value="<?php echo $keyword_url; ?>"/>
-	<button type="submit"> <?php echo get_lang('Search');?>
+	<button class="search" type="submit"> <?php echo get_lang('Search');?>
 			</button>
 	</form>
 </li>
@@ -204,7 +204,7 @@ else if(api_is_platform_admin())
 <li style="list-style-type:none"><form method="get" action="class_list.php">
 
 	<input type="text" name="keyword" value="<?php echo $keyword_url; ?>"/>
-	<input type="submit" value="<?php echo get_lang('Search'); ?>"/>
+	<input class="search" type="submit" value="<?php echo get_lang('Search'); ?>"/>
 	</form>
 </li>
 <li><a href="class_list.php"><?php echo get_lang('ClassList'); ?></a></li>

+ 2 - 2
main/auth/courses.php

@@ -1,4 +1,4 @@
-<?php // $Id: courses.php 18264 2009-02-05 21:23:18Z juliomontoya $
+<?php // $Id: courses.php 18277 2009-02-06 00:30:06Z ndieschburg $
 /*
 ==============================================================================
 	Dokeos - elearning and course management software
@@ -1223,7 +1223,7 @@ function display_edit_course_category_form($edit_course_category)
 	echo '<input type="hidden" name="sec_token" value="'.$stok.'">';
 	$info_this_user_course_category=get_user_course_category($edit_course_category);
 	echo "\t<input type=\"text\" name=\"title_course_category\" value=\"".$info_this_user_course_category['title']."\" />";
-	echo "\t<button type=\"submit\" name=\"submit_edit_course_category\">".get_lang("Ok")." </button>\n";
+	echo "\t<button class=\"save\" type=\"submit\" name=\"submit_edit_course_category\">".get_lang("Ok")." </button>\n";
 	echo "</form>";
 }
 

+ 2 - 2
main/create_course/add_course.php

@@ -1,5 +1,5 @@
 <?php
-// $Id: add_course.php 18203 2009-02-03 18:02:16Z ndieschburg $
+// $Id: add_course.php 18277 2009-02-06 00:30:06Z ndieschburg $
 /* For licensing terms, see /dokeos_license.txt */
 /**
 ==============================================================================
@@ -70,7 +70,7 @@ $form->add_textfield('wanted_code', get_lang('Code'),false,array('size'=>'$maxle
 $form->addRule('wanted_code',get_lang('Max'),'maxlength',$maxlength);
 $titular= &$form->add_textfield('tutor_name', get_lang('Professors'),true,array('size'=>'60'));
 $form->addElement('select_language', 'course_language', get_lang('Ln'));
-$form->addElement('style_submit_button', null, get_lang('Create'));
+$form->addElement('style_submit_button', null, get_lang('CreateCourseArea'), 'class="save"');
 $form->add_progress_bar();
 
 // Set default values

+ 87 - 125
main/css/academica/default.css

@@ -9,7 +9,9 @@ div.row div.formw {
 	width: 100%;
 }
 /* Redefining html styles */
-body {
+body {
+   /* hack ignored by non-IE to enable ie to support :hover on button */
+        behavior:url("/main/css/csshover3.htc");
 	font-family: bold arial, verdana, helvetica, sans-serif;
 	font-size: 12px;
 	margin: 0;
@@ -1465,130 +1467,6 @@ span.radio {
 	background: url(images/close_highlight.gif) no-repeat;
 	padding-left: 20px; 
 } 
-
-
-/*****************************************************
- *  BUTTONS	                                         *
- *****************************************************/
-/* BUTTONS */
-button {
-/*display:block;
-    float:left;*/
-    margin:0 8px 0 0;
-    background-color:#f5f5f5;
-    border:2px solid #909090;
-    border-top:2px solid #eee;
-    border-left:2px solid #eee;
-    -moz-border-radius-topright : 10px;
-    -moz-border-radius-topleft : 10px;
-    -moz-border-radius-bottomright : 10px;
-    -moz-border-radius-bottomleft : 10px;
-
-    font-family:"Lucida Grande", Tahoma, Arial, Verdana, sans-serif;
-    font-size:100%;
-    line-height:130%;
-    text-decoration:none;
-    font-weight:bold;
-    color:#565656;
-    outline:none;
-    cursor:pointer;
-    padding:3px 5px 3px 5px; /* Links */
-}
-button:hover{
-    background-color:#e0e0e0;
-    color:#545454; 
-    border-top:2px solid #eee;
-    border-left:2px solid #eee;
-}
-button:active{
-	background-color:#909090;
-   border:2px solid #909090;
-   color:#fff;
-   outline:none;
-}
-button img{
-    margin:0 10px -3px -3px !important;
-    padding:0;
-    border:none;
-    width:16px;
-    height:16px;
-}
-/* NEGATIVE */
-
-button.negative, .cancel{
-    color:#680000;
-    border-bottom:2px inset #800000;
-    border-right:2px inset #800000;
-    outline:none;
-}
-button.negative, .cancel:hover{
-    background:#f5f5f5;
-    color:#d12f19;
-    border-top:2px solid #eee;
-    border-left:2px solid #eee;
-}
-button.negative:active{
-    background-color:#380000;
-    border:2px solid #380000;
-    color:#fff;
-    outline:none;
-}
-/*including "cross" image*/
-button.cancel{
-	 margin:0 10px -3px -3px !important;
-    padding:3px 1px 1px 23px;
-    /*text-decoration:none;
-    text-align:right;*/
-    width:auto;
-    height:100%;
-    background-position:3%;
-    background-image:url(/main/img/delete.gif);
-    background-repeat:no-repeat;
-}
-/* POSITIVE */
-
-button.positive, .save, .add{
-    color:#529214;
-    border-bottom:2px inset #529220;
-    border-right:2px inset #52922;
-    outline:none;
-}
-button.positive, .save:hover,.add:hover{
-    background-color:#E6EFC2;
-    color:#529214;
-    border-top:2px solid #eee;
-    border-left:2px solid #eee;
-}
-button.positive:active{
-    background-color:#698B22;
-    border:2px solid #556b2f;
-    color:#fff;
-    outline:none;
-}
-/*including "save" image*/
-button.save{
-	 margin:0 10px -3px -3px !important;
-    padding:3px 1px 1px 23px;
-    /*text-decoration:none;
-    text-align:right;*/
-    width:auto;
-    height:100%;
-    background-position:3%;
-    background-image:url(/main/img/accept.png);
-    background-repeat:no-repeat;
-}
-/*including "add" image*/
-button.add{
-	 margin:0 10px -3px -3px !important;
-    padding:3px 1px 1px 23px;
-    /*text-decoration:none;
-    text-align:right;*/
-    width:auto;
-    height:100%;
-    background-position:3%;
-    background-image:url(/main/img/addd.gif);
-    background-repeat:no-repeat;
-}
 /*SOCIAL TOOL*/
 .image-social-content {
     cursor:pointer;
@@ -1663,4 +1541,88 @@ button.add{
     background:#ffffff;
     border-top:1px #9DACBF solid;
     border-bottom:1px #9DACBF solid;
+}
+/*****************************************************
+ *  BUTTONS	                                         *
+ *****************************************************/
+/* BUTTONS */
+button {
+    margin:0 5px 3px 3px !important;
+    background-color: #DFDFDF;
+    border-width: 1px;
+/*    -moz-border-radius-topright : 5px;
+    -moz-border-radius-topleft : 5px;
+    -moz-border-radius-bottomright : 5px;
+    -moz-border-radius-bottomleft : 5px;
+*/
+    font-family: bold arial,verdana,helvetica,sans-serif;
+    font-size: 100%;
+    line-height :130%;
+    text-decoration: none;
+    color: black;
+    cursor: pointer;
+    padding:5px 15px 5px 15px;
+}
+button:hover {
+    background-color:#cbcbcb;
+    color:#545454; 
+    border-style: inset;
+}
+/* button with image */
+button.add, button.save, button.cancel, button.search, button.login {
+    padding-left:30px;
+    background-position:10px;
+    background-repeat:no-repeat;
+}
+/* POSITIVE */
+button.save, button.add, button.search, button.login {
+    background-color:#E5EDF9;
+    border-color: #D4E2F6;
+}
+button.save:hover, button.add:hover, button.search:hover, button.login:hover {
+    border-color: #D4E2F6;    
+    background-color:#D4E2F6;
+}
+/* NEGATIVE */
+button.cancel {
+    background-color:#F8E8E6;
+    border-color: #FFE3DE;
+}
+
+button.cancel:hover {
+    border-color: #F4E1D0;    
+    background-color: #FFE3DE;
+}
+/*including "save" image*/
+button.save {
+    background-image:url(/main/img/button_accept.gif);
+}
+/*including "add" image*/
+button.add {
+    background-image:url(/main/img/button_add.gif);
+}
+
+/*including "cancel" image*/
+button.cancel {
+    background-image:url(/main/img/button_delete.gif);
+}
+/*including "search" image*/
+button.search {
+    background-image:url(/main/img/button_search.gif);
+}
+/*including "login" image*/
+button.login {
+    background-image:url(/main/img/button_login.gif);
+}
+/*including "add" image*/
+button.add{
+	 margin:0 10px -3px -3px !important;
+    padding:3px 1px 1px 23px;
+    /*text-decoration:none;
+    text-align:right;*/
+    width:auto;
+    height:100%;
+    background-position:3%;
+    background-image:url(/main/img/addd.gif);
+    background-repeat:no-repeat;
 }

+ 87 - 125
main/css/baby_orange/default.css

@@ -9,7 +9,9 @@ div.row div.formw {
 	width: 100%;
 }
 /* Redefining html styles */
-body {
+body {
+   /* hack ignored by non-IE to enable ie to support :hover on button */
+        behavior:url("/main/css/csshover3.htc");
 	font-family: arial, verdana, helvetica, sans-serif;
 	font-size: 12px;
 	color: #000;
@@ -1466,130 +1468,6 @@ span.radio {
 	background: url(images/close_highlight.gif) no-repeat;
 	padding-left: 20px; 
 } 
-   
-   
-/*****************************************************
- *  BUTTONS	                                         *
- *****************************************************/
-/* BUTTONS */
-button {
-/*display:block;
-    float:left;*/
-    margin:0 8px 0 0;
-    background-color:#f5f5f5;
-    border:2px solid #909090;
-    border-top:2px solid #eee;
-    border-left:2px solid #eee;
-    -moz-border-radius-topright : 10px;
-    -moz-border-radius-topleft : 10px;
-    -moz-border-radius-bottomright : 10px;
-    -moz-border-radius-bottomleft : 10px;
-
-    font-family:"Lucida Grande", Tahoma, Arial, Verdana, sans-serif;
-    font-size:100%;
-    line-height:130%;
-    text-decoration:none;
-    font-weight:bold;
-    color:#565656;
-    outline:none;
-    cursor:pointer;
-    padding:3px 5px 3px 5px; /* Links */
-}
-button:hover{
-    background-color:#e0e0e0;
-    color:#545454; 
-    border-top:2px solid #eee;
-    border-left:2px solid #eee;
-}
-button:active{
-	background-color:#909090;
-   border:2px solid #909090;
-   color:#fff;
-   outline:none;
-}
-button img{
-    margin:0 10px -3px -3px !important;
-    padding:0;
-    border:none;
-    width:16px;
-    height:16px;
-}
-/* NEGATIVE */
-
-button.negative, .cancel{
-    color:#680000;
-    border-bottom:2px inset #800000;
-    border-right:2px inset #800000;
-    outline:none;
-}
-button.negative, .cancel:hover{
-    background:#f5f5f5;
-    color:#d12f19;
-    border-top:2px solid #eee;
-    border-left:2px solid #eee;
-}
-button.negative:active{
-    background-color:#380000;
-    border:2px solid #380000;
-    color:#fff;
-    outline:none;
-}
-/*including "cross" image*/
-button.cancel{
-	 margin:0 10px -3px -3px !important;
-    padding:3px 1px 1px 23px;
-    /*text-decoration:none;
-    text-align:right;*/
-    width:auto;
-    height:100%;
-    background-position:3%;
-    background-image:url(/main/img/delete.gif);
-    background-repeat:no-repeat;
-}
-/* POSITIVE */
-
-button.positive, .save, .add{
-    color:#529214;
-    border-bottom:2px inset #529220;
-    border-right:2px inset #52922;
-    outline:none;
-}
-button.positive, .save:hover,.add:hover{
-    background-color:#E6EFC2;
-    color:#529214;
-    border-top:2px solid #eee;
-    border-left:2px solid #eee;
-}
-button.positive:active{
-    background-color:#698B22;
-    border:2px solid #556b2f;
-    color:#fff;
-    outline:none;
-}
-/*including "save" image*/
-button.save{
-	 margin:0 10px -3px -3px !important;
-    padding:3px 1px 1px 23px;
-    /*text-decoration:none;
-    text-align:right;*/
-    width:auto;
-    height:100%;
-    background-position:3%;
-    background-image:url(/main/img/accept.png);
-    background-repeat:no-repeat;
-}
-/*including "add" image*/
-button.add{
-	 margin:0 10px -3px -3px !important;
-    padding:3px 1px 1px 23px;
-    /*text-decoration:none;
-    text-align:right;*/
-    width:auto;
-    height:100%;
-    background-position:3%;
-    background-image:url(/main/img/addd.gif);
-    background-repeat:no-repeat;
-}
 /*SOCIAL TOOL*/
 .image-social-content {
     cursor:pointer;
@@ -1664,4 +1542,88 @@ button.add{
     background:#ffffff;
     border-top:1px #9DACBF solid;
     border-bottom:1px #9DACBF solid;
+}
+/*****************************************************
+ *  BUTTONS	                                         *
+ *****************************************************/
+/* BUTTONS */
+button {
+    margin:0 5px 3px 3px !important;
+    background-color: #DFDFDF;
+    border-width: 1px;
+/*    -moz-border-radius-topright : 5px;
+    -moz-border-radius-topleft : 5px;
+    -moz-border-radius-bottomright : 5px;
+    -moz-border-radius-bottomleft : 5px;
+*/
+    font-family: bold arial,verdana,helvetica,sans-serif;
+    font-size: 100%;
+    line-height :130%;
+    text-decoration: none;
+    color: black;
+    cursor: pointer;
+    padding:5px 15px 5px 15px;
+}
+button:hover {
+    background-color:#cbcbcb;
+    color:#545454; 
+    border-style: inset;
+}
+/* button with image */
+button.add, button.save, button.cancel, button.search, button.login {
+    padding-left:30px;
+    background-position:10px;
+    background-repeat:no-repeat;
+}
+/* POSITIVE */
+button.save, button.add, button.search, button.login {
+    background-color:#E5EDF9;
+    border-color: #D4E2F6;
+}
+button.save:hover, button.add:hover, button.search:hover, button.login:hover {
+    border-color: #D4E2F6;    
+    background-color:#D4E2F6;
+}
+/* NEGATIVE */
+button.cancel {
+    background-color:#F8E8E6;
+    border-color: #FFE3DE;
+}
+
+button.cancel:hover {
+    border-color: #F4E1D0;    
+    background-color: #FFE3DE;
+}
+/*including "save" image*/
+button.save {
+    background-image:url(/main/img/button_accept.gif);
+}
+/*including "add" image*/
+button.add {
+    background-image:url(/main/img/button_add.gif);
+}
+
+/*including "cancel" image*/
+button.cancel {
+    background-image:url(/main/img/button_delete.gif);
+}
+/*including "search" image*/
+button.search {
+    background-image:url(/main/img/button_search.gif);
+}
+/*including "login" image*/
+button.login {
+    background-image:url(/main/img/button_login.gif);
+}
+/*including "add" image*/
+button.add{
+	 margin:0 10px -3px -3px !important;
+    padding:3px 1px 1px 23px;
+    /*text-decoration:none;
+    text-align:right;*/
+    width:auto;
+    height:100%;
+    background-position:3%;
+    background-image:url(/main/img/addd.gif);
+    background-repeat:no-repeat;
 }

+ 88 - 126
main/css/corporate/default.css

@@ -9,7 +9,9 @@ div.row div.formw {
 	width: 100%;
 }
 /* Redefining html styles */
-body {
+body {
+   /* hack ignored by non-IE to enable ie to support :hover on button */
+        behavior:url("/main/css/csshover3.htc");
 	font-family: bold arial, verdana, helvetica, sans-serif;
 	font-size: 12px;
 	margin: 0;
@@ -1473,130 +1475,6 @@ span.radio {
 	background: url(images/close_highlight.gif) no-repeat;
 	padding-left: 20px; 
 } 
-
-
-/*****************************************************
- *  BUTTONS	                                         *
- *****************************************************/
-/* BUTTONS */
-button {
-/*display:block;
-    float:left;*/
-    margin:0 8px 0 0;
-    background-color:#f5f5f5;
-    border:2px solid #909090;
-    border-top:2px solid #eee;
-    border-left:2px solid #eee;
-    -moz-border-radius-topright : 10px;
-    -moz-border-radius-topleft : 10px;
-    -moz-border-radius-bottomright : 10px;
-    -moz-border-radius-bottomleft : 10px;
-
-    font-family:"Lucida Grande", Tahoma, Arial, Verdana, sans-serif;
-    font-size:100%;
-    line-height:130%;
-    text-decoration:none;
-    font-weight:bold;
-    color:#565656;
-    outline:none;
-    cursor:pointer;
-    padding:3px 5px 3px 5px; /* Links */
-}
-button:hover{
-    background-color:#e0e0e0;
-    color:#545454; 
-    border-top:2px solid #eee;
-    border-left:2px solid #eee;
-}
-button:active{
-	background-color:#909090;
-   border:2px solid #909090;
-   color:#fff;
-   outline:none;
-}
-button img{
-    margin:0 10px -3px -3px !important;
-    padding:0;
-    border:none;
-    width:16px;
-    height:16px;
-}
-/* NEGATIVE */
-
-button.negative, .cancel{
-    color:#680000;
-    border-bottom:2px inset #800000;
-    border-right:2px inset #800000;
-    outline:none;
-}
-button.negative, .cancel:hover{
-    background:#f5f5f5;
-    color:#d12f19;
-    border-top:2px solid #eee;
-    border-left:2px solid #eee;
-}
-button.negative:active{
-    background-color:#380000;
-    border:2px solid #380000;
-    color:#fff;
-    outline:none;
-}
-/*including "cross" image*/
-button.cancel{
-	 margin:0 10px -3px -3px !important;
-    padding:3px 1px 1px 23px;
-    /*text-decoration:none;
-    text-align:right;*/
-    width:auto;
-    height:100%;
-    background-position:3%;
-    background-image:url(/main/img/delete.gif);
-    background-repeat:no-repeat;
-}
-/* POSITIVE */
-
-button.positive, .save, .add{
-    color:#529214;
-    border-bottom:2px inset #529220;
-    border-right:2px inset #52922;
-    outline:none;
-}
-button.positive, .save:hover,.add:hover{
-    background-color:#E6EFC2;
-    color:#529214;
-    border-top:2px solid #eee;
-    border-left:2px solid #eee;
-}
-button.positive:active{
-    background-color:#698B22;
-    border:2px solid #556b2f;
-    color:#fff;
-    outline:none;
-}
-/*including "save" image*/
-button.save{
-	 margin:0 10px -3px -3px !important;
-    padding:3px 1px 1px 23px;
-    /*text-decoration:none;
-    text-align:right;*/
-    width:auto;
-    height:100%;
-    background-position:3%;
-    background-image:url(/main/img/accept.png);
-    background-repeat:no-repeat;
-}
-/*including "add" image*/
-button.add{
-	 margin:0 10px -3px -3px !important;
-    padding:3px 1px 1px 23px;
-    /*text-decoration:none;
-    text-align:right;*/
-    width:auto;
-    height:100%;
-    background-position:3%;
-    background-image:url(/main/img/addd.gif);
-    background-repeat:no-repeat;
-}
  /*SOCIAL TOOL*/
 .image-social-content {
     cursor:pointer;
@@ -1671,4 +1549,88 @@ button.add{
     background:#ffffff;
     border-top:1px #9DACBF solid;
     border-bottom:1px #9DACBF solid;
-} 
+}
+/*****************************************************
+ *  BUTTONS	                                         *
+ *****************************************************/
+/* BUTTONS */
+button {
+    margin:0 5px 3px 3px !important;
+    background-color: #DFDFDF;
+    border-width: 1px;
+/*    -moz-border-radius-topright : 5px;
+    -moz-border-radius-topleft : 5px;
+    -moz-border-radius-bottomright : 5px;
+    -moz-border-radius-bottomleft : 5px;
+*/
+    font-family: bold arial,verdana,helvetica,sans-serif;
+    font-size: 100%;
+    line-height :130%;
+    text-decoration: none;
+    color: black;
+    cursor: pointer;
+    padding:5px 15px 5px 15px;
+}
+button:hover {
+    background-color:#cbcbcb;
+    color:#545454; 
+    border-style: inset;
+}
+/* button with image */
+button.add, button.save, button.cancel, button.search, button.login {
+    padding-left:30px;
+    background-position:10px;
+    background-repeat:no-repeat;
+}
+/* POSITIVE */
+button.save, button.add, button.search, button.login {
+    background-color:#E5EDF9;
+    border-color: #D4E2F6;
+}
+button.save:hover, button.add:hover, button.search:hover, button.login:hover {
+    border-color: #D4E2F6;    
+    background-color:#D4E2F6;
+}
+/* NEGATIVE */
+button.cancel {
+    background-color:#F8E8E6;
+    border-color: #FFE3DE;
+}
+
+button.cancel:hover {
+    border-color: #F4E1D0;    
+    background-color: #FFE3DE;
+}
+/*including "save" image*/
+button.save {
+    background-image:url(/main/img/button_accept.gif);
+}
+/*including "add" image*/
+button.add {
+    background-image:url(/main/img/button_add.gif);
+}
+
+/*including "cancel" image*/
+button.cancel {
+    background-image:url(/main/img/button_delete.gif);
+}
+/*including "search" image*/
+button.search {
+    background-image:url(/main/img/button_search.gif);
+}
+/*including "login" image*/
+button.login {
+    background-image:url(/main/img/button_login.gif);
+}
+/*including "add" image*/
+button.add{
+	 margin:0 10px -3px -3px !important;
+    padding:3px 1px 1px 23px;
+    /*text-decoration:none;
+    text-align:right;*/
+    width:auto;
+    height:100%;
+    background-position:3%;
+    background-image:url(/main/img/addd.gif);
+    background-repeat:no-repeat;
+}

+ 88 - 127
main/css/cosmic_campus/default.css

@@ -9,7 +9,9 @@ div.row div.formw {
 	width: 100%;
 }
 /* Redefining html styles */
-body {
+body {
+   /* hack ignored by non-IE to enable ie to support :hover on button */
+        behavior:url("/main/css/csshover3.htc");
 	font-family: arial, verdana, helvetica, sans-serif;
 	font-size: 12px;
 	color: #000;
@@ -1499,131 +1501,6 @@ span.radio {
 	background: url(images/close_highlight.gif) no-repeat;
 	padding-left: 20px; 
 } 
-
-
-
-/*****************************************************
- *  BUTTONS	                                         *
- *****************************************************/
-/* BUTTONS */
-button {
-/*display:block;
-    float:left;*/
-    margin:0 8px 0 0;
-    background-color:#f5f5f5;
-    border:2px solid #909090;
-    border-top:2px solid #eee;
-    border-left:2px solid #eee;
-    -moz-border-radius-topright : 10px;
-    -moz-border-radius-topleft : 10px;
-    -moz-border-radius-bottomright : 10px;
-    -moz-border-radius-bottomleft : 10px;
-
-    font-family:"Lucida Grande", Tahoma, Arial, Verdana, sans-serif;
-    font-size:100%;
-    line-height:130%;
-    text-decoration:none;
-    font-weight:bold;
-    color:#565656;
-    outline:none;
-    cursor:pointer;
-    padding:3px 5px 3px 5px; /* Links */
-}
-button:hover{
-    background-color:#e0e0e0;
-    color:#545454; 
-    border-top:2px solid #eee;
-    border-left:2px solid #eee;
-}
-button:active{
-	background-color:#909090;
-   border:2px solid #909090;
-   color:#fff;
-   outline:none;
-}
-button img{
-    margin:0 10px -3px -3px !important;
-    padding:0;
-    border:none;
-    width:16px;
-    height:16px;
-}
-/* NEGATIVE */
-
-button.negative, .cancel{
-    color:#680000;
-    border-bottom:2px inset #800000;
-    border-right:2px inset #800000;
-    outline:none;
-}
-button.negative, .cancel:hover{
-    background:#f5f5f5;
-    color:#d12f19;
-    border-top:2px solid #eee;
-    border-left:2px solid #eee;
-}
-button.negative:active{
-    background-color:#380000;
-    border:2px solid #380000;
-    color:#fff;
-    outline:none;
-}
-/*including "cross" image*/
-button.cancel{
-	 margin:0 10px -3px -3px !important;
-    padding:3px 1px 1px 23px;
-    /*text-decoration:none;
-    text-align:right;*/
-    width:auto;
-    height:100%;
-    background-position:3%;
-    background-image:url(/main/img/delete.gif);
-    background-repeat:no-repeat;
-}
-/* POSITIVE */
-
-button.positive, .save, .add{
-    color:#529214;
-    border-bottom:2px inset #529220;
-    border-right:2px inset #52922;
-    outline:none;
-}
-button.positive, .save:hover,.add:hover{
-    background-color:#E6EFC2;
-    color:#529214;
-    border-top:2px solid #eee;
-    border-left:2px solid #eee;
-}
-button.positive:active{
-    background-color:#698B22;
-    border:2px solid #556b2f;
-    color:#fff;
-    outline:none;
-}
-/*including "save" image*/
-button.save{
-	 margin:0 10px -3px -3px !important;
-    padding:3px 1px 1px 23px;
-    /*text-decoration:none;
-    text-align:right;*/
-    width:auto;
-    height:100%;
-    background-position:3%;
-    background-image:url(/main/img/accept.png);
-    background-repeat:no-repeat;
-}
-/*including "add" image*/
-button.add{
-	 margin:0 10px -3px -3px !important;
-    padding:3px 1px 1px 23px;
-    /*text-decoration:none;
-    text-align:right;*/
-    width:auto;
-    height:100%;
-    background-position:3%;
-    background-image:url(/main/img/addd.gif);
-    background-repeat:no-repeat;
-}
 /*SOCIAL TOOL*/
 .image-social-content {
     cursor:pointer;
@@ -1698,4 +1575,88 @@ button.add{
     background:#ffffff;
     border-top:1px #9DACBF solid;
     border-bottom:1px #9DACBF solid;
-}  
+}
+/*****************************************************
+ *  BUTTONS	                                         *
+ *****************************************************/
+/* BUTTONS */
+button {
+    margin:0 5px 3px 3px !important;
+    background-color: #DFDFDF;
+    border-width: 1px;
+/*    -moz-border-radius-topright : 5px;
+    -moz-border-radius-topleft : 5px;
+    -moz-border-radius-bottomright : 5px;
+    -moz-border-radius-bottomleft : 5px;
+*/
+    font-family: bold arial,verdana,helvetica,sans-serif;
+    font-size: 100%;
+    line-height :130%;
+    text-decoration: none;
+    color: black;
+    cursor: pointer;
+    padding:5px 15px 5px 15px;
+}
+button:hover {
+    background-color:#cbcbcb;
+    color:#545454; 
+    border-style: inset;
+}
+/* button with image */
+button.add, button.save, button.cancel, button.search, button.login {
+    padding-left:30px;
+    background-position:10px;
+    background-repeat:no-repeat;
+}
+/* POSITIVE */
+button.save, button.add, button.search, button.login {
+    background-color:#E5EDF9;
+    border-color: #D4E2F6;
+}
+button.save:hover, button.add:hover, button.search:hover, button.login:hover {
+    border-color: #D4E2F6;    
+    background-color:#D4E2F6;
+}
+/* NEGATIVE */
+button.cancel {
+    background-color:#F8E8E6;
+    border-color: #FFE3DE;
+}
+
+button.cancel:hover {
+    border-color: #F4E1D0;    
+    background-color: #FFE3DE;
+}
+/*including "save" image*/
+button.save {
+    background-image:url(/main/img/button_accept.gif);
+}
+/*including "add" image*/
+button.add {
+    background-image:url(/main/img/button_add.gif);
+}
+
+/*including "cancel" image*/
+button.cancel {
+    background-image:url(/main/img/button_delete.gif);
+}
+/*including "search" image*/
+button.search {
+    background-image:url(/main/img/button_search.gif);
+}
+/*including "login" image*/
+button.login {
+    background-image:url(/main/img/button_login.gif);
+}
+/*including "add" image*/
+button.add{
+	 margin:0 10px -3px -3px !important;
+    padding:3px 1px 1px 23px;
+    /*text-decoration:none;
+    text-align:right;*/
+    width:auto;
+    height:100%;
+    background-position:3%;
+    background-image:url(/main/img/addd.gif);
+    background-repeat:no-repeat;
+}

Diferenças do arquivo suprimidas por serem muito extensas
+ 11 - 0
main/css/csshover3.htc


+ 88 - 126
main/css/dokeos_classic/default.css

@@ -1,7 +1,9 @@
 /*****************************************************
  *  MAIN		                                    *
  *****************************************************/
-body {
+body {
+   /* hack ignored by non-IE to enable ie to support :hover on button */
+        behavior:url("/main/css/csshover3.htc");
 	font-family: arial, verdana, helvetica, sans-serif;
 	font-size: 12px;
 	color: #000;
@@ -1921,130 +1923,6 @@ padding-top: 0px;	padding-right: 0px;	padding-bottom: 0px;	padding-left: 0px;}
 	margin-top:115px;
 	margin-right:-100px;
    }
-   
-   
- /*****************************************************
- *  BUTTONS	                                         *
- *****************************************************/
-/* BUTTONS */
-button {
-/*display:block;
-    float:left;*/
-    margin:0 8px 0 0;
-    background-color:#f5f5f5;
-    border:2px solid #909090;
-    border-top:2px solid #eee;
-    border-left:2px solid #eee;
-    -moz-border-radius-topright : 10px;
-    -moz-border-radius-topleft : 10px;
-    -moz-border-radius-bottomright : 10px;
-    -moz-border-radius-bottomleft : 10px;
-
-    font-family:"Lucida Grande", Tahoma, Arial, Verdana, sans-serif;
-    font-size:100%;
-    line-height:130%;
-    text-decoration:none;
-    font-weight:bold;
-    color:#565656;
-    outline:none;
-    cursor:pointer;
-    padding:3px 5px 3px 5px; /* Links */
-}
-button:hover{
-    background-color:#e0e0e0;
-    color:#545454; 
-    border-top:2px solid #eee;
-    border-left:2px solid #eee;
-}
-button:active{
-	background-color:#909090;
-   border:2px solid #909090;
-   color:#fff;
-   outline:none;
-}
-button img{
-    margin:0 10px -3px -3px !important;
-    padding:0;
-    border:none;
-    width:16px;
-    height:16px;
-}
-/* NEGATIVE */
-
-button.negative, .cancel{
-    color:#680000;
-    border-bottom:2px inset #800000;
-    border-right:2px inset #800000;
-    outline:none;
-}
-button.negative, .cancel:hover{
-    background:#f5f5f5;
-    color:#d12f19;
-    border-top:2px solid #eee;
-    border-left:2px solid #eee;
-}
-button.negative:active{
-    background-color:#380000;
-    border:2px solid #380000;
-    color:#fff;
-    outline:none;
-}
-/*including "cross" image*/
-button.cancel{
-	 margin:0 10px -3px -3px !important;
-    padding:3px 1px 1px 23px;
-    /*text-decoration:none;
-    text-align:right;*/
-    width:auto;
-    height:100%;
-    background-position:3%;
-    background-image:url(/main/img/delete.gif);
-    background-repeat:no-repeat;
-}
-/* POSITIVE */
-
-button.positive, .save, .add{
-    color:#529214;
-    border-bottom:2px inset #529220;
-    border-right:2px inset #52922;
-    outline:none;
-}
-button.positive, .save:hover,.add:hover{
-    background-color:#E6EFC2;
-    color:#529214;
-    border-top:2px solid #eee;
-    border-left:2px solid #eee;
-}
-button.positive:active{
-    background-color:#698B22;
-    border:2px solid #556b2f;
-    color:#fff;
-    outline:none;
-}
-/*including "save" image*/
-button.save{
-	 margin:0 10px -3px -3px !important;
-    padding:3px 1px 1px 23px;
-    /*text-decoration:none;
-    text-align:right;*/
-    width:auto;
-    height:100%;
-    background-position:3%;
-    background-image:url(/main/img/accept.png);
-    background-repeat:no-repeat;
-}
-/*including "add" image*/
-button.add{
-	 margin:0 10px -3px -3px !important;
-    padding:3px 1px 1px 23px;
-    /*text-decoration:none;
-    text-align:right;*/
-    width:auto;
-    height:100%;
-    background-position:3%;
-    background-image:url(/main/img/addd.gif);
-    background-repeat:no-repeat;
-}
 /*SOCIAL TOOL*/
 .image-social-content {
     cursor:pointer;
@@ -2119,4 +1997,88 @@ button.add{
     background:#ffffff;
     border-top:1px #9DACBF solid;
     border-bottom:1px #9DACBF solid;
-}   
+}
+/*****************************************************
+ *  BUTTONS	                                         *
+ *****************************************************/
+/* BUTTONS */
+button {
+    margin:0 5px 3px 3px !important;
+    background-color: #DFDFDF;
+    border-width: 1px;
+/*    -moz-border-radius-topright : 5px;
+    -moz-border-radius-topleft : 5px;
+    -moz-border-radius-bottomright : 5px;
+    -moz-border-radius-bottomleft : 5px;
+*/
+    font-family: bold arial,verdana,helvetica,sans-serif;
+    font-size: 100%;
+    line-height :130%;
+    text-decoration: none;
+    color: black;
+    cursor: pointer;
+    padding:5px 15px 5px 15px;
+}
+button:hover {
+    background-color:#cbcbcb;
+    color:#545454; 
+    border-style: inset;
+}
+/* button with image */
+button.add, button.save, button.cancel, button.search, button.login {
+    padding-left:30px;
+    background-position:10px;
+    background-repeat:no-repeat;
+}
+/* POSITIVE */
+button.save, button.add, button.search, button.login {
+    background-color:#E5EDF9;
+    border-color: #D4E2F6;
+}
+button.save:hover, button.add:hover, button.search:hover, button.login:hover {
+    border-color: #D4E2F6;    
+    background-color:#D4E2F6;
+}
+/* NEGATIVE */
+button.cancel {
+    background-color:#F8E8E6;
+    border-color: #FFE3DE;
+}
+
+button.cancel:hover {
+    border-color: #F4E1D0;    
+    background-color: #FFE3DE;
+}
+/*including "save" image*/
+button.save {
+    background-image:url(/main/img/button_accept.gif);
+}
+/*including "add" image*/
+button.add {
+    background-image:url(/main/img/button_add.gif);
+}
+
+/*including "cancel" image*/
+button.cancel {
+    background-image:url(/main/img/button_delete.gif);
+}
+/*including "search" image*/
+button.search {
+    background-image:url(/main/img/button_search.gif);
+}
+/*including "login" image*/
+button.login {
+    background-image:url(/main/img/button_login.gif);
+}
+/*including "add" image*/
+button.add{
+	 margin:0 10px -3px -3px !important;
+    padding:3px 1px 1px 23px;
+    /*text-decoration:none;
+    text-align:right;*/
+    width:auto;
+    height:100%;
+    background-position:3%;
+    background-image:url(/main/img/addd.gif);
+    background-repeat:no-repeat;
+}

+ 87 - 125
main/css/dokeos_classic_2D/default.css

@@ -4,7 +4,9 @@
 ==============================================================================
 */
 
-body {
+body {
+   /* hack ignored by non-IE to enable ie to support :hover on button */
+        behavior:url("/main/css/csshover3.htc");
 	background-color: #fff;
 	color: #000;
 	font-family: arial, verdana, helvetica, sans-serif;
@@ -2577,130 +2579,6 @@ span.radio {
 	background: url(images/close_highlight.gif) no-repeat;
 	padding-left: 20px; 
 } 
-
-
-/*****************************************************
- *  BUTTONS	                                         *
- *****************************************************/
-/* BUTTONS */
-button {
-/*display:block;
-    float:left;*/
-    margin:0 8px 0 0;
-    background-color:#f5f5f5;
-    border:2px solid #909090;
-    border-top:2px solid #eee;
-    border-left:2px solid #eee;
-    -moz-border-radius-topright : 10px;
-    -moz-border-radius-topleft : 10px;
-    -moz-border-radius-bottomright : 10px;
-    -moz-border-radius-bottomleft : 10px;
-
-    font-family:"Lucida Grande", Tahoma, Arial, Verdana, sans-serif;
-    font-size:100%;
-    line-height:130%;
-    text-decoration:none;
-    font-weight:bold;
-    color:#565656;
-    outline:none;
-    cursor:pointer;
-    padding:3px 5px 3px 5px; /* Links */
-}
-button:hover{
-    background-color:#e0e0e0;
-    color:#545454; 
-    border-top:2px solid #eee;
-    border-left:2px solid #eee;
-}
-button:active{
-	background-color:#909090;
-   border:2px solid #909090;
-   color:#fff;
-   outline:none;
-}
-button img{
-    margin:0 10px -3px -3px !important;
-    padding:0;
-    border:none;
-    width:16px;
-    height:16px;
-}
-/* NEGATIVE */
-
-button.negative, .cancel{
-    color:#680000;
-    border-bottom:2px inset #800000;
-    border-right:2px inset #800000;
-    outline:none;
-}
-button.negative, .cancel:hover{
-    background:#f5f5f5;
-    color:#d12f19;
-    border-top:2px solid #eee;
-    border-left:2px solid #eee;
-}
-button.negative:active{
-    background-color:#380000;
-    border:2px solid #380000;
-    color:#fff;
-    outline:none;
-}
-/*including "cross" image*/
-button.cancel{
-	 margin:0 10px -3px -3px !important;
-    padding:3px 1px 1px 23px;
-    /*text-decoration:none;
-    text-align:right;*/
-    width:auto;
-    height:100%;
-    background-position:3%;
-    background-image:url(/main/img/delete.gif);
-    background-repeat:no-repeat;
-}
-/* POSITIVE */
-
-button.positive, .save, .add{
-    color:#529214;
-    border-bottom:2px inset #529220;
-    border-right:2px inset #52922;
-    outline:none;
-}
-button.positive, .save:hover,.add:hover{
-    background-color:#E6EFC2;
-    color:#529214;
-    border-top:2px solid #eee;
-    border-left:2px solid #eee;
-}
-button.positive:active{
-    background-color:#698B22;
-    border:2px solid #556b2f;
-    color:#fff;
-    outline:none;
-}
-/*including "save" image*/
-button.save{
-	 margin:0 10px -3px -3px !important;
-    padding:3px 1px 1px 23px;
-    /*text-decoration:none;
-    text-align:right;*/
-    width:auto;
-    height:100%;
-    background-position:3%;
-    background-image:url(/main/img/accept.png);
-    background-repeat:no-repeat;
-}
-/*including "add" image*/
-button.add{
-	 margin:0 10px -3px -3px !important;
-    padding:3px 1px 1px 23px;
-    /*text-decoration:none;
-    text-align:right;*/
-    width:auto;
-    height:100%;
-    background-position:3%;
-    background-image:url(/main/img/addd.gif);
-    background-repeat:no-repeat;
-}
 /*SOCIAL TOOL*/
 .image-social-content {
     cursor:pointer;
@@ -2775,4 +2653,88 @@ button.add{
     background:#ffffff;
     border-top:1px #9DACBF solid;
     border-bottom:1px #9DACBF solid;
+}
+/*****************************************************
+ *  BUTTONS	                                         *
+ *****************************************************/
+/* BUTTONS */
+button {
+    margin:0 5px 3px 3px !important;
+    background-color: #DFDFDF;
+    border-width: 1px;
+/*    -moz-border-radius-topright : 5px;
+    -moz-border-radius-topleft : 5px;
+    -moz-border-radius-bottomright : 5px;
+    -moz-border-radius-bottomleft : 5px;
+*/
+    font-family: bold arial,verdana,helvetica,sans-serif;
+    font-size: 100%;
+    line-height :130%;
+    text-decoration: none;
+    color: black;
+    cursor: pointer;
+    padding:5px 15px 5px 15px;
+}
+button:hover {
+    background-color:#cbcbcb;
+    color:#545454; 
+    border-style: inset;
+}
+/* button with image */
+button.add, button.save, button.cancel, button.search, button.login {
+    padding-left:30px;
+    background-position:10px;
+    background-repeat:no-repeat;
+}
+/* POSITIVE */
+button.save, button.add, button.search, button.login {
+    background-color:#E5EDF9;
+    border-color: #D4E2F6;
+}
+button.save:hover, button.add:hover, button.search:hover, button.login:hover {
+    border-color: #D4E2F6;    
+    background-color:#D4E2F6;
+}
+/* NEGATIVE */
+button.cancel {
+    background-color:#F8E8E6;
+    border-color: #FFE3DE;
+}
+
+button.cancel:hover {
+    border-color: #F4E1D0;    
+    background-color: #FFE3DE;
+}
+/*including "save" image*/
+button.save {
+    background-image:url(/main/img/button_accept.gif);
+}
+/*including "add" image*/
+button.add {
+    background-image:url(/main/img/button_add.gif);
+}
+
+/*including "cancel" image*/
+button.cancel {
+    background-image:url(/main/img/button_delete.gif);
+}
+/*including "search" image*/
+button.search {
+    background-image:url(/main/img/button_search.gif);
+}
+/*including "login" image*/
+button.login {
+    background-image:url(/main/img/button_login.gif);
+}
+/*including "add" image*/
+button.add{
+	 margin:0 10px -3px -3px !important;
+    padding:3px 1px 1px 23px;
+    /*text-decoration:none;
+    text-align:right;*/
+    width:auto;
+    height:100%;
+    background-position:3%;
+    background-image:url(/main/img/addd.gif);
+    background-repeat:no-repeat;
 }

+ 87 - 123
main/css/medical/default.css

@@ -1,7 +1,9 @@
 /*****************************************************
  *  MAIN - MEDICAL CSS		                         *
  *****************************************************/
-body {
+body {
+   /* hack ignored by non-IE to enable ie to support :hover on button */
+        behavior:url("/main/css/csshover3.htc");
 	font-family: bold arial, verdana, helvetica, sans-serif;
 	font-size: 12px;
 	color: #000;
@@ -1976,128 +1978,6 @@ span.radio {
 	background: url(images/close_highlight.gif) no-repeat;
 	padding-left: 20px; 
 } 
-/*****************************************************
- *  BUTTONS	                                         *
- *****************************************************/
-/* BUTTONS */
-button {
-/*display:block;
-    float:left;*/
-    margin:0 8px 0 0;
-    background-color:#f5f5f5;
-    border:2px solid #909090;
-    border-top:2px solid #eee;
-    border-left:2px solid #eee;
-    -moz-border-radius-topright : 10px;
-    -moz-border-radius-topleft : 10px;
-    -moz-border-radius-bottomright : 10px;
-    -moz-border-radius-bottomleft : 10px;
-
-    font-family:"Lucida Grande", Tahoma, Arial, Verdana, sans-serif;
-    font-size:100%;
-    line-height:130%;
-    text-decoration:none;
-    font-weight:bold;
-    color:#565656;
-    outline:none;
-    cursor:pointer;
-    padding:3px 5px 3px 5px; /* Links */
-}
-button:hover{
-    background-color:#e0e0e0;
-    color:#545454; 
-    border-top:2px solid #eee;
-    border-left:2px solid #eee;
-}
-button:active{
-	background-color:#909090;
-   border:2px solid #909090;
-   color:#fff;
-   outline:none;
-}
-button img{
-    margin:0 10px -3px -3px !important;
-    padding:0;
-    border:none;
-    width:16px;
-    height:16px;
-}
-/* NEGATIVE */
-
-button.negative, .cancel{
-    color:#680000;
-    border-bottom:2px inset #800000;
-    border-right:2px inset #800000;
-    outline:none;
-}
-button.negative, .cancel:hover{
-    background:#f5f5f5;
-    color:#d12f19;
-    border-top:2px solid #eee;
-    border-left:2px solid #eee;
-}
-button.negative:active{
-    background-color:#380000;
-    border:2px solid #380000;
-    color:#fff;
-    outline:none;
-}
-/*including "cross" image*/
-button.cancel{
-	 margin:0 10px -3px -3px !important;
-    padding:3px 1px 1px 23px;
-    /*text-decoration:none;
-    text-align:right;*/
-    width:auto;
-    height:100%;
-    background-position:3%;
-    background-image:url(/main/img/delete.gif);
-    background-repeat:no-repeat;
-}
-/* POSITIVE */
-
-button.positive, .save, .add{
-    color:#529214;
-    border-bottom:2px inset #529220;
-    border-right:2px inset #52922;
-    outline:none;
-}
-button.positive, .save:hover,.add:hover{
-    background-color:#E6EFC2;
-    color:#529214;
-    border-top:2px solid #eee;
-    border-left:2px solid #eee;
-}
-button.positive:active{
-    background-color:#698B22;
-    border:2px solid #556b2f;
-    color:#fff;
-    outline:none;
-}
-/*including "save" image*/
-button.save{
-	 margin:0 10px -3px -3px !important;
-    padding:3px 1px 1px 23px;
-    /*text-decoration:none;
-    text-align:right;*/
-    width:auto;
-    height:100%;
-    background-position:3%;
-    background-image:url(/main/img/accept.png);
-    background-repeat:no-repeat;
-}
-/*including "add" image*/
-button.add{
-	 margin:0 10px -3px -3px !important;
-    padding:3px 1px 1px 23px;
-    /*text-decoration:none;
-    text-align:right;*/
-    width:auto;
-    height:100%;
-    background-position:3%;
-    background-image:url(/main/img/addd.gif);
-    background-repeat:no-repeat;
-}
 /*SOCIAL TOOL*/
 .image-social-content {
     cursor:pointer;
@@ -2172,4 +2052,88 @@ button.add{
     background:#ffffff;
     border-top:1px #9DACBF solid;
     border-bottom:1px #9DACBF solid;
+}
+/*****************************************************
+ *  BUTTONS	                                         *
+ *****************************************************/
+/* BUTTONS */
+button {
+    margin:0 5px 3px 3px !important;
+    background-color: #DFDFDF;
+    border-width: 1px;
+/*    -moz-border-radius-topright : 5px;
+    -moz-border-radius-topleft : 5px;
+    -moz-border-radius-bottomright : 5px;
+    -moz-border-radius-bottomleft : 5px;
+*/
+    font-family: bold arial,verdana,helvetica,sans-serif;
+    font-size: 100%;
+    line-height :130%;
+    text-decoration: none;
+    color: black;
+    cursor: pointer;
+    padding:5px 15px 5px 15px;
+}
+button:hover {
+    background-color:#cbcbcb;
+    color:#545454; 
+    border-style: inset;
+}
+/* button with image */
+button.add, button.save, button.cancel, button.search, button.login {
+    padding-left:30px;
+    background-position:10px;
+    background-repeat:no-repeat;
+}
+/* POSITIVE */
+button.save, button.add, button.search, button.login {
+    background-color:#E5EDF9;
+    border-color: #D4E2F6;
+}
+button.save:hover, button.add:hover, button.search:hover, button.login:hover {
+    border-color: #D4E2F6;    
+    background-color:#D4E2F6;
+}
+/* NEGATIVE */
+button.cancel {
+    background-color:#F8E8E6;
+    border-color: #FFE3DE;
+}
+
+button.cancel:hover {
+    border-color: #F4E1D0;    
+    background-color: #FFE3DE;
+}
+/*including "save" image*/
+button.save {
+    background-image:url(/main/img/button_accept.gif);
+}
+/*including "add" image*/
+button.add {
+    background-image:url(/main/img/button_add.gif);
+}
+
+/*including "cancel" image*/
+button.cancel {
+    background-image:url(/main/img/button_delete.gif);
+}
+/*including "search" image*/
+button.search {
+    background-image:url(/main/img/button_search.gif);
+}
+/*including "login" image*/
+button.login {
+    background-image:url(/main/img/button_login.gif);
+}
+/*including "add" image*/
+button.add{
+	 margin:0 10px -3px -3px !important;
+    padding:3px 1px 1px 23px;
+    /*text-decoration:none;
+    text-align:right;*/
+    width:auto;
+    height:100%;
+    background-position:3%;
+    background-image:url(/main/img/addd.gif);
+    background-repeat:no-repeat;
 }

BIN
main/css/public_admin/.default.css.swp


+ 87 - 122
main/css/public_admin/default.css

@@ -2,6 +2,8 @@
  *  MAIN  - PUBLIC ADMIN CSS		                 *                   
  *****************************************************/
 body {
+        /* hack ignored by non-IE to enable ie to support :hover on button */
+        behavior:url("/main/css/csshover3.htc");
 	font-family: bold arial, verdana, helvetica, sans-serif;
 	font-size: 12px;
 	color: #000;
@@ -2017,129 +2019,8 @@ span.radio {
 	background: url(images/close_highlight.gif) no-repeat;
 	padding-left: 20px; 
 } 
+
 
-/*****************************************************
- *  BUTTONS	                                         *
- *****************************************************/
-/* BUTTONS */
-button {
-/*display:block;
-    float:left;*/
-    margin:0 8px 0 0;
-    background-color:#f5f5f5;
-    border:2px solid #909090;
-    border-top:2px solid #eee;
-    border-left:2px solid #eee;
-    -moz-border-radius-topright : 10px;
-    -moz-border-radius-topleft : 10px;
-    -moz-border-radius-bottomright : 10px;
-    -moz-border-radius-bottomleft : 10px;
-
-    font-family:"Lucida Grande", Tahoma, Arial, Verdana, sans-serif;
-    font-size:100%;
-    line-height:130%;
-    text-decoration:none;
-    font-weight:bold;
-    color:#565656;
-    outline:none;
-    cursor:pointer;
-    padding:3px 5px 3px 5px; /* Links */
-}
-button:hover{
-    background-color:#e0e0e0;
-    color:#545454; 
-    border-top:2px solid #eee;
-    border-left:2px solid #eee;
-}
-button:active{
-	background-color:#909090;
-   border:2px solid #909090;
-   color:#fff;
-   outline:none;
-}
-button img{
-    margin:0 10px -3px -3px !important;
-    padding:0;
-    border:none;
-    width:16px;
-    height:16px;
-}
-/* NEGATIVE */
-
-button.negative, .cancel{
-    color:#680000;
-    border-bottom:2px inset #800000;
-    border-right:2px inset #800000;
-    outline:none;
-}
-button.negative, .cancel:hover{
-    background:#f5f5f5;
-    color:#d12f19;
-    border-top:2px solid #eee;
-    border-left:2px solid #eee;
-}
-button.negative:active{
-    background-color:#380000;
-    border:2px solid #380000;
-    color:#fff;
-    outline:none;
-}
-/*including "cross" image*/
-button.cancel{
-	 margin:0 10px -3px -3px !important;
-    padding:3px 1px 1px 23px;
-    /*text-decoration:none;
-    text-align:right;*/
-    width:auto;
-    height:100%;
-    background-position:3%;
-    background-image:url(/main/img/delete.gif);
-    background-repeat:no-repeat;
-}
-/* POSITIVE */
-
-button.positive, .save, .add{
-    color:#529214;
-    border-bottom:2px inset #529220;
-    border-right:2px inset #52922;
-    outline:none;
-}
-button.positive, .save:hover,.add:hover{
-    background-color:#E6EFC2;
-    color:#529214;
-    border-top:2px solid #eee;
-    border-left:2px solid #eee;
-}
-button.positive:active{
-    background-color:#698B22;
-    border:2px solid #556b2f;
-    color:#fff;
-    outline:none;
-}
-/*including "save" image*/
-button.save{
-	 margin:0 10px -3px -3px !important;
-    padding:3px 1px 1px 23px;
-    /*text-decoration:none;
-    text-align:right;*/
-    width:auto;
-    height:100%;
-    background-position:3%;
-    background-image:url(/main/img/accept.png);
-    background-repeat:no-repeat;
-}
-/*including "add" image*/
-button.add{
-	 margin:0 10px -3px -3px !important;
-    padding:3px 1px 1px 23px;
-    /*text-decoration:none;
-    text-align:right;*/
-    width:auto;
-    height:100%;
-    background-position:3%;
-    background-image:url(/main/img/addd.gif);
-    background-repeat:no-repeat;
-}
 /*SOCIAL TOOL*/
 .image-social-content {
     cursor:pointer;
@@ -2214,4 +2095,88 @@ button.add{
 	background:#ffffff;
 	border-top:1px #9DACBF solid;
 	border-bottom:1px #9DACBF solid;
+}
+/*****************************************************
+ *  BUTTONS	                                         *
+ *****************************************************/
+/* BUTTONS */
+button {
+    margin:0 5px 3px 3px !important;
+    background-color: #DFDFDF;
+    border-width: 1px;
+/*    -moz-border-radius-topright : 5px;
+    -moz-border-radius-topleft : 5px;
+    -moz-border-radius-bottomright : 5px;
+    -moz-border-radius-bottomleft : 5px;
+*/
+    font-family: bold arial,verdana,helvetica,sans-serif;
+    font-size: 100%;
+    line-height :130%;
+    text-decoration: none;
+    color: black;
+    cursor: pointer;
+    padding:5px 15px 5px 15px;
+}
+button:hover {
+    background-color:#cbcbcb;
+    color:#545454; 
+    border-style: inset;
+}
+/* button with image */
+button.add, button.save, button.cancel, button.search, button.login {
+    padding-left:30px;
+    background-position:10px;
+    background-repeat:no-repeat;
+}
+/* POSITIVE */
+button.save, button.add, button.search, button.login {
+    background-color:#E5EDF9;
+    border-color: #D4E2F6;
+}
+button.save:hover, button.add:hover, button.search:hover, button.login:hover {
+    border-color: #D4E2F6;    
+    background-color:#D4E2F6;
+}
+/* NEGATIVE */
+button.cancel {
+    background-color:#F8E8E6;
+    border-color: #FFE3DE;
+}
+
+button.cancel:hover {
+    border-color: #F4E1D0;    
+    background-color: #FFE3DE;
+}
+/*including "save" image*/
+button.save {
+    background-image:url(/main/img/button_accept.gif);
+}
+/*including "add" image*/
+button.add {
+    background-image:url(/main/img/button_add.gif);
+}
+
+/*including "cancel" image*/
+button.cancel {
+    background-image:url(/main/img/button_delete.gif);
+}
+/*including "search" image*/
+button.search {
+    background-image:url(/main/img/button_search.gif);
+}
+/*including "login" image*/
+button.login {
+    background-image:url(/main/img/button_login.gif);
+}
+/*including "add" image*/
+button.add{
+	 margin:0 10px -3px -3px !important;
+    padding:3px 1px 1px 23px;
+    /*text-decoration:none;
+    text-align:right;*/
+    width:auto;
+    height:100%;
+    background-position:3%;
+    background-image:url(/main/img/addd.gif);
+    background-repeat:no-repeat;
 }

+ 87 - 126
main/css/silver_line/default.css

@@ -22,7 +22,9 @@ blockquote {
 	font: 1.1em arial, sans, sans-serif;
 }
 
-body {
+body {
+   /* hack ignored by non-IE to enable ie to support :hover on button */
+        behavior:url("/main/css/csshover3.htc");
 	margin: 0;
 	padding: 0;
 	font-size: .85em;
@@ -2079,130 +2081,6 @@ span.radio {
 	background: url(images/close_highlight.gif) no-repeat;
 	padding-left: 20px; 
 } 
-
-
-/*****************************************************
- *  BUTTONS	                                         *
- *****************************************************/
-/* BUTTONS */
-button {
-/*display:block;
-    float:left;*/
-    margin:0 8px 0 0;
-    background-color:#f5f5f5;
-    border:2px solid #909090;
-    border-top:2px solid #eee;
-    border-left:2px solid #eee;
-    -moz-border-radius-topright : 10px;
-    -moz-border-radius-topleft : 10px;
-    -moz-border-radius-bottomright : 10px;
-    -moz-border-radius-bottomleft : 10px;
-
-    font-family:"Lucida Grande", Tahoma, Arial, Verdana, sans-serif;
-    font-size:100%;
-    line-height:130%;
-    text-decoration:none;
-    font-weight:bold;
-    color:#565656;
-    outline:none;
-    cursor:pointer;
-    padding:3px 5px 3px 5px; /* Links */
-}
-button:hover{
-    background-color:#e0e0e0;
-    color:#545454; 
-    border-top:2px solid #eee;
-    border-left:2px solid #eee;
-}
-button:active{
-	background-color:#909090;
-   border:2px solid #909090;
-   color:#fff;
-   outline:none;
-}
-button img{
-    margin:0 10px -3px -3px !important;
-    padding:0;
-    border:none;
-    width:16px;
-    height:16px;
-}
-/* NEGATIVE */
-
-button.negative, .cancel{
-    color:#680000;
-    border-bottom:2px inset #800000;
-    border-right:2px inset #800000;
-    outline:none;
-}
-button.negative, .cancel:hover{
-    background:#f5f5f5;
-    color:#d12f19;
-    border-top:2px solid #eee;
-    border-left:2px solid #eee;
-}
-button.negative:active{
-    background-color:#380000;
-    border:2px solid #380000;
-    color:#fff;
-    outline:none;
-}
-/*including "cross" image*/
-button.cancel{
-	 margin:0 10px -3px -3px !important;
-    padding:3px 1px 1px 23px;
-    /*text-decoration:none;
-    text-align:right;*/
-    width:auto;
-    height:100%;
-    background-position:3%;
-    background-image:url(/main/img/delete.gif);
-    background-repeat:no-repeat;
-}
-/* POSITIVE */
-
-button.positive, .save, .add{
-    color:#529214;
-    border-bottom:2px inset #529220;
-    border-right:2px inset #52922;
-    outline:none;
-}
-button.positive, .save:hover,.add:hover{
-    background-color:#E6EFC2;
-    color:#529214;
-    border-top:2px solid #eee;
-    border-left:2px solid #eee;
-}
-button.positive:active{
-    background-color:#698B22;
-    border:2px solid #556b2f;
-    color:#fff;
-    outline:none;
-}
-/*including "save" image*/
-button.save{
-	 margin:0 10px -3px -3px !important;
-    padding:3px 1px 1px 23px;
-    /*text-decoration:none;
-    text-align:right;*/
-    width:auto;
-    height:100%;
-    background-position:3%;
-    background-image:url(/main/img/accept.png);
-    background-repeat:no-repeat;
-}
-/*including "add" image*/
-button.add{
-	 margin:0 10px -3px -3px !important;
-    padding:3px 1px 1px 23px;
-    /*text-decoration:none;
-    text-align:right;*/
-    width:auto;
-    height:100%;
-    background-position:3%;
-    background-image:url(/main/img/addd.gif);
-    background-repeat:no-repeat;
-}
 /*SOCIAL TOOL*/
 .image-social-content {
     cursor:pointer;
@@ -2278,4 +2156,87 @@ button.add{
     border-top:1px #9DACBF solid;
     border-bottom:1px #9DACBF solid;
 }
-   
+/*****************************************************
+ *  BUTTONS	                                         *
+ *****************************************************/
+/* BUTTONS */
+button {
+    margin:0 5px 3px 3px !important;
+    background-color: #DFDFDF;
+    border-width: 1px;
+/*    -moz-border-radius-topright : 5px;
+    -moz-border-radius-topleft : 5px;
+    -moz-border-radius-bottomright : 5px;
+    -moz-border-radius-bottomleft : 5px;
+*/
+    font-family: bold arial,verdana,helvetica,sans-serif;
+    font-size: 100%;
+    line-height :130%;
+    text-decoration: none;
+    color: black;
+    cursor: pointer;
+    padding:5px 15px 5px 15px;
+}
+button:hover {
+    background-color:#cbcbcb;
+    color:#545454; 
+    border-style: inset;
+}
+/* button with image */
+button.add, button.save, button.cancel, button.search, button.login {
+    padding-left:30px;
+    background-position:10px;
+    background-repeat:no-repeat;
+}
+/* POSITIVE */
+button.save, button.add, button.search, button.login {
+    background-color:#E5EDF9;
+    border-color: #D4E2F6;
+}
+button.save:hover, button.add:hover, button.search:hover, button.login:hover {
+    border-color: #D4E2F6;    
+    background-color:#D4E2F6;
+}
+/* NEGATIVE */
+button.cancel {
+    background-color:#F8E8E6;
+    border-color: #FFE3DE;
+}
+
+button.cancel:hover {
+    border-color: #F4E1D0;    
+    background-color: #FFE3DE;
+}
+/*including "save" image*/
+button.save {
+    background-image:url(/main/img/button_accept.gif);
+}
+/*including "add" image*/
+button.add {
+    background-image:url(/main/img/button_add.gif);
+}
+
+/*including "cancel" image*/
+button.cancel {
+    background-image:url(/main/img/button_delete.gif);
+}
+/*including "search" image*/
+button.search {
+    background-image:url(/main/img/button_search.gif);
+}
+/*including "login" image*/
+button.login {
+    background-image:url(/main/img/button_login.gif);
+}
+/*including "add" image*/
+button.add{
+	 margin:0 10px -3px -3px !important;
+    padding:3px 1px 1px 23px;
+    /*text-decoration:none;
+    text-align:right;*/
+    width:auto;
+    height:100%;
+    background-position:3%;
+    background-image:url(/main/img/addd.gif);
+    background-repeat:no-repeat;
+}

+ 87 - 125
main/css/sober_brown/default.css

@@ -1,7 +1,9 @@
 /*****************************************************
  *  MAIN  SOBER BROWN                                *
  *****************************************************/
-body {
+body {
+   /* hack ignored by non-IE to enable ie to support :hover on button */
+        behavior:url("/main/css/csshover3.htc");
 	font-family: bold arial, verdana, helvetica, sans-serif;
 	font-size: 12px;
 	color: #000;
@@ -2044,130 +2046,6 @@ span.radio {
 	background: url(images/close_highlight.gif) no-repeat;
 	padding-left: 20px; 
 } 
-
-
-/*****************************************************
- *  BUTTONS	                                         *
- *****************************************************/
-/* BUTTONS */
-button {
-/*display:block;
-    float:left;*/
-    margin:0 8px 0 0;
-    background-color:#f5f5f5;
-    border:2px solid #909090;
-    border-top:2px solid #eee;
-    border-left:2px solid #eee;
-    -moz-border-radius-topright : 10px;
-    -moz-border-radius-topleft : 10px;
-    -moz-border-radius-bottomright : 10px;
-    -moz-border-radius-bottomleft : 10px;
-
-    font-family:"Lucida Grande", Tahoma, Arial, Verdana, sans-serif;
-    font-size:100%;
-    line-height:130%;
-    text-decoration:none;
-    font-weight:bold;
-    color:#565656;
-    outline:none;
-    cursor:pointer;
-    padding:3px 5px 3px 5px; /* Links */
-}
-button:hover{
-    background-color:#e0e0e0;
-    color:#545454; 
-    border-top:2px solid #eee;
-    border-left:2px solid #eee;
-}
-button:active{
-	background-color:#909090;
-   border:2px solid #909090;
-   color:#fff;
-   outline:none;
-}
-button img{
-    margin:0 10px -3px -3px !important;
-    padding:0;
-    border:none;
-    width:16px;
-    height:16px;
-}
-/* NEGATIVE */
-
-button.negative, .cancel{
-    color:#680000;
-    border-bottom:2px inset #800000;
-    border-right:2px inset #800000;
-    outline:none;
-}
-button.negative, .cancel:hover{
-    background:#f5f5f5;
-    color:#d12f19;
-    border-top:2px solid #eee;
-    border-left:2px solid #eee;
-}
-button.negative:active{
-    background-color:#380000;
-    border:2px solid #380000;
-    color:#fff;
-    outline:none;
-}
-/*including "cross" image*/
-button.cancel{
-	 margin:0 10px -3px -3px !important;
-    padding:3px 1px 1px 23px;
-    /*text-decoration:none;
-    text-align:right;*/
-    width:auto;
-    height:100%;
-    background-position:3%;
-    background-image:url(/main/img/delete.gif);
-    background-repeat:no-repeat;
-}
-/* POSITIVE */
-
-button.positive, .save, .add{
-    color:#529214;
-    border-bottom:2px inset #529220;
-    border-right:2px inset #52922;
-    outline:none;
-}
-button.positive, .save:hover,.add:hover{
-    background-color:#E6EFC2;
-    color:#529214;
-    border-top:2px solid #eee;
-    border-left:2px solid #eee;
-}
-button.positive:active{
-    background-color:#698B22;
-    border:2px solid #556b2f;
-    color:#fff;
-    outline:none;
-}
-/*including "save" image*/
-button.save{
-	 margin:0 10px -3px -3px !important;
-    padding:3px 1px 1px 23px;
-    /*text-decoration:none;
-    text-align:right;*/
-    width:auto;
-    height:100%;
-    background-position:3%;
-    background-image:url(/main/img/accept.png);
-    background-repeat:no-repeat;
-}
-/*including "add" image*/
-button.add{
-	 margin:0 10px -3px -3px !important;
-    padding:3px 1px 1px 23px;
-    /*text-decoration:none;
-    text-align:right;*/
-    width:auto;
-    height:100%;
-    background-position:3%;
-    background-image:url(/main/img/addd.gif);
-    background-repeat:no-repeat;
-}
   /*SOCIAL TOOL*/
 .image-social-content {
     cursor:pointer;
@@ -2242,4 +2120,88 @@ button.add{
     background:#ffffff;
     border-top:1px #9DACBF solid;
     border-bottom:1px #9DACBF solid;
+}
+/*****************************************************
+ *  BUTTONS	                                         *
+ *****************************************************/
+/* BUTTONS */
+button {
+    margin:0 5px 3px 3px !important;
+    background-color: #DFDFDF;
+    border-width: 1px;
+/*    -moz-border-radius-topright : 5px;
+    -moz-border-radius-topleft : 5px;
+    -moz-border-radius-bottomright : 5px;
+    -moz-border-radius-bottomleft : 5px;
+*/
+    font-family: bold arial,verdana,helvetica,sans-serif;
+    font-size: 100%;
+    line-height :130%;
+    text-decoration: none;
+    color: black;
+    cursor: pointer;
+    padding:5px 15px 5px 15px;
+}
+button:hover {
+    background-color:#cbcbcb;
+    color:#545454; 
+    border-style: inset;
+}
+/* button with image */
+button.add, button.save, button.cancel, button.search, button.login {
+    padding-left:30px;
+    background-position:10px;
+    background-repeat:no-repeat;
+}
+/* POSITIVE */
+button.save, button.add, button.search, button.login {
+    background-color:#E5EDF9;
+    border-color: #D4E2F6;
+}
+button.save:hover, button.add:hover, button.search:hover, button.login:hover {
+    border-color: #D4E2F6;    
+    background-color:#D4E2F6;
+}
+/* NEGATIVE */
+button.cancel {
+    background-color:#F8E8E6;
+    border-color: #FFE3DE;
+}
+
+button.cancel:hover {
+    border-color: #F4E1D0;    
+    background-color: #FFE3DE;
+}
+/*including "save" image*/
+button.save {
+    background-image:url(/main/img/button_accept.gif);
+}
+/*including "add" image*/
+button.add {
+    background-image:url(/main/img/button_add.gif);
+}
+
+/*including "cancel" image*/
+button.cancel {
+    background-image:url(/main/img/button_delete.gif);
+}
+/*including "search" image*/
+button.search {
+    background-image:url(/main/img/button_search.gif);
+}
+/*including "login" image*/
+button.login {
+    background-image:url(/main/img/button_login.gif);
+}
+/*including "add" image*/
+button.add{
+	 margin:0 10px -3px -3px !important;
+    padding:3px 1px 1px 23px;
+    /*text-decoration:none;
+    text-align:right;*/
+    width:auto;
+    height:100%;
+    background-position:3%;
+    background-image:url(/main/img/addd.gif);
+    background-repeat:no-repeat;
 }

BIN
main/img/button_accept.gif


BIN
main/img/button_accept2.gif


BIN
main/img/button_add.gif


BIN
main/img/button_login.gif


BIN
main/img/button_search.gif


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

@@ -58,7 +58,7 @@ $intro_editAllowed = $is_allowed_to_edit;
 
 global $charset;
 $intro_cmdEdit = (empty($_GET['intro_cmdEdit'])?'':$_GET['intro_cmdEdit']);
-$intro_cmdUpdate = (empty($_POST['intro_cmdUpdate'])?'':$_POST['intro_cmdUpdate']);
+$intro_cmdUpdate = isset($_POST['intro_cmdUpdate'])?true:false;
 $intro_cmdDel= (empty($_GET['intro_cmdDel'])?'':$_GET['intro_cmdDel']);
 $intro_cmdAdd= (empty($_GET['intro_cmdAdd'])?'':$_GET['intro_cmdAdd']);
 

+ 6 - 6
main/newscorm/learnpath.class.php

@@ -5503,7 +5503,7 @@ class learnpath {
 
 					$return .= "\t\t" . '<tr>' . "\n";
 
-						$return .= "\t\t\t" . '<td colspan="2"><input class="button" name="submit_button" type="submit" value="'.get_lang('Ok1').'" /></td>' . "\n";
+						$return .= "\t\t\t" . '<td colspan="2"><input class="button" name="submit_button" type="submit" value="'.get_lang('Ok').'" /></td>' . "\n";
 
 					$return .= "\t\t" . '</tr>' . "\n";
 
@@ -5752,7 +5752,7 @@ class learnpath {
 					}
 					
 					$return .= "\t\t" . '<tr>' . "\n";						
-						$return .= "\t\t\t" . '<td colspan="2"><input class="button" name="submit_button" type="submit" value="'.get_lang('Ok2').'" /></td>' . "\n";					
+						$return .= "\t\t\t" . '<td colspan="2"><button class="save" name="submit_button" type="submit"> '.get_lang('Ok').' </button></td>' . "\n";					
 					$return .= "\t\t" . '</tr>' . "\n";
 				
 				$return .= "\t" . '</table>' . "\n";	
@@ -6017,7 +6017,7 @@ class learnpath {
 					
 					$return .= "\t\t" . '<tr>' . "\n";
 						
-						$return .= "\t\t\t" . '<td colspan="2"><input class="button" name="submit_button" type="submit" value="'.get_lang('Ok3').'" /></td>' . "\n";
+						$return .= "\t\t\t" . '<td colspan="2"><input class="button" name="submit_button" type="submit" value="'.get_lang('Ok').'" /></td>' . "\n";
 					
 					$return .= "\t\t" . '</tr>' . "\n";
 				
@@ -6621,7 +6621,7 @@ class learnpath {
 			}
 			if(is_numeric($extra_info))
 			{
-				$form->addElement('style_submit_button', 'submit_button', get_lang('AddEdit'), 'class="save"');
+				$form->addElement('style_submit_button', 'submit_button', get_lang('AddEdit'), 'value="submit_button", class="save"');
 				$form->addElement('hidden', 'path', $extra_info);
 			}
 			elseif(is_array($extra_info))
@@ -6870,7 +6870,7 @@ class learnpath {
 					
 					$return .= "\t\t" . '<tr>' . "\n";
 						
-						$return .= "\t\t\t" . '<td>&nbsp;</td><td><input class="button" name="submit_button" type="submit" value="'.get_lang("Ok4").'" /></td>' . "\n";
+						$return .= "\t\t\t" . '<td>&nbsp;</td><td><button class="save" name="submit_button" type="submit">'.get_lang("Ok").'</button></td>' . "\n";
 					
 					$return .= "\t\t" . '</tr>' . "\n";
 				
@@ -7122,7 +7122,7 @@ class learnpath {
 					
 					$return .= "\t\t" . '<tr>' . "\n";
 						
-						$return .= "\t\t\t" . '<td>&nbsp</td><td colspan="2"><input class="button" name="submit_button" type="submit" value="'.get_lang("Ok5").'" /></td>' . "\n";
+						$return .= "\t\t\t" . '<td>&nbsp</td><td colspan="2"><button class="save" name="submit_button" type="submit">'.get_lang("Ok").'</button></td>' . "\n";
 					
 					$return .= "\t\t" . '</tr>' . "\n";
 				

+ 1 - 1
main/newscorm/lp_add.php

@@ -121,7 +121,7 @@ Display::display_normal_message(get_lang('AddLpIntro'),false);
 echo '<p>'.get_lang('AddLpToStart').' :</p>';
 echo '<form method="post">';
 	echo '<label for="idTitle">'.get_lang('Title').' : </label><input id="idTitle" name="learnpath_name" type="text" /> ';
-	echo '<button class="save"type="submit"/>'.get_lang('Create').'</button>';
+	echo '<button class="save"type="submit"/>'.get_lang('CreateCourse').'</button>';
 					echo '<input name="post_time" type="hidden" value="' . time() . '" />';
 echo '</form>';
 

+ 2 - 2
main/newscorm/lp_admin_view.php

@@ -198,7 +198,7 @@ switch($_GET['action'])
 }
 
 // POST action handling (uploading mp3, deleting mp3)
-if ($_POST['save_audio'])
+if (isset($_POST['save_audio']))
 {
 	// deleting the audio fragments
 	foreach ($_POST as $key=>$value)
@@ -264,4 +264,4 @@ echo $_SESSION['oLP']->overview();
 ==============================================================================
 */ 
 Display::display_footer();
-?>
+?>

+ 49 - 49
main/wiki/index.php

@@ -188,7 +188,7 @@ if(!api_is_allowed_to_edit())
 */
 
 // saving a change
-if ($_POST['SaveWikiChange'] AND $_POST['title']<>'')
+if (isset($_POST['SaveWikiChange']) AND $_POST['title']<>'')
 {
 	if(empty($_POST['title']))
 	{ 		
@@ -201,7 +201,7 @@ if ($_POST['SaveWikiChange'] AND $_POST['title']<>'')
 }
 
 //saving a new wiki entry
-if ($_POST['SaveWikiNew'])
+if (isset($_POST['SaveWikiNew']))
 {
 	if(empty($_POST['title']))
 	{
@@ -440,7 +440,7 @@ echo '</ul></div>';
 echo "<div id='mainwiki'>";
 
 
-/////////////////////// more options /////////////////////// Juan Carlos Raña Trabado
+/////////////////////// more options /////////////////////// Juan Carlos Ra�a Trabado
 
 if ($_GET['action']=='more')
 {
@@ -519,7 +519,7 @@ if ($_GET['action']=='more')
 
 }
 
-/////////////////////// Most active users /////////////////////// Juan Carlos Raña Trabado
+/////////////////////// Most active users /////////////////////// Juan Carlos Ra�a Trabado
 
 if ($_GET['action']=='mactiveusers')
 {
@@ -553,7 +553,7 @@ if ($_GET['action']=='mactiveusers')
 }
 
 
-/////////////////////// User contributions /////////////////////// Juan Carlos Raña Trabado
+/////////////////////// User contributions /////////////////////// Juan Carlos Ra�a Trabado
 
 if ($_GET['action']=='usercontrib')
 {
@@ -643,7 +643,7 @@ if ($_GET['action']=='usercontrib')
 	}	
 }
 
-/////////////////////// Most changed pages /////////////////////// Juan Carlos Raña Trabado
+/////////////////////// Most changed pages /////////////////////// Juan Carlos Ra�a Trabado
 
 if ($_GET['action']=='mostchanged')
 {
@@ -700,7 +700,7 @@ if ($_GET['action']=='mostchanged')
 		
 }
 
-/////////////////////// Most visited pages /////////////////////// Juan Carlos Raña Trabado
+/////////////////////// Most visited pages /////////////////////// Juan Carlos Ra�a Trabado
 
 if ($_GET['action']=='mvisited')
 {
@@ -755,7 +755,7 @@ if ($_GET['action']=='mvisited')
 	}	
 }
 
-/////////////////////// Wanted pages /////////////////////// Juan Carlos Raña Trabado
+/////////////////////// Wanted pages /////////////////////// Juan Carlos Ra�a Trabado
 
 if ($_GET['action']=='wanted')
 {
@@ -806,7 +806,7 @@ if ($_GET['action']=='wanted')
 	echo '</ul>';
 }
 
-/////////////////////// Orphaned pages /////////////////////// Juan Carlos Raña Trabado
+/////////////////////// Orphaned pages /////////////////////// Juan Carlos Ra�a Trabado
 
 if ($_GET['action']=='orphaned')
 {
@@ -889,7 +889,7 @@ if ($_GET['action']=='orphaned')
 	
 }
 
-/////////////////////// delete current page /////////////////////// Juan Carlos Raña Trabado
+/////////////////////// delete current page /////////////////////// Juan Carlos Ra�a Trabado
 
 if ($_GET['action']=='delete')
 {
@@ -935,7 +935,7 @@ if ($_GET['action']=='delete')
 }
 
 
-/////////////////////// delete all wiki /////////////////////// Juan Carlos Raña Trabado
+/////////////////////// delete all wiki /////////////////////// Juan Carlos Ra�a Trabado
 
 if ($_GET['action']=='deletewiki')
 {
@@ -945,7 +945,7 @@ if ($_GET['action']=='deletewiki')
 }
 
 
-/////////////////////// search pages /////////////////////// Juan Carlos Raña Trabado
+/////////////////////// search pages /////////////////////// Juan Carlos Ra�a Trabado
 //// 1 Searchpages: input search
 
 if ($_GET['action']=='searchpages')
@@ -958,7 +958,7 @@ if ($_GET['action']=='searchpages')
 	{	
 		echo '<form id="fsearch" method="POST" action="index.php?action=showsearchpages">';		
 		echo '<input type="text" name="Skeyword" >';
-		echo '<input type="submit" value="'.get_lang('Search').'"/></br></br>';	
+		echo '<button class="search" type="submit">'.get_lang('Search').'</button></br></br>';	
 		echo '<input type="checkbox" name="Scontent" value="1"> '.get_lang('AlsoSearchContent');
 		echo '</form>';		
 	}
@@ -1052,7 +1052,7 @@ if ($_GET['action']=='showsearchpages')
 } 	
 
 
-///////////////////////  What links here. Show pages that have linked this page /////////////////////// Juan Carlos Raña Trabado
+///////////////////////  What links here. Show pages that have linked this page /////////////////////// Juan Carlos Ra�a Trabado
 
 if ($_GET['action']=='links')
 {
@@ -1344,7 +1344,7 @@ if ($_GET['action']=='edit')
 				</select> %';	
 				echo '<br/><br/>'; 
 				echo '<input type="hidden" NAME="SaveWikiChange" value="'.get_lang('langSave').'">'; //for save icon
-				echo '<input type="submit" name="SaveWikiChange" value="'.get_lang('langSave').'">';//for save button
+				echo '<button class="save" type="submit" name="SaveWikiChange">'.get_lang('langSave').'</button>';//for save button
 				echo '</form>';				
 				echo '</div>';			
 			} 	
@@ -1405,8 +1405,8 @@ if ($_GET['action']=='history' or Security::remove_XSS($_POST['HistoryDifference
 			
 			echo '<ul style="list-style-type: none;">';
 			echo '<br/>';
-			echo '<input type="submit" name="HistoryDifferences" value="'.get_lang('ShowDifferences').' '.get_lang('LinesDiff').'" />';
-			echo '<input type="submit" name="HistoryDifferences2" value="'.get_lang('ShowDifferences').' '.get_lang('WordsDiff').'" />';
+			echo '<button class="search" type="submit" name="HistoryDifferences" value="HistoryDifferences">'.get_lang('ShowDifferences').' '.get_lang('LinesDiff').'</button>';
+			echo '<button class="search" type="submit" name="HistoryDifferences2" value="HistoryDifferences2">'.get_lang('ShowDifferences').' '.get_lang('WordsDiff').'</button>';
 			echo '<br/><br/>';
 	
 			$counter=0;
@@ -1462,8 +1462,8 @@ if ($_GET['action']=='history' or Security::remove_XSS($_POST['HistoryDifference
 			   
 				$counter++;		
 			} //end while
-			echo '<input type="submit" name="HistoryDifferences" value="'.get_lang('ShowDifferences').' '.get_lang('LinesDiff').'" />';
-			echo '<input type="submit" name="HistoryDifferences2" value="'.get_lang('ShowDifferences').' '.get_lang('WordsDiff').'" />';
+			echo '<button class="search" type="submit" name="HistoryDifferences" value="HistoryDifferences">'.get_lang('ShowDifferences').' '.get_lang('LinesDiff').'</button>';
+			echo '<button class="search" type="submit" name="HistoryDifferences2" value="HistoryDifferences2">'.get_lang('ShowDifferences').' '.get_lang('WordsDiff').'</button>';
 			echo '</ul></div></form>';	
 		}	
 		// We show the differences between two versions
@@ -1478,13 +1478,13 @@ if ($_GET['action']=='history' or Security::remove_XSS($_POST['HistoryDifference
 			$result_new=api_sql_query($sql_new,__LINE__,__FILE__);
 			$version_new=Database::fetch_array($result_new);	
 		
-		    if($_POST['HistoryDifferences'])
+		    if(isset($_POST['HistoryDifferences']))
 			{
 				include('diff.inc.php');
 				//title
 				echo '<div id="wikititle">'.stripslashes($version_new['title']).' <font size="-2"><i>('.get_lang('DifferencesNew').'</i> <font style="background-color:#aaaaaa">'.stripslashes($version_new['dtime']).'</font> <i>'.get_lang('DifferencesOld').'</i> <font style="background-color:#aaaaaa">'.stripslashes($version_old['dtime']).'</font>) '.get_lang('Legend').':  <span class="diffAdded" >'.get_lang(WikiDiffAddedLine).'</span> <span class="diffDeleted" >'.get_lang(WikiDiffDeletedLine).'</span> <span class="diffMoved" >'.get_lang(WikiDiffMovedLine).'</span></font></div>'; 	
 			}
-			if($_POST['HistoryDifferences2'])
+			if(isset($_POST['HistoryDifferences2']))
 			{			
 				require_once 'Text/Diff.php';
    				require_once 'Text/Diff/Renderer/inline.php';
@@ -1494,7 +1494,7 @@ if ($_GET['action']=='history' or Security::remove_XSS($_POST['HistoryDifference
 				
 			echo '<div class="diff"><br /><br />';	
 			
-			if($_POST['HistoryDifferences'])
+			if(isset($_POST['HistoryDifferences']))
 			{				
 				echo '<table>'.diff( stripslashes($version_old['content']), stripslashes($version_new['content']), true, 'format_table_line' ).'</table>'; // format_line mode is better for words
 				echo '</div>'; 					
@@ -1514,7 +1514,7 @@ if ($_GET['action']=='history' or Security::remove_XSS($_POST['HistoryDifference
 							
 			}
 							
-	        if($_POST['HistoryDifferences2'])
+	        if(isset($_POST['HistoryDifferences2']))
 			{
 					
 				$lines1 = array(strip_tags($version_old['content'])); //without <> tags
@@ -1848,13 +1848,13 @@ if ($_GET['action']=='discuss')
 					</tr>
 					<tr>
 			        <td>&nbsp;</td>      
-					<td> <?php  echo '<input type="submit" name="Submit" value="'.get_lang('Send').'">'; ?></td>
+					<td> <?php  echo '<button class="save" type="submit" name="Submit"> '.get_lang('Send').'</button>'; ?></td>
 				  	</tr>
 				</table>
 				</form>
                 
 				<?php
-				if ($_POST['Submit'])
+				if (isset($_POST['Submit']))
 				{
 					$dtime = date( "Y-m-d H:i:s" );
 					$message_author=api_get_user_id();
@@ -2061,7 +2061,7 @@ function checktitle($paramwk)
 
 
 /**
-* @author Juan Carlos Raña <herodoto@telefonica.net>
+* @author Juan Carlos Ra�a <herodoto@telefonica.net>
 * check wikilinks that has a page
 **/
 function links_to($input)
@@ -2102,7 +2102,7 @@ function links_to($input)
 
 /*
 detect and add style to external links
-author Juan Carlos Raña Trabado
+author Juan Carlos Ra�a Trabado
 **/
 function detect_external_link($input)
 {
@@ -2114,7 +2114,7 @@ function detect_external_link($input)
 
 /*
 detect and add style to anchor links
-author Juan Carlos Raña Trabado
+author Juan Carlos Ra�a Trabado
 **/
 function detect_anchor_link($input)
 {
@@ -2126,7 +2126,7 @@ function detect_anchor_link($input)
 
 /*
 detect and add style to mail links
-author Juan Carlos Raña Trabado
+author Juan Carlos Ra�a Trabado
 **/
 function detect_mail_link($input)
 {
@@ -2138,7 +2138,7 @@ function detect_mail_link($input)
 
 /*
 detect and add style to ftp links
-author Juan Carlos Raña Trabado
+author Juan Carlos Ra�a Trabado
 **/
 function detect_ftp_link($input)
 {
@@ -2150,7 +2150,7 @@ function detect_ftp_link($input)
 
 /*
 detect and add style to news links
-author Juan Carlos Raña Trabado
+author Juan Carlos Ra�a Trabado
 **/
 function detect_news_link($input)
 {
@@ -2162,7 +2162,7 @@ function detect_news_link($input)
 
 /*
 detect and add style to irc links
-author Juan Carlos Raña Trabado
+author Juan Carlos Ra�a Trabado
 **/
 function detect_irc_link($input)
 {
@@ -2178,8 +2178,8 @@ function detect_irc_link($input)
 * It is true that the adding of links is probably the most anoying part of Wiki for the people
 * who know something about the wiki syntax.
 * @author Patrick Cool <patrick.cool@ugent.be>, Ghent University
-* Improvements [[]] and [[ | ]]by Juan Carlos Raña
-* Improvements internal wiki style and mark group by Juan Carlos Raña
+* Improvements [[]] and [[ | ]]by Juan Carlos Ra�a
+* Improvements internal wiki style and mark group by Juan Carlos Ra�a
 **/
 function make_wiki_link_clickable($input)
 {
@@ -2299,7 +2299,7 @@ function save_wiki()
 
 /**
 * This function restore a wikipage
-* @author Juan Carlos Raña <herodoto@telefonica.net>
+* @author Juan Carlos Ra�a <herodoto@telefonica.net>
 **/
 function restore_wikipage($r_reflink, $r_title, $r_content, $r_group_id, $r_assignment, $r_progress, $c_version, $r_version, $r_linksto)
 {
@@ -2324,7 +2324,7 @@ function restore_wikipage($r_reflink, $r_title, $r_content, $r_group_id, $r_assi
 
 /**
 * This function delete a wiki
-* @author Juan Carlos Raña <herodoto@telefonica.net>
+* @author Juan Carlos Ra�a <herodoto@telefonica.net>
 **/
 
 function delete_wiki()
@@ -2506,7 +2506,7 @@ function display_new_wiki_form()
 	   </select>&nbsp;%';
 	echo '<br/><br/>'; 
 	echo '<input type="hidden" name="SaveWikiNew" value="'.get_lang('langSave').'">'; //for save icon
-	echo '<input type="submit" name="SaveWikiNew" value="'.get_lang('langSave').'" onClick="return Send(this.form)">'; 	//for button icon
+	echo '<button class="save" type="submit" name="SaveWikiNew" " onClick="return Send(this.form)">'.get_lang('langSave').'</button>'; 	//for button icon
 	echo '</div>';
 	echo '</form>';
 }
@@ -2803,7 +2803,7 @@ function is_active_navigation_tab($paramwk)
 
 /**
  * Lock add pages
- * @author Juan Carlos Raña <herodoto@telefonica.net>
+ * @author Juan Carlos Ra�a <herodoto@telefonica.net>
  */
 
 function check_addnewpagelock() 
@@ -2854,7 +2854,7 @@ function check_addnewpagelock()
 
 /**
  * Protect page
- * @author Juan Carlos Raña <herodoto@telefonica.net>
+ * @author Juan Carlos Ra�a <herodoto@telefonica.net>
  */
 function check_protect_page() 
 {
@@ -2909,7 +2909,7 @@ function check_protect_page()
 
 /**
  * Visibility page
- * @author Juan Carlos Raña <herodoto@telefonica.net>
+ * @author Juan Carlos Ra�a <herodoto@telefonica.net>
  */
 function check_visibility_page() 
 {
@@ -2964,7 +2964,7 @@ function check_visibility_page()
 
 /**
  * Visibility discussion
- * @author Juan Carlos Raña <herodoto@telefonica.net>
+ * @author Juan Carlos Ra�a <herodoto@telefonica.net>
  */
 function check_visibility_discuss() 
 {
@@ -3020,7 +3020,7 @@ function check_visibility_discuss()
 
 /**
  * Lock add discussion
- * @author Juan Carlos Raña <herodoto@telefonica.net>
+ * @author Juan Carlos Ra�a <herodoto@telefonica.net>
  */
 function check_addlock_discuss() 
 {
@@ -3075,7 +3075,7 @@ function check_addlock_discuss()
 
 /**
  * Lock rating discussion
- * @author Juan Carlos Raña <herodoto@telefonica.net>
+ * @author Juan Carlos Ra�a <herodoto@telefonica.net>
  */
 function check_ratinglock_discuss() 
 {
@@ -3130,7 +3130,7 @@ function check_ratinglock_discuss()
 
 /**
  * Notify page changes
- * @author Juan Carlos Raña <herodoto@telefonica.net>
+ * @author Juan Carlos Ra�a <herodoto@telefonica.net>
  */
  
 function check_notify_page($reflink)
@@ -3196,7 +3196,7 @@ function check_notify_page($reflink)
 
 /**
  * Notify discussion changes
- * @author Juan Carlos Raña <herodoto@telefonica.net>
+ * @author Juan Carlos Ra�a <herodoto@telefonica.net>
  */
 function check_notify_discuss($reflink)
 {
@@ -3277,7 +3277,7 @@ function check_notify_discuss($reflink)
 
 /**
  * Notify all changes
- * @author Juan Carlos Raña <herodoto@telefonica.net>
+ * @author Juan Carlos Ra�a <herodoto@telefonica.net>
  */
  
 function check_notify_all()
@@ -3336,7 +3336,7 @@ function check_notify_all()
 
 /**
  * Function check emailcue and send email when a page change
- * @author Juan Carlos Raña <herodoto@telefonica.net>
+ * @author Juan Carlos Ra�a <herodoto@telefonica.net>
  */
  
 function check_emailcue($id_or_ref, $type, $lastime, $lastuser)
@@ -3527,7 +3527,7 @@ function check_emailcue($id_or_ref, $type, $lastime, $lastuser)
 
 /**
  * Function export last wiki page version to document area
- * @author Juan Carlos Raña <herodoto@telefonica.net>
+ * @author Juan Carlos Ra�a <herodoto@telefonica.net>
  */
 function export2doc($wikiTitle, $wikiContents, $groupId)
 {
@@ -3561,7 +3561,7 @@ function export2doc($wikiTitle, $wikiContents, $groupId)
 
 /**
  * Function wizard individual assignment
- * @author Juan Carlos Raña <herodoto@telefonica.net>
+ * @author Juan Carlos Ra�a <herodoto@telefonica.net>
  */
 function auto_add_page_users($assignment_type)
 {

+ 11 - 0
mnogo_login18.php

@@ -0,0 +1,11 @@
+<?php
+#if($_SERVER['REMOTE_HOST']=='ns2667.ovh.net'){
+//if($_SERVER['REMOTE_ADDR']=='81.245.59.78'){
+  require_once('main/inc/global.inc.php');
+  //user mngo:gno on pf_resi platform: 223
+  $_SESSION['_user']['user_id'] = 1;
+  define('DOKEOS_HOMEPAGE', true);
+  require('main/inc/global.inc.php');
+  require('user_portal.php');
+//}
+?>

Alguns arquivos não foram mostrados porque muitos arquivos mudaram nesse diff