ソースを参照

Adding footer tag

Julio Montoya 13 年 前
コミット
be32a954d0

+ 6 - 7
main/css/academica/default.css

@@ -115,24 +115,23 @@ a:active {
 }
 
 /* footer styles */
-#footer {
+footer {
 	background-color: #4171b5;
 	background-image: url(images/bg.jpg);
 	background-repeat:repeat-x;
 	color: #B0C8EB;
 	font-weight:bold;
 	overflow:hidden;
-	width: 100%;
-	padding-bottom:10px;
+	width: 100%;	
+}
+footer a:link, footer a:visited {
+    color:#fff;
 }
-
 .push {
 	height: 9em; /* Very important */
 }
 
-#footer a {
-	color: #fff;
-}
+
 /* main styles */
 #main {
 	padding-left: 30px;

+ 3 - 5
main/css/baby_orange/default.css

@@ -118,16 +118,14 @@ a:active {
 
 /* footer styles */
 
-#footer {
+footer {
 	background-color: #e26200;
 	background-image: url(images/bg.jpg);
 	background-repeat:repeat-x;
 	color: #F7D77E;
 	font-weight:bold;
-	min-height: 100px;	
-	
-	width: 100%;
-	padding-bottom:10px;
+	min-height: 100px;		
+	width: 100%;	
 }
 .push {
 	height: 9em; /* Very important */

+ 10 - 9
main/css/base.css

@@ -136,16 +136,17 @@ html, body {
 }
 
 footer {
-  margin-top: 17px;
-  padding-top: 17px;
-  border-top: 1px solid #eee;
-}
- #footer .container .row {
-    padding-top: 60px;
- }
- #footer_right #admin_name, #footer_right #software_name{
+    margin-top: 17px;
+    padding-top: 17px;  
+}
+
+footer .container .row {
+    padding-top: 50px;
+}
+
+#footer_right #admin_name, #footer_right #software_name{
      text-align:right;     
- }
+}
  
 .page-header {
   margin-bottom: 17px;

+ 1 - 13
main/css/base_chamilo.css

@@ -351,21 +351,9 @@ input.link_alike:hover {
     text-align:right;
     width:92%;
 }
-
-#footer #platformmanager {
-    float: left;
-    margin-left: 10px;
-}
-#footer #coursemanager {
-    float: left;
-    margin-left: 10px;
-}
-#footer a {
+footer a:link, footer a:visited {
     color:#f1d40d;
 }
-#bottom_corner {
-}
-
 /*
     NAVIGATION MENU
 */

+ 8 - 6
main/css/blue_lagoon/default.css

@@ -489,19 +489,21 @@ input[type="text"]:focus, input[type="password"]:focus, textarea:focus {
 /*****************************************************
  *  FOOTER STYLES                                    *
  *****************************************************/
-#footer {
+footer {
 	background-color: #434343;
 	background-image: url(images/tab-repeat.png);
 	background-repeat:repeat-x;	
-	color:#ffffff;			
+	color:#ffffff;		
+    height: 9em;
+    overflow:hidden;
+    width: 100%;   
+}
+footer a:link, footer a:visited {
+    color:#fff;
 }
 .push {
 	height: 9em; /* Very important */
 }
-#footer a {
-	color:#fff;
-}
-
 /*****************************************************
  *  NAVIGATION MENU                                  *
  *****************************************************/

+ 3 - 1
main/css/chamilo/default.css

