Explorar o código

Avoid notice message

jmontoya %!s(int64=15) %!d(string=hai) anos
pai
achega
5b7fa64da4

+ 65 - 42
main/css/academica/default.css

@@ -1,12 +1,8 @@
-/* Styles that should disappear */
-.row {
-	width:100%;
-}
-div.row div.label {
-	width: 0%;
-}
-div.row div.formw {
-	width: 100%;
+/*****************************************************
+ *  MAIN - ACADEMICA	                             *
+ *****************************************************/
+html {
+	height: 100%;
 }
 /* Redefining html styles */
 body {
@@ -16,6 +12,13 @@ body {
 	font-size: 12px;
 	margin: 0;
 	padding: 0;
+	height: 100%; /* stick */	
+}
+#wrapper{
+	min-height: 100%;
+	height: auto !important;
+	height: 100%;
+	margin: 0 auto -22em;
 }
 input[type="text"]:focus, input[type="password"]:focus, textarea:focus {
 	background-image:url(images/shadow.gif);
@@ -106,11 +109,22 @@ input[type=button], input[type=submit] {
 	margin: 0;
 	padding: 0;
 }
-#header3 ul {
-	list-style:none;
+
+#header3 UL {
+	PADDING-RIGHT: 2px;
+	PADDING-LEFT: 10px;
+	PADDING-BOTTOM: 0px;
+	MARGIN: 0px;
+	LIST-STYLE-TYPE: none;
+	display: inline;
 }
-#header3 li {
-	display:inline;
+#header3 LI {
+	PADDING-RIGHT: 0px;
+	PADDING-LEFT: 9px;
+	FLOAT: left;
+	PADDING-BOTTOM: 0px;
+	MARGIN: 0px;
+	PADDING-TOP: 0px;/*border-bottom: 1px solid #dcdcdc;*/
 	cursor: pointer;
 }
 #header3 a {
@@ -145,25 +159,18 @@ input[type=button], input[type=submit] {
 #header3 #current a span {
 	float:left;
 }
-#logout li a {
-	display: inline;
-	float: right;
-	vertical-align:top;
-	margin-right:5px;
-	text-decoration:none;
+
+#header3 #logout {
+	margin-top: 0px;
 }
-#logout li a:hover {
+#logout {
+	display: inline;
 	float: right;
-	vertical-align:top;
-	text-decoration:none;
-	margin-right:5px;
-}
-#logout li a span {
-	float:left;
-	cursor: pointer;
-}
-#logout li a:hover span {
+	width: auto;
+	text-align: right;
+	font-size: 1.0em;
 }
+
 /* header 4 styles */ 
 #header4 {
 	background-color: #fff;
@@ -179,10 +186,24 @@ a.breadcrumb0 {
 }
 /* footer styles */
 #footer {
-	background: #4171b5 url('images/bg.jpg') no-repeat 50% 100%;
-	color: #b0c8eb;
-	padding: 82px 0 .8em 2%;
-	border-bottom: 1px solid #4171b5;
+	height: 22em;
+	background-color: #4171b5;
+	background: url(images/bg.jpg) 50% 100%;
+	color: #B0C8EB;
+	font-weight:bold;	
+}
+.push {
+	height: 22em; /* Very important */
+}
+#footer .copyright {
+	float: right;
+	padding-top:235px;
+	margin-right:10px;
+}
+#footer #platformmanager {
+	float: left;
+	padding-top:235px;
+	margin-left:10px;
 }
 #footerright {
 	margin-top: 10px;
@@ -193,7 +214,7 @@ a.breadcrumb0 {
 	padding-top: 10px;
 }
 #footer a {
-	color: #FFFFFF;
+	color: #fff;
 }
 /* main styles */
 #main {
@@ -226,6 +247,16 @@ a.breadcrumb0 {
 	list-style-type: none;
 	margin-bottom: 5px;
 }
+/* user_portal session list */
+.session_course_item .courses {
+	margin-bottom: 5px;
+	height:35px;
+}
+.session_course_item {
+	/* padding: 0px; */
+	margin: 0px;
+}
+
 .courses a {
 	text-decoration:underline;
 }
@@ -906,14 +937,6 @@ div.lp_resource_elements {
 	width:95%;
 }
 
-.session_course_item {
-	/* padding: 0px; */
-	margin: 0px;
-}
-.session_course_item .courses {
-	height:22px;
-}
-
 /* exercices styles */
 .exercice_form {
 	width: 300px;

BIN=BIN
main/css/academica/images/bg.jpg


+ 42 - 20
main/css/baby_orange/default.css

@@ -1,14 +1,9 @@
-/* Styles that should disappear */
-.row {
-	width:100%;
-}
-div.row div.label {
-	width: 0%;
-}
-div.row div.formw {
-	width: 100%;
+/*****************************************************
+ *  MAIN - BABY     	                             *
+ *****************************************************/
+html {
+	height: 100%;
 }
-/* Redefining html styles */
 body {
 	/* hack ignored by non-IE to enable ie to support :hover on button */
         behavior:url("/main/css/csshover3.htc");
@@ -18,6 +13,13 @@ body {
 	background-color: #fff;
 	margin: 0;
 	padding: 0;
+	height: 100%; /* stick */	
+}
+#wrapper{
+	min-height: 100%;
+	height: auto !important;
+	height: 100%;
+	margin: 0 auto -10em;
 }
 input[type="text"]:focus, input[type="password"]:focus, textarea:focus {
 	background-image:url(images/shadow.gif);
@@ -175,11 +177,30 @@ a.breadcrumb0 {
 	padding-left: 22px;
 }
 /* footer styles */
+
 #footer {
-	background: #4171b5 url('images/bg.jpg') no-repeat 100% 100%;
-	color: #f7d77e;
-	padding: 82px 0 .8em 2%;
+	height:10em;
+	background:transparent url(images/bg.jpg) no-repeat scroll 100% 100%;
+	clear:both;
+	color:#F7D77E;
+	float:left;
+	width:98%;	
+	padding: 0 0 0 2%;
+}
+.push {
+	height: 10em; /* Very important */
+}
+#footer .copyright {
+	float: right;
+	padding-top:98px;
+	margin-right:10px;
+}
+#footer #platformmanager {
+	float: left;
+	padding-top:98px;
+	margin-left:10px;
 }