@@ -84,7 +84,7 @@ a:active {
 /*****************************************************
  *  FOOTER STYLES                                    *
  *****************************************************/
-#footer {
+footer {
     background-color: #037fb2;
     background-image: url(images/bg-footer.gif);
     background-repeat:repeat-x;    
@@ -92,6 +92,8 @@ a:active {
     height: 9em;    
     width: 100%;    
 }
+/*
+
 /* Sticky footer*/
 .push {
     height: 9em; /* Very important */

+ 3 - 4
main/css/chamilo_electric_blue/default.css

@@ -80,16 +80,15 @@ a:active {
 /*****************************************************
  *  FOOTER STYLES                                    *
  *****************************************************/
-#footer {
+footer {
     background-color: #030FB0;
     background-image: url(images/bg-footer.gif);
     background-repeat:repeat-x;
     font-size: 12px;
     color:#ffffff;
-    /*height: 10em;*/	 /* Do not change this value */
+    height: 9em;
     overflow:hidden;
-    width: 100%;
-    padding-bottom:18px;
+    width: 100%;    
 }
 /* Sticky footer*/
 .push {

+ 6 - 19
main/css/chamilo_green/default.css

@@ -75,35 +75,22 @@ a:active {
 
 
 /*****************************************************
- *  FOOTER STYLES                                    *
- *****************************************************/
-#footer {
+*  FOOTER STYLES                                    *
+*****************************************************/
+footer {
     background-color: #79aa0b;
     background-image: url(images/bg-footer.gif);
     background-repeat:repeat-x;
     font-size: 12px;
     color:#ffffff;
-    /*height: 10em;*/	 /* Do not change this value */
-    overflow:hidden;
-    width: 100%;
-    padding-bottom:18px;
+    height: 9em;    
+    width: 100%;  
 }
+
 /* Sticky footer*/
 .push {
     height: 9em; /* Very important */
 }
-#footer .copyright {
-    float: right;
-    padding-top:60px;
-    margin-right:5%;    
-}
-
-.footer_emails{
-    float: left;
-    padding-top:60px;
-    margin-right:5%;    
-}
-
 /*****************************************************
  *  DISPLAY MESSAGES	                             *
  *****************************************************/

+ 3 - 16
main/css/chamilo_orange/default.css

@@ -95,33 +95,20 @@ a:active {
 /*****************************************************
  *  FOOTER STYLES                                    *
  *****************************************************/
-#footer {
+footer {
     background-color: #F88017;
     background-image: url(images/bg-footer.gif);
     background-repeat:repeat-x;
     font-size: 12px;
     color:#ffffff;
-    /*height: 10em;*/	 /* Do not change this value */
+    height: 10em;
     overflow:hidden;
-    width: 100%;
-    padding-bottom:18px;
+    width: 100%;    
 }
 /* Sticky footer*/
 .push {
     height: 9em; /* Very important */
 }
-#footer .copyright {
-    float: right;
-    padding-top:60px;
-    margin-right:5%;    
-}
-
-.footer_emails{
-    float: left;
-    padding-top:60px;
-    margin-right:5%;    
-}
-
 /*****************************************************
  *  DISPLAY MESSAGES	                             *
  *****************************************************/

+ 4 - 5
main/css/chamilo_red/default.css

@@ -27,7 +27,6 @@ a:active {
     /* background-image:url(images/bg-header1.gif); */
 }
 
-
 .subnav-fixed {
     position: fixed;
     top: 0px;
@@ -80,17 +79,17 @@ a:active {
 /*****************************************************
  *  FOOTER STYLES                                    *
  *****************************************************/
-#footer {
+footer {
     background-color: #a90a0e;
     background-image: url(images/bg-footer.gif);
     background-repeat:repeat-x;
     font-size: 12px;
     color:#ffffff;
-    /*height: 10em;*/	 /* Do not change this value */
+    height: 9em;
     overflow:hidden;
-    width: 100%;
-    padding-bottom:18px;
+    width: 100%;    
 }
+
 /* Sticky footer*/
 .push {
     height: 9em; /* Very important */

+ 8 - 13
main/css/chamilo_sport_red/default.css

@@ -7,11 +7,6 @@
 /**********************/
 /*** ADICIONAL CODE ***/
 /**********************/
-#logo {
- padding-top:25px;
- width: 420px;
- float:left;
-}
 div#header3 ul li a span {
     font-size:13px;
 }
@@ -25,7 +20,6 @@ div#header3 ul#logout {
     background: none;
 }
 
-
 #current #tab_active {
     color: #EDDD00;
 }
@@ -149,24 +143,25 @@ color: #9E0000;
 font-family: helvetica;
 font-size: 15px;
 }
-#footer a {
-    color:#FFC721;
-}
+
+
 
 
 /*****************************************************
  *  FOOTER STYLES                                    *
  *****************************************************/
-#footer {
+footer {
     background-color: #000;
     background-image: url(images/bg-footer.gif);
     background-repeat:repeat-x;
     font-size: 12px;
     color:#ffffff;
-    /*height: 10em;*/	 /* Do not change this value */
+    height: 10em;
     overflow:hidden;
-    width: 100%;
-    padding-bottom:18px;
+    width: 100%;    
+}
+footer a {
+    color:#FFC721;
 }
 /* Sticky footer*/
 .push {

+ 1 - 9
main/css/cool_blue/default.css

@@ -481,7 +481,7 @@ a:active {
 /*****************************************************
  *  FOOTER STYLES                                    *
  *****************************************************/
-#footer {
+footer {
 	background-image: url(images/tab-repeat.png);
 	background-repeat: repeat-x;
 	background-color: #434343;
@@ -492,14 +492,6 @@ a:active {
 	width: 100%;
 	padding-bottom:10px;
 }
-.footer_emails{
-	float: left;
-	margin-right:5%;	
-	background-image: url(images/tab-repeat.png);
-	background-repeat: repeat-x;
-	background-color: #434343;
-	padding-top:18px;
-}
 .push {
 	height: 3em; /* Very important */
 }

+ 7 - 6
main/css/corporate/default.css

@@ -23,9 +23,6 @@ body {
 	height: 100%;
 	margin: 0 auto -4em;
 }
-input[type="text"]:focus, input[type="password"]:focus, textarea:focus {
-	background-image:url(images/shadow.gif);
-}
 img {
 	border: none;
 }
@@ -211,15 +208,19 @@ input[type=button], input[type=submit] {
 }
 
 /* footer styles */
-#footer {
+footer {
 	border-top: 1px solid #aeaeae;
 	background-color: #434343;
 	font-size: 12px;
 	color:#fff;	
 	overflow:hidden;	
-	width: 100%;
-	padding-bottom:10px;
+	width: 100%;	
+    
+}
+footer a:link, footer a:visited {
+    color:#fff;
 }
+
 .push {
 	height: 4em; /* Very important */
 }

+ 5 - 7
main/css/cosmic_campus/default.css

@@ -200,24 +200,22 @@ input[type=button], input[type=submit] {
 }
 
 /* footer styles */
-#footer {
+footer {
 	background-color: #7171b7;
 	background-image: url(images/footer.jpg);
 	background-repeat: no-repeat;
 	font-size: 12px;
-	color:#ffffff;
-	
+	color:#ffffff;	
 	overflow:hidden;
 	width: 100%;
 	padding-bottom:10px;
 }
+footer a:link, footer a:visited {
+    color:#f1d40d;
+}
 .push {
 	height: 9em; /* Very important */
 }
-
-#footer a {
-	color:#f1d40d;
-}
 /* main styles */
 #main {
 	padding: 0px 10px 10px 10px;

+ 4 - 35
main/css/delicious_bordeaux/default.css

@@ -504,7 +504,7 @@ input[type="text"]:focus, input[type="password"]:focus, textarea:focus {
 /*****************************************************
  *  FOOTER STYLES                                    *
  *****************************************************/
-#footer {
+footer {
 	background-color: #434343;
 	background-image: url(images/tab-repeat.png);
 	background-repeat:repeat-x;
@@ -515,44 +515,13 @@ input[type="text"]:focus, input[type="password"]:focus, textarea:focus {
 	width: 100%;	
 	padding-bottom:10px;
 }
+footer a:link, footer a:visited {
+    color:#fff;
+}
 .push {
 	height: 3em; /* Very important */
 }
-#footer .copyright {
-	float: right;
-	padding-top:18px;
-	margin-right:10px;
-	background-color: #434343;
-	background-image: url(images/tab-repeat.png);
-	background-repeat:repeat-x;
-}
-.footer_emails{
-	float: left;
-	margin-right:5%;	
-	background-color: #434343;
-	background-image: url(images/tab-repeat.png);
-	background-repeat:repeat-x;
-	padding-top:18px;
-}
-#footer #platformmanager {
-	float: left;
-	margin-left:10px;
-}
-#footer a {
-	/*color:#fff;*/
-}
 
-#footer #coursemanager {
-	float: left;
-	margin-left: 10px;
-}
-.copyright {
-	display: inline;
-	float: right;
-	padding-right: 5px;
-}
-#bottom_corner {
-}
 /*****************************************************
  *  NAVIGATION MENU                                  *
  *****************************************************/

+ 7 - 42
main/css/dokeos_blue/default.css

@@ -485,58 +485,23 @@ input[type="text"]:focus, input[type="password"]:focus, textarea:focus {
 /*****************************************************
  *  FOOTER STYLES                                    *
  *****************************************************/
-#footer {
+footer {
 	background-color: #434343;
 	background-image: url(images/tab-repeat.png);
 	background-repeat:repeat-x;
 	font-size: 12px;
 	color:#ffffff;
-	//height: 4em;	 /* Do not change this value */ 
+	
 	overflow:hidden;	
-	width: 100%;
-	padding-bottom:10px;
+	width: 100%;	
+}
+footer a:link, footer a:visited {
+    color:#fff;
 }
 .push {
 	height: 5em; /* Very important */
 }
-#footer .copyright {
-	float: right;
-	padding-top:18px;
-	margin-right:10px;
-	background-color: #434343;
-	background-image: url(images/tab-repeat.png);
-	background-repeat:repeat-x;
-}
-.footer_emails{
-	float: left;
-	margin-right:5%;	
-	background-color: #434343;
-	background-image: url(images/tab-repeat.png);
-	background-repeat:repeat-x;
-	padding-top:20px;	
-}
-#footer #platformmanager {
-	float: left;
-	margin-left:10px;
-}
-#footer #coursemanager {
-	float: left;
-	margin-left: 10px;
-}
-#footer a {
-	color:#fff;
-}
-#footer #coursemanager {
-	float: left;
-	margin-left: 10px;
-}
-.copyright {
-	display: inline;
-	float: right;
-	padding-right: 5px;
-}
-#bottom_corner {
-}
+
 /*****************************************************
  *  NAVIGATION MENU                                  *
  *****************************************************/

+ 2 - 26
main/css/dokeos_classic/default.css

@@ -573,7 +573,7 @@ html>body #header4 { clear: none; }
 /*****************************************************
  *  FOOTER STYLES                                    *
  *****************************************************/
-#footer {
+footer {
 	border-top: 1px solid #4171B5;
 	background-color: #E5EDF9;
 	background-color: #E5EDF9;
@@ -581,36 +581,12 @@ html>body #header4 { clear: none; }
 	color:#000;
 	min-height: 50px;	
 	overflow:hidden;	
-	width: 100%;
-	padding-bottom:10px;
+	width: 100%;	
 }
 .push {
 	height: 4em; /* Very important */
 }
 
-#footer .copyright {
-	float: right;
-	padding-top:10px;
-	margin-right:10px;
-}
-.footer_emails{
-	float: left;
-	margin-right:5%;
-	padding-top:10px;	
-}
-#footer #platformmanager {
-	float: left;
-	margin-left:10px;
-}
-#footer #coursemanager {
-	float: left;
-	margin-left: 10px;
-}
-#footer .copyright {
-	float: right;
-}
-#bottom_corner {
-}
 /*****************************************************
  *  NAVIGATION MENU                                  *
  *****************************************************/

+ 2 - 28
main/css/dokeos_classic_2D/default.css