+
 #footerright {
 	margin-top: 10px;
 	float: right;
@@ -191,6 +212,8 @@ a.breadcrumb0 {
 #footer a {
 	font-weight:normal;
 }
+
+
 /* main styles */
 #main {
  //padding-left: 30px;
@@ -201,11 +224,10 @@ a.breadcrumb0 {
 	padding-bottom: 5px;
 }
 /* my courses styles */
-#maincontent {
-	float: left;
-	width: 80%;
-	min-height: 333px;
-	margin-top:0;
+
+.maincontent {
+	margin: 0 0 1em 1em;
+	width: 69%;
 	float: right;
 	clear: right;
 }
@@ -253,9 +275,9 @@ a.breadcrumb0 {
 	margin: 0 0 1em 0;
 	padding: 0 0 .3em 0;
 	/* min-height hack for ie6 or older*/
-	min-height: 320px;
+	min-height: 380px;
 	height: auto !important;
-	height: 320px;
+	height: 380px;
 }
 .menu #lang_form select {
 	margin: 1em 31px;

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

@@ -1,6 +1,9 @@
 /*****************************************************
- *  MAIN		                                    *
+ *  MAIN -  BLUE LAGOON		                                    *
  *****************************************************/
+html {
+	height: 100%;
+}
 body {
 	/* hack ignored by non-IE to enable ie to support :hover on button */
      behavior:url("/main/css/csshover3.htc");
@@ -10,6 +13,13 @@ body {
 	margin: 0;
 	padding: 0;
 	background-color: #fff;
+	height: 100%; /* stick */	
+}
+#wrapper{
+	min-height: 100%;
+	height: auto !important;
+	height: 100%;
+	margin: 0 auto -3em;
 }
 #outerframe {
 	position: relative;  /* do not remove, fixes a bug in IE */
@@ -329,20 +339,31 @@ input[type="text"]:focus, input[type="password"]:focus, textarea:focus {
  *  FOOTER STYLES                                    *
  *****************************************************/
 #footer {
-	height:auto;
+	height:3em;
 	background-image: url(images/tab-repeat.png);
 	background-repeat: repeat-x;
 	color:#fff;
-	padding-top: 5px;
-	padding-bottom: 5px;
-	padding-left: 5px;
-	background-position: center -15px;
+	background-color: #434343;
 }
-#footer a {
-	color:#fff;
+.push {
+	height: 3em; /* Very important */
+}
+#footer .copyright {
+	float: right;
+	padding-top:25px;
+	margin-right:10px;
 }
 #footer #platformmanager {
+	float: left;
+	padding-top:25px;
+	margin-left:10px;
 }
+#footer a {
+	color:#fff;
+}
+default.css (línea 362)
+
+
 #footer #coursemanager {
 	margin-left: 10px;
 }

+ 29 - 14
main/css/cool_blue/default.css

@@ -1,6 +1,9 @@
 /*****************************************************
- *  MAIN		                                    *
+ *  MAIN - COOL BLUE	                             *
  *****************************************************/
+html {
+	height: 100%;
+}
 body {
 	/* hack ignored by non-IE to enable ie to support :hover on button */
      behavior:url("/main/css/csshover3.htc");
@@ -10,6 +13,13 @@ body {
 	margin: 0;
 	padding: 0;
 	background-color: #fff;
+	height: 100%; /* stick */	
+}
+#wrapper{
+	min-height: 100%;
+	height: auto !important;
+	height: 100%;
+	margin: 0 auto -3em;
 }
 #outerframe {
 	position: relative;  /* do not remove, fixes a bug in IE */
@@ -28,7 +38,7 @@ body {
 	margin-top: 10px;
 	width: 98%;
 	padding: 0px 10px 10px 10px;
-	min-height: 320px;
+	min-height: 320px;	
 }
 /* for content section in main index.php file */
 .maincontent {
@@ -329,28 +339,33 @@ input[type="text"]:focus, input[type="password"]:focus, textarea:focus {
  *  FOOTER STYLES                                    *
  *****************************************************/
 #footer {
-	height:auto;
+	height:3em;
 	background-image: url(images/tab-repeat.png);
 	background-repeat: repeat-x;
 	color:#fff;
-	padding-top: 5px;
-	padding-bottom: 5px;
-	padding-left: 5px;
-	background-position: center -15px;
+	/* background-position: center -15px; */
+	background-color: #434343;
 }
-#footer a {
-	color:#fff;
+.push {
+	height: 3em; /* Very important */
+}
+#footer .copyright {
+	float: right;
+	padding-top:25px;
+	margin-right:10px;
 }
 #footer #platformmanager {
+	float: left;
+	padding-top:25px;
+	margin-left:10px;
+}
+#footer a {
+	color:#fff;
 }
 #footer #coursemanager {
 	margin-left: 10px;
 }
-.copyright {
-	display: inline;
-	float: right;
-	padding-right: 5px;
-}
+
 #bottom_corner {
 }
 /*****************************************************

+ 61 - 36
main/css/corporate/default.css

@@ -1,12 +1,8 @@
-/* Styles that should disappear */
-.row {
-	width:100%;
-}
-div.row div.label {
-	width: 0%;
-}
-div.row div.formw {
-	width: 100%;
+/*****************************************************
+ *  MAIN - CORPORATE	                             *
+ *****************************************************/
+html {
+	height: 100%;
 }
 /* Redefining html styles */
 body {
@@ -16,6 +12,13 @@ body {
 	font-size: 12px;
 	margin: 0;
 	padding: 0;
+	height: 100%; /* stick */	
+}
+#wrapper{
+	min-height: 100%;
+	height: auto !important;
+	height: 100%;
+	margin: 0 auto -4em;
 }
 input[type="text"]:focus, input[type="password"]:focus, textarea:focus {
 	background-image:url(images/shadow.gif);
@@ -65,7 +68,6 @@ input[type=button], input[type=submit] {
 #my_courses {
 	float: right;
 	font-weight: bold;
-	margin-right: 100px;
 }
 #header1 img {
 	border: 0px;
@@ -107,13 +109,27 @@ input[type=button], input[type=submit] {
 	height:auto;
 	font-weight: bold;
 }
-#header3 ul {
+
+
+#header3 UL {
+	PADDING-RIGHT: 2px;
+	PADDING-LEFT: 10px;
+	PADDING-BOTTOM: 0px;
+	MARGIN: 0px;
 	list-style:none;
+	display: inline;
 }
-#header3 li {
-	/*display:inline;*/
-    cursor: pointer;
+#header3 LI {
+	PADDING-RIGHT: 0px;
+	PADDING-LEFT: 2px;
+	FLOAT: left;
+	PADDING-BOTTOM: 0px;
+	MARGIN: 0px;
+	PADDING-TOP: 0px;/*border-bottom: 1px solid #dcdcdc;*/
+	cursor: pointer;
 }
+
+
 #header3 a {
 	float:left;
 	background:url(../../img/dokeosgrey/tab_left.gif) no-repeat left top;
@@ -157,30 +173,21 @@ input[type=button], input[type=submit] {
 	display:block;
 	background:url(../../img/dokeosgrey/tab_right_active.gif) no-repeat right top;
 }
-#logout li a {
-	float: right;
-	vertical-align:top;
-	background:url(../../img/dokeosgrey/tab_left.gif) no-repeat left top;
-	margin-right:5px;
-	text-decoration:none;
-}
-#logout li a:hover {
-	float: right;
-	vertical-align:top;
-	background:url(../../img/dokeosgrey/tab_left_hover.gif) no-repeat left top;
-	text-decoration:none;
-	margin-right:5px;
+
+#header3 #logout {
+	margin-top: 0px;
 }
-#logout li a span {
-	float:left;
-	display:block;
-	background:url(../../img/dokeosgrey/tab_right.gif) no-repeat right top;
-	color:#333;
-	cursor: pointer;
+#header3 input.logout:hover {
 }
-#logout li a:hover span {
-	background:url(../../img/dokeosgrey/tab_right_hover.gif) no-repeat right top;
+#logout {
+	display: inline;
+	float: right;
+	width: auto;
+	text-align: right;
+	font-size: 1.0em;
 }
+
+
 /* header 4 styles */ 
 #header4 {
 	margin-left: 5px;
@@ -196,7 +203,24 @@ a.breadcrumb0 {
 /* footer styles */
 #footer {
 	border-top: 1px solid #aeaeae;
+	height:3.5em;	
+	color:#fff;	
+	background-color: #434343;
+}
+.push {
+	height: 4em; /* Very important */
+}
+#footer .copyright {
+	float: right;
+	padding-top:8px;
+	margin-right:10px;
 }
+#footer #platformmanager {
+	float: left;
+	padding-top:8px;
+	margin-left:10px;
+}
+
 #footerright {
 	margin-top: 10px;
 	float: right;
@@ -206,6 +230,7 @@ a.breadcrumb0 {
 	padding-top: 10px;
 }
 #footer a {
+	color:#fff;
 }
 /* main styles */
 #main {
@@ -216,7 +241,7 @@ a.breadcrumb0 {
 	padding-bottom: 5px;
 }
 /* my courses styles */
-#maincontent {
+.maincontent {
 	float: left;
 	width: 75%;
 	min-height: 333px;

+ 41 - 13
main/css/cosmic_campus/default.css

@@ -1,11 +1,8 @@
-.row {
-	width:100%;
-}
-div.row div.label {
-	width: 0%;
-}
-div.row div.formw {
-	width: 100%;
+/*****************************************************
+ *  MAIN   - COSMIC CAMPUS                           *
+ *****************************************************/
+html {
+	height: 100%;
 }
 /* Redefining html styles */
 body {
@@ -17,7 +14,24 @@ body {
 	background-color: #fff;
 	margin: 0;
 	padding: 0;
+	height: 100%; /* stick */
+}
+#wrapper{
+	min-height: 100%;
+	height: auto !important;
+	height: 100%;
+	margin: 0 auto -7em;
+}
+.row {
+	width:100%;
+}
+div.row div.label {
+	width: 0%;
 }
+div.row div.formw {
+	width: 100%;
+}
+
 input[type="text"]:focus, input[type="password"]:focus, textarea:focus {
 	background-image:url(images/shadow.gif);
 }
@@ -194,13 +208,27 @@ a.breadcrumb0 {
 }
 /* footer styles */
 #footer {
-	padding: 60px;
-	height: 10px;
-	background-color: #ffffff;
+	height: 7em;
+	background-color: #fff;
 	background-image: url(images/footer.jpg);
 	background-repeat: no-repeat;
-	color:#ffffff;
+	color:#fff;
+}
+.push {
+	height: 7em; /* Very important */
 }
+
+#footer .copyright {
+	float: right;
+	padding-top:55px;
+	margin-right:10px;
+}
+#footer #platformmanager {
+	float: left;
+	padding-top:55px;
+	margin-left:10px;
+}
+
 #footerright {
 	margin-top: 10px;
 	float: right;
@@ -219,7 +247,7 @@ a.breadcrumb0 {
 	min-height: 320px;
 }
 /* my courses styles */
-#maincontent {
+.maincontent {
 	float: left;
 	width: 68%;
 	padding: 0 20px 0 20px;

+ 26 - 5
main/css/delicious_bordeaux/default.css

@@ -1,6 +1,9 @@
 /*****************************************************
  *  MAIN		                                    *
  *****************************************************/
+html {
+	height: 100%;
+}
 body {
 	/* hack ignored by non-IE to enable ie to support :hover on button */
      behavior:url("/main/css/csshover3.htc");
@@ -10,6 +13,13 @@ body {
 	margin: 0;
 	padding: 0;
 	background-color: #fff;
+	height: 100%; /* stick */	
+}
+#wrapper{
+	min-height: 100%;
+	height: auto !important;
+	height: 100%;
+	margin: 0 auto -3em;
 }
 #outerframe {
 	position: relative;  /* do not remove, fixes a bug in IE */
@@ -339,20 +349,31 @@ input[type="text"]:focus, input[type="password"]:focus, textarea:focus {
  *  FOOTER STYLES                                    *
  *****************************************************/
 #footer {
-	height:auto;
+	height:3em;
 	background-image: url(images/tab-repeat.png);
 	background-repeat: repeat-x;
 	color:#fff;
-	padding-top: 5px;
-	padding-bottom: 5px;
-	padding-left: 5px;
-	background-position: center -15px;
+	background-color: #434343;	
 }
+.push {
+	height: 3em; /* Very important */
+}
+
+
 #footer a {
 	color:#fff;
 }