@@ -541,45 +541,19 @@ ul#navigation .student-connect a {
 ==============================================================================
 */
 
-#footer {
+footer {    
 	border-top: 1px solid #4171B5;
 	background-color: #E5EDF9;
 	font-size: 12px;
 	color:#000;
 	min-height: 50px;	
 	overflow:hidden;
-	width: 100%;	
-	padding-bottom:10px;
+	width: 100%;		
 }
 .push {
 	height: 4em; /* Very important */
 }
 
-#footer .copyright {
-	float: right;
-	padding-top:10px;
-	margin-right:10px;
-}
-.footer_emails{
-	float: left;
-	margin-right:5%;
-	padding-top:20px;	
-}
-#footer #platformmanager {
-	float: left;
-	margin-left:10px;
-}
-#footer #coursemanager {
-	float: left;
-	margin-left: 10px;
-}
-#myprofilefooter {
-	clear:both;
-	border-top:thin solid;
-	padding-top:2px;
-}
-#bottom_corner {
-}
 /*
 ==============================================================================
     NAVIGATION MENU

+ 5 - 39
main/css/empire_green/default.css

@@ -509,7 +509,7 @@ input[type="text"]:focus, input[type="password"]:focus, textarea:focus {
 /*****************************************************
  *  FOOTER STYLES                                    *
  *****************************************************/
-#footer {
+footer {
 	background-color: #434343;
 	background-image: url(images/tab-repeat.png);
 	background-repeat:repeat-x;
@@ -517,48 +517,14 @@ input[type="text"]:focus, input[type="password"]:focus, textarea:focus {
 	color:#ffffff;
 	min-height: 50px;	
 	overflow:hidden;
-	width: 100%;	
-	padding-bottom:10px;
+	width: 100%;		
+}
+footer a:link, footer a:visited {
+    color:#fff;
 }
 .push {
 	height: 3em; /* Very important */
 }
-#footer .copyright {
-	float: right;
-	padding-top:18px;
-	margin-right:10px;
-	background-color: #434343;
-	background-image: url(images/tab-repeat.png);
-	background-repeat:repeat-x;
-}
-.footer_emails{
-	float: left;
-	margin-right:5%;	
-	background-color: #434343;
-	background-image: url(images/tab-repeat.png);
-	background-repeat:repeat-x;
-	padding-top:18px;
-}
-#footer #platformmanager {
-	float: left;
-	margin-left:10px;
-}
-
-#footer a {
-	color:#fff;
-}
-
-#footer #coursemanager {
-	float: left;
-	margin-left: 10px;
-}
-.copyright {
-	display: inline;
-	float: right;
-	padding-right: 5px;
-}
-#bottom_corner {
-}
 /*****************************************************
  *  NAVIGATION MENU                                  *
  *****************************************************/

+ 5 - 39
main/css/fruity_orange/default.css