+#footer .copyright {
+	float: right;
+	padding-top:25px;
+	margin-right:10px;
+}
 #footer #platformmanager {
+	float: left;
+	padding-top:25px;
+	margin-left:10px;
 }
+
 #footer #coursemanager {
 	margin-left: 10px;
 }

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

@@ -1,6 +1,9 @@
 /*****************************************************
  *  MAIN		                                    *
  *****************************************************/
+html {
+	height: 100%;
+}
 body {
 	/* hack ignored by non-IE to enable ie to support :hover on button */
      behavior:url("/main/css/csshover3.htc");
@@ -10,6 +13,13 @@ body {
 	margin: 0;
 	padding: 0;
 	background-color: #fff;
+	height: 100%; /* stick */	
+}
+#wrapper{
+	min-height: 100%;
+	height: auto !important;
+	height: 100%;
+	margin: 0 auto -3em;
 }
 #outerframe {
 	position: relative;  /* do not remove, fixes a bug in IE */
@@ -329,19 +339,27 @@ input[type="text"]:focus, input[type="password"]:focus, textarea:focus {
  *  FOOTER STYLES                                    *
  *****************************************************/
 #footer {
-	height:auto;
+	height:3em;
 	background-image: url(images/tab-repeat.png);
 	background-repeat: repeat-x;
 	color:#fff;
-	padding-top: 5px;
-	padding-bottom: 5px;
-	padding-left: 5px;
-	background-position: center -15px;
+	background-color: #434343;
 }
-#footer a {
-	color:#fff;
+.push {
+	height: 3em; /* Very important */
+}
+#footer .copyright {
+	float: right;
+	padding-top:18px;
+	margin-right:10px;
 }
 #footer #platformmanager {
+	float: left;
+	padding-top:18px;
+	margin-left:10px;
+}
+#footer a {
+	color:#fff;
 }
 #footer #coursemanager {
 	margin-left: 10px;

+ 29 - 3
main/css/dokeos_classic/default.css

@@ -1,6 +1,9 @@
 /*****************************************************
  *  MAIN		                                    *
  *****************************************************/
+html {
+	height: 100%;
+}
 body {
 	/* hack ignored by non-IE to enable ie to support :hover on button */
         behavior:url("/main/css/csshover3.htc");
@@ -10,15 +13,23 @@ body {
 	margin: 0;
 	padding: 0;
 	background-color: #fff;
+	height: 100%; /* stick */
 }
-input[type="text"]:focus, input[type="password"]:focus, textarea:focus {
-	background-image:url(images/shadow.gif);
+#wrapper{
+	min-height: 100%;
+	height: auto !important;
+	height: 100%;
+	margin: 0 auto -4em;
 }
 #outerframe {
 	position: relative;  /* do not remove, fixes a bug in IE */
 	border: 1px solid #fff;
 	background-color: #fff;
 }
+
+input[type="text"]:focus, input[type="password"]:focus, textarea:focus {
+	background-image:url(images/shadow.gif);
+}
 /* Hides from IE5-mac \*/
 * html #outerframe {
 	height: 1%;
@@ -373,11 +384,26 @@ input[text] {
  *  FOOTER STYLES                                    *
  *****************************************************/
 #footer {
-	padding: 8px;
+	height: 3.9em;
 	border-top: 1px solid #4171B5;
 	background-color: #E5EDF9;
 	font-size: 12px;
 }
+.push {
+	height: 4em; /* Very important */
+}
+
+#footer .copyright {
+	float: right;
+	padding-top:10px;
+	margin-right:10px;
+}
+#footer #platformmanager {
+	float: left;
+	padding-top:10px;
+	margin-left:10px;
+}
+
 #footer .copyright {
 	float: right;
 }

+ 27 - 10
main/css/dokeos_classic_2D/default.css

@@ -1,9 +1,9 @@
-/*
-==============================================================================
-	GLOBAL STYLES - REDEFINED HTML TAGS
-==============================================================================
-*/
-
+/*****************************************************
+ *  MAIN - DOKEOS CLASSIC 2D                         *
+ *****************************************************/
+html {
+	height: 100%;
+}
 body {
 	/* hack ignored by non-IE to enable ie to support :hover on button */
     behavior:url("/main/css/csshover3.htc");
@@ -13,6 +13,13 @@ body {
 	font-size: 12px;
 	margin: 0;
 	padding: 0;
+	height: 100%; /* stick */		
+}
+#wrapper{
+	min-height: 100%;
+	height: auto !important;
+	height: 100%;
+	margin: 0 auto -4em;
 }
 img {
 	border: none;
@@ -95,8 +102,7 @@ input.link_alike:hover {
 	background-color: #fff;
 	margin: 0px auto;
 	margin-top: 10px;
-	min-height: 320px;
-	padding: 0px 10px 10px 10px;
+	min-height: 320px;	
 	position: relative; /* to avoid the IE peekabo bug*/
 	width: 98%;
 }
@@ -352,13 +358,24 @@ input.link_alike:hover {
 */
 
 #footer {
+	height: 3.9em;
 	background-color: #E5EDF9;
 	border-top: 1px solid #4171B5;
-	font-size: 12px;
-	padding: 8px;
+	font-size: 12px;			
+}
+.push {
+	height: 4em; /* Very important */
 }
+
 #footer .copyright {
 	float: right;
+	padding-top:20px;
+	margin-right:10px;
+}
+#footer #platformmanager {
+	float: left;
+	padding-top:20px;
+	margin-left:10px;
 }
 #myprofilefooter {
 	clear:both;

+ 26 - 7
main/css/empire_green/default.css

@@ -1,6 +1,9 @@
 /*****************************************************
  *  MAIN		                                    *
  *****************************************************/
+html {
+	height: 100%;
+}
 body {
 	/* hack ignored by non-IE to enable ie to support :hover on button */
      behavior:url("/main/css/csshover3.htc");
@@ -10,6 +13,13 @@ body {
 	margin: 0;
 	padding: 0;
 	background-color: #fff;
+	height: 100%; /* stick */
+}
+#wrapper{
+	min-height: 100%;
+	height: auto !important;
+	height: 100%;
+	margin: 0 auto -3em;
 }
 #outerframe {
 	position: relative;  /* do not remove, fixes a bug in IE */
@@ -340,19 +350,28 @@ input[type="text"]:focus, input[type="password"]:focus, textarea:focus {
  *  FOOTER STYLES                                    *
  *****************************************************/
 #footer {
-	height:auto;
+	height:3em;
 	background-image: url(images/tab-repeat.png);
 	background-repeat: repeat-x;
 	color:#fff;
-	padding-top: 5px;
-	padding-bottom: 5px;
-	padding-left: 5px;
-	background-position: center -15px;
+	/* background-position: center -15px; */
+	background-color: #434343;
 }
-#footer a {
-	color:#fff;
+.push {
+	height: 3em; /* Very important */
+}
+#footer .copyright {
+	float: right;
+	padding-top:25px;
+	margin-right:10px;
 }
 #footer #platformmanager {
+	float: left;
+	padding-top:25px;
+	margin-left:10px;
+}
+#footer a {
+	color:#fff;
 }
 #footer #coursemanager {
 	margin-left: 10px;

+ 26 - 7
main/css/fruity_orange/default.css

@@ -1,6 +1,9 @@
 /*****************************************************
  *  MAIN		                                    *
  *****************************************************/
+html {
+	height: 100%;
+}
 body {
 	/* hack ignored by non-IE to enable ie to support :hover on button */
      behavior:url("/main/css/csshover3.htc");
@@ -10,6 +13,13 @@ body {
 	margin: 0;
 	padding: 0;
 	background-color: #fff;
+	height: 100%; /* stick */
+}
+#wrapper{
+	min-height: 100%;
+	height: auto !important;
+	height: 100%;
+	margin: 0 auto -3em;
 }
 #outerframe {
 	position: relative;  /* do not remove, fixes a bug in IE */
@@ -340,19 +350,28 @@ input[type="text"]:focus, input[type="password"]:focus, textarea:focus {
  *  FOOTER STYLES                                    *
  *****************************************************/
 #footer {
-	height:auto;
+	height:3em;
 	background-image: url(images/tab-repeat.png);
 	background-repeat: repeat-x;
 	color:#fff;
-	padding-top: 5px;
-	padding-bottom: 5px;
-	padding-left: 5px;
-	background-position: center -15px;
+	/* background-position: center -15px; */
+	background-color: #434343;
 }
-#footer a {
-	color:#fff;
+.push {
+	height: 3em; /* Very important */
+}
+#footer .copyright {
+	float: right;
+	padding-top:25px;
+	margin-right:10px;
 }
 #footer #platformmanager {
+	float: left;
+	padding-top:25px;
+	margin-left:10px;
+}
+#footer a {
+	color:#fff;
 }
 #footer #coursemanager {
 	margin-left: 10px;

+ 31 - 7
main/css/medical/default.css

@@ -1,6 +1,9 @@
 /*****************************************************
  *  MAIN - MEDICAL CSS		                         *
  *****************************************************/
+html {
+	height: 100%;
+} 
 body {
 	/* hack ignored by non-IE to enable ie to support :hover on button */
         behavior:url("/main/css/csshover3.htc");
@@ -9,16 +12,23 @@ body {
 	color: #000;
 	margin: 0;
 	padding: 0;
-	background-color: #ffffff;
+	background-color: #fff;
+	height: 100%; /* stick */
 }
-input[type="text"]:focus, input[type="password"]:focus, textarea:focus {
-	background-image:url(images/shadow.gif);
+#wrapper{
+	min-height: 100%;
+	height: auto !important;
+	height: 100%;
+	margin: 0 auto -5em;
 }
 #outerframe {
 	position: relative;  /* do not remove, fixes a bug in IE */
 	background-color: #fff;
 	background-repeat:no-repeat;
 }
+input[type="text"]:focus, input[type="password"]:focus, textarea:focus {
+	background-image:url(images/shadow.gif);
+}
 /* Hides from IE5-mac \*/
 * html #outerframe {
 	height: 1%;
@@ -393,17 +403,26 @@ input[text] {
  *  FOOTER STYLES                                    *
  *****************************************************/
 #footer {
-	padding: 20px;
-	height: 30px;
-	background-color: #ffffff;
+	height:5em;
+	background-color: #fff;
 	background-image: url(images/footer.jpg);
 	background-repeat: no-repeat;
 	font-size: 12px;
 	font-weight:bold;
-	color:#666666;
+	color:#666;
+}
+.push {
+	height: 5em; /* Very important */
 }
 #footer .copyright {
 	float: right;
+	padding-top:25px;
+	margin-right:10px;
+}
+#footer #platformmanager {
+	float: left;
+	padding-top:25px;
+	margin-left:10px;
 }
 #footer a {
 	color:#999999;