@@ -510,7 +510,7 @@ input[type="text"]:focus, input[type="password"]:focus, textarea:focus {
 /*****************************************************
  *  FOOTER STYLES                                    *
  *****************************************************/
-#footer {
+footer {
 	background-color: #434343;
 	background-image: url(images/tab-repeat.png);
 	background-repeat:repeat-x;
@@ -518,48 +518,14 @@ input[type="text"]:focus, input[type="password"]:focus, textarea:focus {
 	color:#ffffff;
 	min-height: 50px;	
 	overflow:hidden;
-	width: 100%;	
-	padding-bottom:10px;
+	width: 100%;		
+}
+footer a:link, footer a:visited {
+    color:#fff;
 }
 .push {
 	height: 3em; /* Very important */
 }
-#footer .copyright {
-	float: right;
-	padding-top:18px;
-	margin-right:10px;
-	background-color: #434343;
-	background-image: url(images/tab-repeat.png);
-	background-repeat:repeat-x;
-}
-.footer_emails{
-	float: left;
-	margin-right:5%;	
-	background-color: #434343;
-	background-image: url(images/tab-repeat.png);
-	background-repeat:repeat-x;
-	padding-top:18px;
-}
-#footer #platformmanager {
-	float: left;
-	margin-left:10px;
-}
-
-#footer a {
-	color:#fff;
-}
-
-#footer #coursemanager {
-	float: left;
-	margin-left: 10px;
-}
-.copyright {
-	display: inline;
-	float: right;
-	padding-right: 5px;
-}
-#bottom_corner {
-}
 /*****************************************************
  *  NAVIGATION MENU                                  *
  *****************************************************/

+ 4 - 32
main/css/medical/default.css

@@ -543,7 +543,7 @@ a:active {
 /*****************************************************
  *  FOOTER STYLES                                    *
  *****************************************************/
-#footer {
+footer {
 	background-color: #fff;
 	background-image: url(images/footer.jpg);
 	background-repeat: no-repeat;
@@ -552,41 +552,13 @@ a:active {
 	color:#666;
 	min-height: 50px;	
 	overflow:hidden;	
-	width: 100%;
-	padding-bottom:10px;
+	width: 100%;	
+    height: 7em;
 }
+
 .push {
 	height: 5em; /* Very important */
 }
-.footer_emails{
-	float: left;
-	margin-right:5%;	
-	background-color: #fff;
-	background-image: url(images/footer.jpg);
-	background-repeat:repeat-x;
-	padding-top:25px;	
-}
-#footer .copyright {
-	float: right;
-	padding-top:25px;
-	margin-right:10px;
-	background-color: #fff;
-	background-image: url(images/footer.jpg);
-	background-repeat: no-repeat;
-}
-#footer #platformmanager {
-	float: left;
-	margin-left:10px;
-}
-#footer #coursemanager {
-	float: left;
-	margin-left: 10px;
-}
-#footer a {
-	color:#999999;
-}
-#bottom_corner {
-}
 /*****************************************************
  *  NAVIGATION MENU                                  *
  *****************************************************/

+ 4 - 34
main/css/public_admin/default.css

@@ -522,7 +522,7 @@ a:active {
 /*****************************************************
  *  FOOTER STYLES                                    *
  *****************************************************/
-#footer {
+footer {
     background-color: #305582;
     background-image: url(images/footer.jpg);
     background-repeat:repeat-x;
@@ -533,42 +533,12 @@ a:active {
     width: 100%;
     padding-bottom:10px;
 }
-.push {
-    height: 9em; /* Very important */
-}
-#footer .copyright {
-    float: right;
-    padding-top:60px;
-    margin-right:10px;
-    background-color: #305582;
-    background-image: url(images/footer.jpg);
-    background-repeat:repeat-x;
-
-}
-.footer_emails{
-    float: left;
-    margin-right:5%;
-    background-color: #305582;
-    background-image: url(images/footer.jpg);
-    background-repeat:repeat-x;
-    padding-top:60px;
-}
-#footer #platformmanager {
-    float: left;
-    margin-left:10px;
-}
-#footer #coursemanager {
-    float: left;
-    margin-left: 10px;
-}
-#footer a {
+footer a:link, footer a:visited {
     color:#f1d40d;
 }
-#bottom_corner {
+.push {
+    height: 9em; /* Very important */
 }
-
-
-
 /*
 ==============================================================================
     NAVIGATION MENU

+ 1 - 32
main/css/royal_purple/default.css

@@ -465,7 +465,7 @@ a:active {
 /*****************************************************
  *  FOOTER STYLES                                    *
  *****************************************************/
-#footer {
+footer {
 	background-color: #434343;
 	background-image: url(images/tab-repeat.png);
 	background-repeat:repeat-x;
@@ -479,37 +479,6 @@ a:active {
 .push {
 	height: 3em; /* Very important */
 }
-#footer .copyright {
-	float: right;
-	padding-top:18px;
-	margin-right:10px;
-	background-color: #434343;
-	background-image: url(images/tab-repeat.png);
-	background-repeat:repeat-x;
-}
-.footer_emails{
-	float: left;
-	margin-right:5%;	
-	background-color: #434343;
-	background-image: url(images/tab-repeat.png);
-	background-repeat:repeat-x;	
-}
-#footer #platformmanager {
-	float: left;
-	margin-left:10px;
-}
-#footer #coursemanager {
-	float: left;
-	margin-left: 10px;
-}
-#footer a {
-	color:#fff;
-}
-#footer #coursemanager {
-	margin-left: 10px;
-}
-#bottom_corner {
-}
 /*****************************************************
  *  NAVIGATION MENU                                  *
  *****************************************************/

+ 4 - 1
main/css/silver_line/default.css

@@ -518,7 +518,7 @@ ul#navigation .student-connect a {
     FOOTER STYLES
 ==============================================================================
 */
-#footer {
+footer {
 	background-image: url(images/bg.jpg);
 	background-repeat:repeat-x;
     background-color:#E4E2E5;
@@ -526,6 +526,9 @@ ul#navigation .student-connect a {
     font-size: 12px;
     color:#000;
     width: 100%;
+    height: 9em;
+    overflow:hidden;
+    padding-top: 51px;
 }
 .push {
     height: 9em; /* Very important */

+ 6 - 35
main/css/sober_brown/default.css

@@ -505,49 +505,20 @@ a:active {
  *  FOOTER STYLES                                    *
  *****************************************************/
 
-#footer {
+footer {
     background-color: #756e64;
     background-image: url(images/footer.jpg);
     background-repeat:repeat-x;
     color:#fff;
-    font-size: 12px;
-    min-height: 100px;
+    font-size: 12px;    
     overflow:hidden;
-    width: 100%;
-    padding-bottom:10px;
+    width: 100%;        
 }
-.push {
-    height: 4em; /* Very important */
-}
-#footer .copyright {
-    float: right;
-    padding-top:25px;
-    margin-right:10px;
-    background-color: #756e64;
-    background-image: url(images/footer.jpg);
-    background-repeat:repeat-x;
-}
-.footer_emails{
-    float: left;
-    margin-right:5%;
-    background-color: #756e64;
-    background-image: url(images/bg-footer.gif);
-    background-repeat:repeat-x;
-    margin-top:20px;
-    padding-top:25px;
-}
-#footer #platformmanager {
-    float: left;
-    margin-left:10px;
-}
-#footer #coursemanager {
-    float: left;
-    margin-left: 10px;
-}
-#footer a {
+footer a:link, footer a:visited {
     color:#fff;
 }
-#bottom_corner {
+.push {
+    height: 4em; /* Very important */
 }
 /*****************************************************
  *  NAVIGATION MENU                                  *

+ 4 - 36
main/css/steel_grey/default.css

@@ -491,7 +491,7 @@ input[type="text"]:focus, input[type="password"]:focus, textarea:focus {
 /*****************************************************
  *  FOOTER STYLES                                    *
  *****************************************************/
-#footer {
+footer {
 	background-color: #434343;
 	background-image: url(images/tab-repeat.png);
 	background-repeat:repeat-x;
@@ -502,44 +502,12 @@ input[type="text"]:focus, input[type="password"]:focus, textarea:focus {
 	width: 100%;	
 	padding-bottom:10px;
 }
+footer a:link, footer a:visited {
+    color:#fff;
+}
 .push {
 	height: 3em; /* Very important */
 }
-#footer .copyright {
-	float: right;
-	padding-top:18px;
-	margin-right:10px;
-	background-color: #434343;
-	background-image: url(images/tab-repeat.png);
-	background-repeat:repeat-x;
-}
-.footer_emails{
-	float: left;
-	margin-right:5%;	
-	background-color: #434343;
-	background-image: url(images/tab-repeat.png);
-	background-repeat:repeat-x;
-	padding-top:18px;
-}
-#footer #platformmanager {
-	float: left;
-	margin-left:10px;
-}
-#footer a {
-	color:#fff;
-}
-
-#footer #coursemanager {
-	float: left;
-	margin-left: 10px;
-}
-.copyright {
-	display: inline;
-	float: right;
-	padding-right: 5px;
-}
-#bottom_corner {
-}
 /*****************************************************
  *  NAVIGATION MENU                                  *
  *****************************************************/

+ 5 - 39
main/css/tasty_olive/default.css

@@ -481,7 +481,7 @@ a:active {
 /*****************************************************
  *  FOOTER STYLES                                    *
  *****************************************************/
-#footer {
+footer {
 	background-color: #434343;
 	background-image: url(images/tab-repeat.png);
 	background-repeat:repeat-x;
@@ -489,48 +489,14 @@ a:active {
 	color:#ffffff;
 	min-height: 50px;	
 	overflow:hidden;
-	width: 100%;	
-	padding-bottom:10px;
+	width: 100%;		
+}
+footer a:link, footer a:visited {
+    color:#fff;
 }
 .push {
 	height: 3em; /* Very important */
 }
-#footer .copyright {
-	float: right;
-	padding-top:18px;
-	margin-right:10px;
-	background-color: #434343;
-	background-image: url(images/tab-repeat.png);
-	background-repeat:repeat-x;
-}
-.footer_emails{
-	float: left;
-	margin-right:5%;	
-	background-color: #434343;
-	background-image: url(images/tab-repeat.png);
-	background-repeat:repeat-x;
-	padding-top:18px;
-}
-#footer #platformmanager {
-	float: left;
-	margin-left:10px;
-}
-
-#footer a {
-	color:#fff;
-}
-
-#footer #coursemanager {
-	float: left;
-	margin-left: 10px;
-}
-.copyright {
-	display: inline;
-	float: right;
-	padding-right: 5px;
-}
-#bottom_corner {
-}
 /*****************************************************
  *  NAVIGATION MENU                                  *
  *****************************************************/