@@ -416,6 +435,11 @@ input[text] {
 
 /*NAVIGATION MENU BAR*/
 
+.menu {
+	float: right;
+	width: 20%;
+	padding: 0 0 6px 0;
+}
 
 .menucaption {
 	font-size: 12px;

+ 30 - 3
main/css/public_admin/default.css

@@ -1,6 +1,12 @@
 /*****************************************************
  *  MAIN  - PUBLIC ADMIN CSS		                 *                   
  *****************************************************/
+ 
+/* the sticky effect */
+html {
+	height: 100%;
+}
+
 body {
 	/* hack ignored by non-IE to enable ie to support :hover on button */
     behavior:url("/main/css/csshover3.htc");
@@ -9,8 +15,17 @@ body {
 	color: #000;
 	margin: 0;
 	padding: 0;
-	background-color: #ffffff;
+	background-color: #ffffff;	
+	height: 100%; /* stick */
 }
+
+#wrapper{
+	min-height: 100%;
+	height: auto !important;
+	height: 100%;
+	margin: 0 auto -8em;
+}
+
 input[type="text"]:focus, input[type="password"]:focus, textarea:focus {
 	background-image:url(images/shadow.gif);
 }
@@ -393,22 +408,34 @@ input[text] {
  *  FOOTER STYLES                                    *
  *****************************************************/
 #footer {
-	padding: 50px 20px 10px 20px;
-	height: 30px;
+	height: 8em;
 	background-color: #305582;
 	background-image: url(images/footer.jpg);
 	background-repeat: no-repeat;
 	font-size: 12px;
 	color:#ffffff;
 }
+.push {
+	height: 8em; /* Very important */
+}
 #footer .copyright {
 	float: right;
+	padding-top:60px;
+	margin-right:10px;
+}
+#footer #platformmanager {
+	float: left;
+	padding-top:60px;
+	margin-left:10px;
 }
 #footer a {
 	color:#f1d40d;
 }
 #bottom_corner {
 }
+
+
+
 /*
 ==============================================================================
     NAVIGATION MENU

+ 27 - 13
main/css/royal_purple/default.css

@@ -1,6 +1,9 @@
 /*****************************************************
- *  MAIN		                                    *
+ *  MAIN ROYAL PURPLE                                *
  *****************************************************/
+html {
+	height: 100%;
+}
 body {
 	/* hack ignored by non-IE to enable ie to support :hover on button */
      behavior:url("/main/css/csshover3.htc");
@@ -10,6 +13,13 @@ body {
 	margin: 0;
 	padding: 0;
 	background-color: #fff;
+	height: 100%; /* stick */
+}
+#wrapper{
+	min-height: 100%;
+	height: auto !important;
+	height: 100%;
+	margin: 0 auto -3em;
 }
 #outerframe {
 	position: relative;  /* do not remove, fixes a bug in IE */
@@ -340,28 +350,32 @@ input[type="text"]:focus, input[type="password"]:focus, textarea:focus {
  *  FOOTER STYLES                                    *
  *****************************************************/
 #footer {
-	height:auto;
+	height:3em;
 	background-image: url(images/tab-repeat.png);
 	background-repeat: repeat-x;
 	color:#fff;
-	padding-top: 5px;
-	padding-bottom: 5px;
-	padding-left: 5px;
-	background-position: center -15px;
+	/* background-position: center -15px; */
+	background-color: #434343;
 }
-#footer a {
-	color:#fff;
+.push {
+	height: 3em; /* Very important */
+}
+#footer .copyright {
+	float: right;
+	padding-top:25px;
+	margin-right:10px;
 }
 #footer #platformmanager {
+	float: left;
+	padding-top:25px;
+	margin-left:10px;
+}
+#footer a {
+	color:#fff;
 }
 #footer #coursemanager {
 	margin-left: 10px;
 }
-.copyright {
-	display: inline;
-	float: right;
-	padding-right: 5px;
-}
 #bottom_corner {
 }
 /*****************************************************

+ 39 - 32
main/css/silver_line/default.css

@@ -1,23 +1,8 @@
-/*
-==============================================================================
-							CORPORATIVE STYLESHEET
-==============================================================================
-*/
-/*
-==============================================================================
-	GLOBAL STYLES - REDEFINED HTML TAGS
-==============================================================================
-*/
-a {
-	text-decoration: none;
-	font: bold 100% Arial, sans-serif, sans;
-	color: #900;
-}
-a:hover, a:focus {
-	color: #990;
-}
-blockquote {
-	font: 1.1em arial, sans, sans-serif;
+/*****************************************************
+ *  MAIN  - CORPORATE
+ *****************************************************/
+html {
+	height: 100%;
 }
 body {
 	/* hack ignored by non-IE to enable ie to support :hover on button */
@@ -28,6 +13,25 @@ body {
 	font-family: 'Lucida Grande', verdana, Arial, sans-serif, sans;
 	color: #000;
 	background-color: #fff;
+	height: 100%; /* stick */
+}
+#wrapper{
+	min-height: 100%;
+	height: auto !important;
+	height: 100%;
+	margin: 0 auto -4em;
+}
+
+a {
+	text-decoration: none;
+	font: bold 100% Arial, sans-serif, sans;
+	color: #900;
+}
+a:hover, a:focus {
+	color: #990;
+}
+blockquote {
+	font: 1.1em arial, sans, sans-serif;
 }
 input[type="text"]:focus, input[type="password"]:focus, textarea:focus {
 	background-image:url(images/shadow.gif);
@@ -98,12 +102,11 @@ ul {
 #main {
 	font-size: 89%;
 	width: 96%;
-	padding: 0 1% 15px 3%;
-	background: transparent url('images/bg.jpg') no-repeat 100% 100%;
+	padding: 0 1% 15px 3%;	
 	/* min-height hack for ie6 or older*/
 	min-height: 400px;
 	height: auto !important;
-	height: 400px;
+	height: 320px;
 	clear: both;
 	float: left;
 }
@@ -265,6 +268,7 @@ ul {
 	float: right;
 	clear: right;
 }
+
 #header3 ul {
 	list-style: none;
 	margin: 0 0 0 3.9em;
@@ -347,21 +351,24 @@ ul {
     FOOTER STYLES
 ==============================================================================
 */
-
 #footer {
+	height: 4em;
 	background: url('images/headerbg.jpg') repeat-y top right;
 	font-family: Arial, sans-serif, sans;
-	font-weight: bold;
-	width: 98%;
-	float: left;
-	clear: both;
-	padding: .2em 0 .6em 2%;
-	border-bottom: 1px solid #999;
+	font-weight: bold;	
+}
+.push {
+	height: 4em; /* Very important */
 }
 #footer .copyright {
 	float: right;
-	clear: right;
-	margin: 0 2em 0 0;
+	padding-top:25px;
+	margin-right:10px;
+}
+#footer #platformmanager {
+	float: left;
+	padding-top:25px;
+	margin-left:10px;
 }
 #bottom_corner {
 }

+ 29 - 9
main/css/sober_brown/default.css

@@ -1,6 +1,9 @@
 /*****************************************************
  *  MAIN  SOBER BROWN                                *
  *****************************************************/
+html {
+	height: 100%;
+}
 body {
 	/* hack ignored by non-IE to enable ie to support :hover on button */
         behavior:url("/main/css/csshover3.htc");
@@ -9,16 +12,23 @@ body {
 	color: #000;
 	margin: 0;
 	padding: 0;
-	background-color: #ffffff;
+	background-color: #fff;
+	height: 100%; /* stick */
 }
-input[type="text"]:focus, input[type="password"]:focus, textarea:focus {
-	background-image:url(images/shadow.gif);
+#wrapper{
+	min-height: 100%;
+	height: auto !important;
+	height: 100%;
+	margin: 0 auto -4em;
 }
 #outerframe {
 	position: relative;  /* do not remove, fixes a bug in IE */
 	background-color: #fff;
 	background-repeat:no-repeat;
 }
+input[type="text"]:focus, input[type="password"]:focus, textarea:focus {
+	background-image:url(images/shadow.gif);
+}
 /* Hides from IE5-mac \*/
 * html #outerframe {
 	height: 1%;
@@ -380,20 +390,30 @@ input[text] {
 /*****************************************************
  *  FOOTER STYLES                                    *
  *****************************************************/
+ 
 #footer {
-	padding: 30px;
-	height: 20px;
-	background-color: #ffffff;
-	background-image: url(images/footer.jpg);
+	height:4em;
+	background-image: url(images/footer.jpg);	
 	background-repeat: no-repeat;
+	color:#fff;	
+	background-color: #fff;
 	font-size: 12px;
-	color:#ffffff;
+}
+.push {
+	height: 4em; /* Very important */
 }
 #footer .copyright {
 	float: right;
+	padding-top:25px;
+	margin-right:10px;
+}
+#footer #platformmanager {
+	float: left;
+	padding-top:25px;
+	margin-left:10px;
 }
 #footer a {
-	color:#ffffff;
+	color:#fff;
 }
 #bottom_corner {
 }

+ 31 - 9
main/css/steel_grey/default.css

@@ -1,6 +1,9 @@
 /*****************************************************
- *  MAIN		                                    *
+ *  MAIN	STEEL GREY	                                    *
  *****************************************************/
+html {
+	height: 100%;
+}
 body {
 	/* hack ignored by non-IE to enable ie to support :hover on button */
      behavior:url("/main/css/csshover3.htc");
@@ -10,6 +13,13 @@ body {
 	margin: 0;
 	padding: 0;
 	background-color: #fff;
+	height: 100%; /* stick */
+}
+#wrapper{
+	min-height: 100%;
+	height: auto !important;
+	height: 100%;
+	margin: 0 auto -3em;
 }
 #outerframe {
 	position: relative;  /* do not remove, fixes a bug in IE */
@@ -339,21 +349,33 @@ input[type="text"]:focus, input[type="password"]:focus, textarea:focus {
 /*****************************************************
  *  FOOTER STYLES                                    *
  *****************************************************/
-#footer {
-	height:auto;
+ 
+ #footer {
+	height:3em;
 	background-image: url(images/tab-repeat.png);
 	background-repeat: repeat-x;
 	color:#fff;
-	padding-top: 5px;
-	padding-bottom: 5px;
-	padding-left: 5px;
-	background-position: center -15px;
+	/* background-position: center -15px; */
+	background-color: #434343;
 }
-#footer a {
-	color:#fff;
+.push {
+	height: 3em; /* Very important */
+}
+#footer .copyright {
+	float: right;
+	padding-top:25px;
+	margin-right:10px;
 }
 #footer #platformmanager {
+	float: left;
+	padding-top:25px;
+	margin-left:10px;
 }
+
+#footer a {
+	color:#fff;
+}
+
 #footer #coursemanager {
 	margin-left: 10px;
 }

+ 28 - 8
main/css/tasty_olive/default.css

@@ -1,6 +1,9 @@
 /*****************************************************
- *  MAIN		                                    *
+ *  MAIN	TASTY OLIVE                              *
  *****************************************************/
+html {
+	height: 100%;
+}
 body {
 	/* hack ignored by non-IE to enable ie to support :hover on button */
      behavior:url("/main/css/csshover3.htc");
@@ -10,6 +13,13 @@ body {
 	margin: 0;
 	padding: 0;
 	background-color: #fff;
+	height: 100%; /* stick */
+}
+#wrapper{
+	min-height: 100%;
+	height: auto !important;
+	height: 100%;
+	margin: 0 auto -3em;
 }
 #outerframe {
 	position: relative;  /* do not remove, fixes a bug in IE */
@@ -340,19 +350,29 @@ input[type="text"]:focus, input[type="password"]:focus, textarea:focus {
  *  FOOTER STYLES                                    *
  *****************************************************/
 #footer {
-	height:auto;
+	height:3em;
 	background-image: url(images/tab-repeat.png);
 	background-repeat: repeat-x;
 	color:#fff;
-	padding-top: 5px;
-	padding-bottom: 5px;
-	padding-left: 5px;
-	background-position: center -15px;
+	/* background-position: center -15px; */
+	background-color: #434343;
 }
-#footer a {
-	color:#fff;
+.push {
+	height: 3em; /* Very important */
+}
+#footer .copyright {
+	float: right;
+	padding-top:25px;
+	margin-right:10px;
 }
 #footer #platformmanager {
+	float: left;
+	padding-top:25px;
+	margin-left:10px;
+}
+
+#footer a {
+	color:#fff;
 }
 #footer #coursemanager {
 	margin-left: 10px;

+ 10 - 10
main/inc/banner.inc.php

@@ -9,6 +9,8 @@
 ==============================================================================
 */
 ?>
+<div id="wrapper">
+
 <div id="header">
 	<div id="header1">
 		<div id="top_corner"></div> 