+ 3 - 3
main/template/default/layout/footer.tpl

@@ -1,5 +1,5 @@
-<div id="footer"> <!-- start of #footer section -->	    
-    <div class="container">  
+<footer> <!-- start of #footer section -->	    
+    <div class="container">
         <div class="row">            
             <div id="footer_left" class="span4">
                 {if $session_teachers}
@@ -54,7 +54,7 @@
             </div><!-- end of #footer_right -->
         </div><!-- end of #row -->        
     </div><!-- end of #container -->
-</div><!-- end of #footer -->
+</footer>
 
 {$footer_extra_content}
 

+ 2 - 2
main/template/default/layout/head.tpl

@@ -1,7 +1,8 @@
 <meta charset="{$system_charset}" />
 <link href="http://www.chamilo.org/documentation.php" rel="Help" />
-<link href="http://www.chamilo.org/team.php" rel="Author" />
+<link href="http://www.chamilo.org/team.php" rel="author" />
 <link href="http://www.chamilo.org" rel="Copyright" />
+{$favico}
 {* This fires some HTML5 errors *}
 {* <link rel="top"	href="{$_p.web_main}index.php" title="" />
 <link rel="courses" href="{$_p.web_main}auth/courses.php" title="{"OtherCourses"|get_lang}"/>
@@ -52,7 +53,6 @@ var disconnect_lang = '{"ChatDisconnected"|get_lang}';
 {$js_file_to_string}
 {$css_file_to_string}
 {$extra_headers}
-{$favico}
 
 <script type="text/javascript">
 

+ 63 - 61
main/template/default/layout/hot_courses.tpl

@@ -1,66 +1,68 @@
-<script type="text/javascript">
-$(document).ready( function() {
-    $('.star-rating li a').live('click', function(event) {        
-        var id = $(this).parents('ul').attr('id');        
-        $('#vote_label2_' + id).html("{'Loading'|get_lang}");           
-        $.ajax({
-            url: $(this).attr('data-link'),
-            success: function(data) {
-                $("#rating_wrapper_"+id).html(data);
-                if(data == 'added') {                                                                        
-                    //$('#vote_label2_' + id).html("{'Saved'|get_lang}");
+{if !(empty($hot_courses)) }
+    
+    <script type="text/javascript">
+    $(document).ready( function() {
+        $('.star-rating li a').live('click', function(event) {        
+            var id = $(this).parents('ul').attr('id');        
+            $('#vote_label2_' + id).html("{'Loading'|get_lang}");           
+            $.ajax({
+                url: $(this).attr('data-link'),
+                success: function(data) {
+                    $("#rating_wrapper_"+id).html(data);
+                    if(data == 'added') {                                                                        
+                        //$('#vote_label2_' + id).html("{'Saved'|get_lang}");
+                    }
+                    if(data == 'updated') {
+                        //$('#vote_label2_' + id).html("{'Saved'|get_lang}");
+                    }
                 }
-                if(data == 'updated') {
-                    //$('#vote_label2_' + id).html("{'Saved'|get_lang}");
-                }
-            }
-        });        
+            });        
+        });
+
     });
-       
-});
-</script>
+    </script>
+    <section id="hot_courses">
+        <div class="row">    
+            <div class="span9">
+                <h3>{"HottestCourses"|get_lang}</h3>
+            </div>
+        {foreach $hot_courses as $hot_course}										
+            <div class="span9">
+                <div class="categories-block-course ">            
+                <div class="categories-content-course">
 
-{if !(empty($hot_courses)) }		 
-    <div class="row">    
-        <div class="span9">
-            <h3>{"HottestCourses"|get_lang}</h3>
-        </div>
-	{foreach $hot_courses as $hot_course}										
-		<div class="span9">
-            <div class="categories-block-course ">            
-			<div class="categories-content-course">
-				
-				<div class="categories-course-picture">
-					<img src="{$hot_course.extra_info.course_image}" />
-                         {* html_image file=$hot_course.extra_info.course_image *}
-				</div>
-				
-				<div class="categories-course-description">
-					<div class="course-block-title">{$hot_course.extra_info.name|truncate:60}</div>							
-					{$hot_course.extra_info.rating_html}					
-				</div>			
-			</div>
-				
-			<div class="categories-course-links">
-				<div class="course-link-desc right">
-				{if ($hot_course.extra_info.visibility == 3)} 
-					<a class="ajax a_button white small" title="" href="{$_p.web_ajax}course_home.ajax.php?a=show_course_information&code={$hot_course.course_code}">
-						{"Description"|get_lang}
-					</a>
-				{/if}								
-				</div>
+                    <div class="categories-course-picture">
+                        <img src="{$hot_course.extra_info.course_image}" />
+                        {* html_image file=$hot_course.extra_info.course_image *}
+                    </div>
 
-				{* World *}
-				{if ($hot_course.extra_info.visibility == 3)}
-					<div class="course-link-desc right">
-						<a class="a_button gray small" title="" href="{$_p.web_course}{$hot_course.extra_info.path}/index.php">
-							{"GoToCourse"|get_lang}
-						</a>
-					</div>
-				{/if}				
-			</div>
-            </div>
-		</div>            
-	{/foreach}
-     </div>
+                    <div class="categories-course-description">
+                        <div class="course-block-title">{$hot_course.extra_info.name|truncate:60}</div>							
+                        {$hot_course.extra_info.rating_html}					
+                    </div>			
+                </div>
+
+                <div class="categories-course-links">
+                    <div class="course-link-desc right">
+                    {if ($hot_course.extra_info.visibility == 3)} 
+                        <a class="ajax a_button white small" title="" href="{$_p.web_ajax}course_home.ajax.php?a=show_course_information&code={$hot_course.course_code}">
+                            {"Description"|get_lang}
+                        </a>
+                    {/if}								
+                    </div>
+
+                    {* World *}
+                    {if ($hot_course.extra_info.visibility == 3)}
+                        <div class="course-link-desc right">
+                            <a class="a_button gray small" title="" href="{$_p.web_course}{$hot_course.extra_info.path}/index.php">
+                                {"GoToCourse"|get_lang}
+                            </a>
+                        </div>
+                    {/if}				
+                </div>
+                </div>
+            </div>            
+        {/foreach}
+        </div>
+    </section>
 {/if}

+ 13 - 15
main/template/default/layout/layout_2_col.tpl

@@ -17,16 +17,18 @@
 	<div class="span9">		
         {* Content bottom *}
 
-        {if !empty($plugin_content_top)}           
+        {if !empty($plugin_content_top)}         
             <div id="plugin_content_top">
                 {$plugin_content_top}
             </div>
         {/if}
         
 		{* ?? *}
-        <section id="home_page">
-		{$home_page_block}
-        </section>
+        {if !empty($home_page_block)}
+            <section id="home_page">
+            {$home_page_block}
+            </section>
+        {/if}
 		
 		{* ?? *}
 		{$sniff_notification}
@@ -34,19 +36,16 @@
         {include file="default/layout/page_body.tpl"}	
 		
 		{* Announcements *}
-        <section id="announcements_page">
-		{$announcements_block}
-        </section>
+        {if !empty($announcements_page_block)}
+            <section id="announcements_page">
+            {$announcements_block}
+            </section>
+        {/if}
 		
-		{* Hot courses template *}
-		<section id="hot_courses">
+		{* Hot courses template *}		
 		{include file="default/layout/hot_courses.tpl"}
-        {* fix the bug where the login is at the left side*}
-        &nbsp;
-        </section>      
         
         {* Content bottom *}
-
         {if !empty($plugin_content_bottom)}               
             <div id="plugin_content_bottom">
                 {$plugin_content_bottom}
@@ -55,8 +54,7 @@
 	</div>
 		
 	{* Right column *}
-	<div class="span3">
-		
+	<div class="span3">		
 	    {*if user is not login show the login form*}
 		{if $_u.logged == 0}
 			{include file="default/layout/login_form.tpl"}

+ 1 - 1
main/template/default/layout/main_header.tpl

@@ -2,7 +2,7 @@
 <!--[if lt IE 7]> <html lang="{$document_language}" class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
 <!--[if IE 7]>    <html lang="{$document_language}" class="no-js lt-ie9 lt-ie8"> <![endif]-->
 <!--[if IE 8]>    <html lang="{$document_language}" class="no-js lt-ie9"> <![endif]-->
-<!--[if gt IE 8]><!--> <html lang="{$document_language}" class="no-js"> <!--<![endif]-->
+<!--[if gt IE 8]><!--><html lang="{$document_language}" class="no-js"> <!--<![endif]-->
 <head>
 {* <script type="text/javascript" src="http://fbug.googlecode.com/svn/lite/branches/firebug1.4/content/firebug-lite-dev.js"></script> *}
 {include file="default/layout/head.tpl"}

+ 5 - 3
main/template/default/layout/page_body.tpl

@@ -13,9 +13,11 @@
 {/if}
 
 {* Show messages*}
-<section id="messages">
-{$message}
-</section>
+{if !empty($message) }
+    <section id="messages">
+    {$message}
+    </section>
+{/if}
 
 {* Main content*}
 <section id="main_content">