@@ -253,15 +255,13 @@ foreach($navigation as $section => $navigation_info) {
 		</ul>
 		<div style="clear: both;" class="clear"> </div>
 	</div>	
-
-	<div id="header4">
-			<?php
-			/*
+<?php
+/*
  * if the user is a coach he can see the users who are logged in its session
  */
 $navigation = array();
 // part 1: Course Homepage. If we are in a course then the first breadcrumb is a link to the course homepage
-		//hide_course_breadcrumb the parameter has been added to hide the name of the course, that appeared in the default $interbreadcrumb
+//hide_course_breadcrumb the parameter has been added to hide the name of the course, that appeared in the default $interbreadcrumb
 $session_id     = api_get_session_id();
 $session_name   = api_get_session_name($my_session_id);
 $my_session_name= ($session_name==null) ? '' : '&nbsp;('.$session_name.')';
@@ -306,12 +306,12 @@ foreach($navigation as $index => $navigation_info) {
 		$final_navigation[$index] = '<a href="'.$navigation_info['url'].'" class="breadcrumb breadcrumb'.$index.'" target="_top">'.$navigation_info['title'].'</a>';
 	}
 }
-echo implode(' &gt; ',$final_navigation);
-?>
-
-	</div>
 
-<?php
+if (!empty($final_navigation)) {
+	echo '<div id="header4">';	
+	echo implode(' &gt; ',$final_navigation);
+	echo '</div>';
+}
 if(api_get_setting('show_toolshortcuts')=='true') {
 	echo '<div id="toolshortcuts">';
 	require_once('tool_navigation_menu.inc.php');

+ 8 - 29
main/inc/footer.inc.php

@@ -1,28 +1,5 @@
-<?php // $Id: footer.inc.php 22315 2009-07-23 16:12:54Z cvargas1 $
- 
-/*
-==============================================================================
-	Dokeos - elearning and course management software
-
-	Copyright (c) 2004-2008 Dokeos SPRL
-	Copyright (c) 2003 Ghent University (UGent)
-	Copyright (c) 2001 Universite catholique de Louvain (UCL)
-	Copyright (c) various contributors
-
-	For a full list of contributors, see "credits.txt".
-	The full license can be read in "license.txt".
-
-	This program is free software; you can redistribute it and/or
-	modify it under the terms of the GNU General Public License
-	as published by the Free Software Foundation; either version 2
-	of the License, or (at your option) any later version.
-
-	See the GNU General Public License for more details.
-
-	Contact address: Dokeos, rue du Corbeau, 108, B-1030 Brussels, Belgium
-	Mail: info@dokeos.com
-==============================================================================
-*/
+<?php
+/* For licensing terms, see /dokeos_license.txt */
 
 /**
 ==============================================================================
@@ -53,6 +30,9 @@ if (api_get_setting('show_navigation_menu') != 'false') {
  <div class="clear">&nbsp;</div> <!-- 'clearing' div to make sure that footer stays below the main and right column sections -->
 </div> <!-- end of #main" started at the end of banner.inc.php -->
 
+<div class="push"></div>
+</div> <!-- end of #wrapper section -->
+
 <div id="footer"> <!-- start of #footer section -->
 <div id="bottom_corner"></div> 
 <div class="copyright">
@@ -103,17 +83,16 @@ if (get_setting('show_tutor_data')=='true'){
 	
 }
 
-if (get_setting('show_teacher_data')=='true'){
-	
+if (get_setting('show_teacher_data')=='true') {	
 	// course manager
 	$id_course=api_get_course_id();
 	if (isset($id_course) && $id_course!=-1) {
 		echo '<span id="coursemanager">';
-		$mail=CourseManager::get_emails_of_tutors_to_course($id_course);
+		$mail=CourseManager::get_emails_of_tutors_to_course($id_course);		
 		if (count($mail)>1){
 			$bar='&nbsp;|&nbsp;';
 			echo '&nbsp;'.get_lang('Teachers').' : ';
-		} else {
+			} else {
 			$bar='';
 			echo '&nbsp;'.get_lang('Teacher').' : ';
 		}

+ 2 - 25
main/inc/header.inc.php

@@ -1,28 +1,5 @@
-<?php // $Id: header.inc.php 21717 2009-07-02 03:27:31Z ivantcholakov $
- 
-/*
-==============================================================================
-	Dokeos - elearning and course management software
-
-	Copyright (c) 2004-2008 Dokeos SPRL
-	Copyright (c) 2003 Ghent University (UGent)
-	Copyright (c) 2001 Universite catholique de Louvain (UCL)
-	Copyright (c) various contributors
-
-	For a full list of contributors, see "credits.txt".
-	The full license can be read in "license.txt".
-
-	This program is free software; you can redistribute it and/or
-	modify it under the terms of the GNU General Public License
-	as published by the Free Software Foundation; either version 2
-	of the License, or (at your option) any later version.
-
-	See the GNU General Public License for more details.
-
-	Contact address: Dokeos, rue du Corbeau, 108, B-1030 Brussels, Belgium
-	Mail: info@dokeos.com
-==============================================================================
-*/
+<?php
+/* For licensing terms, see /dokeos_license.txt */
 
 /**
 ==============================================================================

+ 4 - 3
main/inc/lib/main_api.lib.php

@@ -198,8 +198,8 @@ define('LOG_CONFIGURATION_SETTINGS_VARIABLE', 'settings_variable');
 ==============================================================================
 */
 
-// Including extensions to the main API works in two different ways:
-if (api_get_path(LIBRARY_PATH) == '/lib/') {
+// Including extensions to the main API works in two different ways: 
+if (api_get_path(LIBRARY_PATH) == '/lib/' || api_get_path(LIBRARY_PATH) == 'lib/') {
 	// when we are running the installer script.
 	require_once 'multibyte_string_functions.lib.php';
 } else {
@@ -359,7 +359,8 @@ function api_get_path($path_type) {
 		//by default we call the $_configuration['root_web'] we don't query to the DB
 		//$url_info= api_get_access_url(1);
 		//$root_web = $url_info['url'];
-		$root_web = $_configuration['root_web'];
+		if(isset($_configuration['root_web']))
+			$root_web = $_configuration['root_web'];
 	} else {
 		//we look into the DB the function api_get_access_url
 		//this funcion have a problem because we can't called to the Database:: functions