|
After Width: | Height: | Size: 803 B |
|
After Width: | Height: | Size: 807 B |
|
After Width: | Height: | Size: 804 B |
|
After Width: | Height: | Size: 807 B |
@ -0,0 +1,82 @@ |
||||
div.lp_actions{background:#F8F8F8; border-bottom:1px solid #999999; padding:3px;} |
||||
|
||||
div.lp_actions img{margin-right:5px;} |
||||
|
||||
|
||||
div.lp_small_form{background:#F8F8F8; border:1px solid #999999; padding:10px;} |
||||
|
||||
div.lp_small_form input{font-size:10px;} |
||||
|
||||
|
||||
div.lp_manipulate{background:#F8F8F8; border-bottom:1px dotted #999999; margin-bottom:0px; padding:3px 0 3px 10px;} |
||||
|
||||
div.lp_manipulate a{padding-right:10px;} |
||||
|
||||
|
||||
div.lp_message{background:#FEC880; border:1px solid #E28C15; font-size:12px; padding:10px;} |
||||
|
||||
|
||||
div.lp_resource_header{background:#F0F0F0; border:1px solid #999999; border-bottom:0; font-weight:bold; padding:10px; width:350px;} |
||||
div.lp_resource_header_end{background:#F0F0F0; border:1px solid #999999; font-weight:bold; padding:10px; width:350px;} |
||||
div.lp_resource_elements{background:#FAFAFA; border:1px solid #999999; border-bottom:0; display:none; padding:5px 10px; width:350px;} |
||||
div.lp_resource_elements_end{background:#FAFAFA; border:1px solid #999999; border-top: 0px; display:none; padding:5px 10px; width:350px;} |
||||
div.lp_resource_elements div{padding:3px;} |
||||
|
||||
div.lp_tree{height:400px; padding:3px 10px 3px 0; overflow-x : auto; overflow-y : scroll; width:230px;} |
||||
|
||||
|
||||
hr{background:#999999; border:0; color:#999999; height:1px; margin:10px auto; width:75%;} |
||||
|
||||
|
||||
option.bottom{border-top:1px solid #999999; margin-top:2px; padding-top:2px;} |
||||
option.top{border-bottom:1px solid #999999; margin-bottom:2px; padding-bottom:2px;} |
||||
|
||||
p.lp_action{margin:5px 0;} |
||||
p.lp_text{margin-top:0px;} |
||||
p.lp_title{font-weight:bold; margin-top:0px;} |
||||
|
||||
|
||||
table.lp_build{font-size:12px; height:400px; width:100%;} |
||||
|
||||
table.lp_build td{vertical-align:top;} |
||||
table.lp_build td.tree{border-right:1px solid #999999; width:240px;} |
||||
table.lp_build td.workspace{padding:0; width:auto;} |
||||
|
||||
|
||||
table.lp_form{font-size:12px; margin:0 10px; width:100%;} |
||||
|
||||
table.lp_form td{height:25px; padding:5px; vertical-align:top; width:auto;} |
||||
table.lp_form td.label{padding-top:7px; text-align:right; width:75px;} |
||||
table.lp_form td.radio{width:300px;} |
||||
table.lp_form td.exercise{width:50px;} |
||||
|
||||
table.lp_form th{background:#F8F8F8; border-bottom:1px solid #999999; border-top:1px solid #999999;} |
||||
table.lp_overview th.exercise{width:50px;} |
||||
|
||||
table.lp_form input, |
||||
table.lp_form select, |
||||
table.lp_form textarea{background:#F8F8F8; border:1px solid #999999; font-family:Arial, Verdana, Helvetica, sans-serif; font-size:12px; padding:1px 2px; width:300px;} |
||||
|
||||
table.lp_form td.radio input, |
||||
table.lp_form td.exercise input{width:auto;} |
||||
|
||||
table.lp_form .small_form{background:#FFFFFF;} |
||||
|
||||
table.lp_form select{padding:0;} |
||||
|
||||
table.lp_form input.button{width:75px;} |
||||
|
||||
|
||||
table.lp_overview{font-size:12px; width:100%;} |
||||
|
||||
table.lp_overview td{border-bottom:1px solid #999999; border-top:1px solid #999999; height:20px; padding:3px; vertical-align:middle; width:auto;} |
||||
table.lp_overview td.title{width:200px;} |
||||
table.lp_overview td.actions{text-align:center; width:100px;} |
||||
table.lp_overview td.move{text-align:center; width:50px;} |
||||
|
||||
table.lp_overview th{background:#FFFFFF; padding-left:3px; text-align:center;} |
||||
|
||||
table.lp_overview tr{background:#F8F8F8;} |
||||
table.lp_overview tr:hover{background:#E5EDF9;} |
||||
|
||||
table.lp_overview img{margin-left:3px;} |
||||
@ -0,0 +1,129 @@ |
||||
.scormpage{ |
||||
height: 100%; |
||||
} |
||||
.scormpage .menu{ |
||||
width: 180px; |
||||
float: left; |
||||
margin: 1px; |
||||
padding: 0px; |
||||
margin-top: 0px; |
||||
padding-top: 0px; |
||||
font-size: small; |
||||
} |
||||
.lp_toc{ |
||||
background-color: white; |
||||
height: 380px; |
||||
width: 99%; |
||||
border-right: 1px none; |
||||
} |
||||
.inner_lp_toc{ |
||||
overflow: auto; |
||||
background-color: white; |
||||
height: 325px; |
||||
width: 99%; |
||||
border-right: 1px #999999 solid; |
||||
} |
||||
.inner_lp_toc .scorm_item{ |
||||
font-size: 11px; |
||||
margin-left: 10px; |
||||
margin-right:10px; |
||||
padding-bottom: 2px; |
||||
text-decoration: none; |
||||
} |
||||
|
||||
.inner_lp_toc .scorm_item A{ |
||||
font-weight: normal; |
||||
} |
||||
|
||||
.inner_lp_toc .scorm_item A.chapter_module{ |
||||
font-weight: normal; |
||||
} |
||||
|
||||
.inner_lp_toc .scorm_item_highlight{ |
||||
font-size: 11px; |
||||
margin-left: 10px; |
||||
margin-right: 10px; |
||||
padding-bottom: 2px; |
||||
text-decoration: none; |
||||
background:#F8F8F8; border:1px dashed #999999; |
||||
} |
||||
|
||||
.inner_lp_toc .scorm_item_highlight A{ |
||||
font-weight: normal; |
||||
} |
||||
|
||||
.inner_lp_toc .scorm_item_highlight .highlight{ |
||||
font-weight: normal; |
||||
background:#F3F3F3; border:1px dashed #949494; |
||||
margin-right: 1px; |
||||
} |
||||
|
||||
.inner_lp_toc .scorm_status_img{ |
||||
margin:0px; |
||||
margin-left: -10px; |
||||
width:10px; |
||||
} |
||||
|
||||
|
||||
.lp_navigation{ |
||||
overflow: auto; |
||||
background-color: white; |
||||
height: 44px; |
||||
width:180px; |
||||
padding-top: 4px; |
||||
padding-bottom:0px; |
||||
border: none; |
||||
margin-top: -18px; |
||||
border-top: 1px dotted black; |
||||
border-bottom: 1px dotted black; |
||||
} |
||||
|
||||
.lp_navigation_elem{ |
||||
padding-left: 40px; |
||||
padding-top: 0px; |
||||
} |
||||
/*.scormpage .menu */ |
||||
.lp_navigation_elem .progresstext{ |
||||
margin-top: -12px; |
||||
margin-left: 4em; |
||||
font-size: smaller; |
||||
} |
||||
|
||||
/*.scormpage .menu */ |
||||
.lp_navigation_elem .buttons{ |
||||
margin-left: 5px; |
||||
margin-right: 0em; |
||||
margin-top: 0.4em; |
||||
} |
||||
|
||||
.scormpage .menu .notification{ |
||||
background-color: white; |
||||
height: 50px; |
||||
} |
||||
.scormpage .menu .notification .message{ |
||||
background-color: white; |
||||
height: 50px; |
||||
width: 180px; |
||||
border: none; |
||||
} |
||||
|
||||
.scormpage .content{ |
||||
/*float: left; |
||||
width: 60%;*/ |
||||
margin-top: 0px; |
||||
padding-top: 0px; |
||||
padding-left: 180px; |
||||
background-color: white; |
||||
} |
||||
.iframe{ |
||||
border: 0px solid black; |
||||
height: 580px; |
||||
width: 95%; |
||||
margin: 0px; |
||||
padding-right: 0px; |
||||
overflow: auto; |
||||
vertical-align: top; |
||||
} |
||||
.scormpage .footer{ |
||||
clear: both; |
||||
} |
||||
@ -0,0 +1,83 @@ |
||||
.scormpage{ |
||||
} |
||||
.scormpage .menu{ |
||||
width: 180px; |
||||
padding: 0px; |
||||
font-size: small; |
||||
position: absolute; |
||||
background-color: white; |
||||
/* |
||||
filter:alpha(opacity=50); |
||||
opacity: 0.50; |
||||
-moz-border-radius: 25px; |
||||
margin-right: 5%; |
||||
margin-left: 75%; |
||||
margin-top: 10px; |
||||
*/ |
||||
} |
||||
.scormpage .menu .lp_nav{ |
||||
height: 50px; |
||||
width: 160px; |
||||
padding-top: 4px; |
||||
padding-bottom:0px; |
||||
/* |
||||
margin-left: 10px; |
||||
margin-right: 10px; |
||||
*/ |
||||
margin-top: 0px; |
||||
} |
||||
.lp_navigation_elem{ |
||||
padding-top: 2px; |
||||
position: absolute; |
||||
left: 50%; |
||||
margin-left: -70px; |
||||
} |
||||
.lp_navigation_elem .progresstext{ |
||||
margin-top: -12px; |
||||
margin-left: 4em; |
||||
font-size: smaller; |
||||
} |
||||
.lp_navigation_elem .buttons{ |
||||
margin-left: 1em; |
||||
margin-right: 0em; |
||||
margin-top: 0.4em; |
||||
} |
||||
#msg_div_id{ |
||||
padding-left: 10px; |
||||
padding-top: 4px; |
||||
} |
||||
.scormpage .menu .notification{ |
||||
height: 50px; |
||||
margin-left: 15px; |
||||
margin-right: 15px; |
||||
} |
||||
.scormpage .menu .notification .message{ |
||||
height: 50px; |
||||
width: 140px; |
||||
border: none; |
||||
} |
||||
.scormpage .menu .notification .lp_log{ |
||||
height: 100px; |
||||
width: 180px; |
||||
border: none; |
||||
overflow: auto; |
||||
} |
||||
.scormpage .content .iframe{ |
||||
/* |
||||
border: none; |
||||
height: 700px; |
||||
margin: 0px; |
||||
padding-right: 0px; |
||||
margin-right: 0%; |
||||
margin-left: 0%; |
||||
*/ |
||||
/* trying the absolute mode */ |
||||
position: fixed; |
||||
bottom:0; |
||||
left:0; |
||||
width: 100%; |
||||
height: 100%; |
||||
} |
||||
.scormpage .footer{ |
||||
clear: both; |
||||
} |
||||
|
After Width: | Height: | Size: 803 B |
|
After Width: | Height: | Size: 807 B |
|
After Width: | Height: | Size: 804 B |
|
After Width: | Height: | Size: 419 B |
@ -0,0 +1,82 @@ |
||||
div.lp_actions{background:#F8F8F8; border-bottom:1px solid #999999; padding:3px;} |
||||
|
||||
div.lp_actions img{margin-right:5px;} |
||||
|
||||
|
||||
div.lp_small_form{background:#F8F8F8; border:1px solid #999999; padding:10px;} |
||||
|
||||
div.lp_small_form input{font-size:10px;} |
||||
|
||||
|
||||
div.lp_manipulate{background:#F8F8F8; border-bottom:1px dotted #999999; margin-bottom:0px; padding:3px 0 3px 10px;} |
||||
|
||||
div.lp_manipulate a{padding-right:10px;} |
||||
|
||||
|
||||
div.lp_message{background:#FEC880; border:1px solid #E28C15; font-size:12px; padding:10px;} |
||||
|
||||
|
||||
div.lp_resource_header{background:#F0F0F0; border:1px solid #999999; border-bottom:0; font-weight:bold; padding:10px; width:350px;} |
||||
div.lp_resource_header_end{background:#F0F0F0; border:1px solid #999999; font-weight:bold; padding:10px; width:350px;} |
||||
div.lp_resource_elements{background:#FAFAFA; border:1px solid #999999; border-bottom:0; display:none; padding:5px 10px; width:350px;} |
||||
div.lp_resource_elements_end{background:#FAFAFA; border:1px solid #999999; border-top: 0px; display:none; padding:5px 10px; width:350px;} |
||||
div.lp_resource_elements div{padding:3px;} |
||||
|
||||
div.lp_tree{height:400px; padding:3px 10px 3px 0; overflow-x : auto; overflow-y : scroll; width:230px;} |
||||
|
||||
|
||||
hr{background:#999999; border:0; color:#999999; height:1px; margin:10px auto; width:75%;} |
||||
|
||||
|
||||
option.bottom{border-top:1px solid #999999; margin-top:2px; padding-top:2px;} |
||||
option.top{border-bottom:1px solid #999999; margin-bottom:2px; padding-bottom:2px;} |
||||
|
||||
p.lp_action{margin:5px 0;} |
||||
p.lp_text{margin-top:0px;} |
||||
p.lp_title{font-weight:bold; margin-top:0px;} |
||||
|
||||
|
||||
table.lp_build{font-size:12px; height:400px; width:100%;} |
||||
|
||||
table.lp_build td{vertical-align:top;} |
||||
table.lp_build td.tree{border-right:1px solid #999999; width:240px;} |
||||
table.lp_build td.workspace{padding:0; width:auto;} |
||||
|
||||
|
||||
table.lp_form{font-size:12px; margin:0 10px; width:100%;} |
||||
|
||||
table.lp_form td{height:25px; padding:5px; vertical-align:top; width:auto;} |
||||
table.lp_form td.label{padding-top:7px; text-align:right; width:75px;} |
||||
table.lp_form td.radio{width:300px;} |
||||
table.lp_form td.exercise{width:50px;} |
||||
|
||||
table.lp_form th{background:#F8F8F8; border-bottom:1px solid #999999; border-top:1px solid #999999;} |
||||
table.lp_overview th.exercise{width:50px;} |
||||
|
||||
table.lp_form input, |
||||
table.lp_form select, |
||||
table.lp_form textarea{background:#F8F8F8; border:1px solid #999999; font-family:Arial, Verdana, Helvetica, sans-serif; font-size:12px; padding:1px 2px; width:300px;} |
||||
|
||||
table.lp_form td.radio input, |
||||
table.lp_form td.exercise input{width:auto;} |
||||
|
||||
table.lp_form .small_form{background:#FFFFFF;} |
||||
|
||||
table.lp_form select{padding:0;} |
||||
|
||||
table.lp_form input.button{width:75px;} |
||||
|
||||
|
||||
table.lp_overview{font-size:12px; width:100%;} |
||||
|
||||
table.lp_overview td{border-bottom:1px solid #999999; border-top:1px solid #999999; height:20px; padding:3px; vertical-align:middle; width:auto;} |
||||
table.lp_overview td.title{width:200px;} |
||||
table.lp_overview td.actions{text-align:center; width:100px;} |
||||
table.lp_overview td.move{text-align:center; width:50px;} |
||||
|
||||
table.lp_overview th{background:#FFFFFF; padding-left:3px; text-align:center;} |
||||
|
||||
table.lp_overview tr{background:#F8F8F8;} |
||||
table.lp_overview tr:hover{background:#E5EDF9;} |
||||
|
||||
table.lp_overview img{margin-left:3px;} |
||||
@ -0,0 +1,129 @@ |
||||
.scormpage{ |
||||
height: 100%; |
||||
} |
||||
.scormpage .menu{ |
||||
width: 180px; |
||||
float: left; |
||||
margin: 1px; |
||||
padding: 0px; |
||||
margin-top: 0px; |
||||
padding-top: 0px; |
||||
font-size: small; |
||||
} |
||||
.lp_toc{ |
||||
background-color: white; |
||||
height: 380px; |
||||
width: 99%; |
||||
border-right: 1px none; |
||||
} |
||||
.inner_lp_toc{ |
||||
overflow: auto; |
||||
background-color: white; |
||||
height: 325px; |
||||
width: 99%; |
||||
border-right: 1px #999999 solid; |
||||
} |
||||
.inner_lp_toc .scorm_item{ |
||||
font-size: 11px; |
||||
margin-left: 10px; |
||||
margin-right:10px; |
||||
padding-bottom: 2px; |
||||
text-decoration: none; |
||||
} |
||||
|
||||
.inner_lp_toc .scorm_item A{ |
||||
font-weight: normal; |
||||
} |
||||
|
||||
.inner_lp_toc .scorm_item A.chapter_module{ |
||||
font-weight: normal; |
||||
} |
||||
|
||||
.inner_lp_toc .scorm_item_highlight{ |
||||
font-size: 11px; |
||||
margin-left: 10px; |
||||
margin-right: 10px; |
||||
padding-bottom: 2px; |
||||
text-decoration: none; |
||||
background:#F8F8F8; border:1px dashed #999999; |
||||
} |
||||
|
||||
.inner_lp_toc .scorm_item_highlight A{ |
||||
font-weight: normal; |
||||
} |
||||
|
||||
.inner_lp_toc .scorm_item_highlight .highlight{ |
||||
font-weight: normal; |
||||
background:#F3F3F3; border:1px dashed #949494; |
||||
margin-right: 1px; |
||||
} |
||||
|
||||
.inner_lp_toc .scorm_status_img{ |
||||
margin:0px; |
||||
margin-left: -10px; |
||||
width:10px; |
||||
} |
||||
|
||||
|
||||
.lp_navigation{ |
||||
overflow: auto; |
||||
background-color: white; |
||||
height: 44px; |
||||
width:180px; |
||||
padding-top: 4px; |
||||
padding-bottom:0px; |
||||
border: none; |
||||
margin-top: -18px; |
||||
border-top: 1px dotted black; |
||||
border-bottom: 1px dotted black; |
||||
} |
||||
|
||||
.lp_navigation_elem{ |
||||
padding-left: 40px; |
||||
padding-top: 0px; |
||||
} |
||||
/*.scormpage .menu */ |
||||
.lp_navigation_elem .progresstext{ |
||||
margin-top: -12px; |
||||
margin-left: 4em; |
||||
font-size: smaller; |
||||
} |
||||
|
||||
/*.scormpage .menu */ |
||||
.lp_navigation_elem .buttons{ |
||||
margin-left: 5px; |
||||
margin-right: 0em; |
||||
margin-top: 0.4em; |
||||
} |
||||
|
||||
.scormpage .menu .notification{ |
||||
background-color: white; |
||||
height: 50px; |
||||
} |
||||
.scormpage .menu .notification .message{ |
||||
background-color: white; |
||||
height: 50px; |
||||
width: 180px; |
||||
border: none; |
||||
} |
||||
|
||||
.scormpage .content{ |
||||
/*float: left; |
||||
width: 60%;*/ |
||||
margin-top: 0px; |
||||
padding-top: 0px; |
||||
padding-left: 180px; |
||||
background-color: white; |
||||
} |
||||
.iframe{ |
||||
border: 0px solid black; |
||||
height: 580px; |
||||
width: 95%; |
||||
margin: 0px; |
||||
padding-right: 0px; |
||||
overflow: auto; |
||||
vertical-align: top; |
||||
} |
||||
.scormpage .footer{ |
||||
clear: both; |
||||
} |
||||
@ -0,0 +1,83 @@ |
||||
.scormpage{ |
||||
} |
||||
.scormpage .menu{ |
||||
width: 180px; |
||||
padding: 0px; |
||||
font-size: small; |
||||
position: absolute; |
||||
background-color: white; |
||||
/* |
||||
filter:alpha(opacity=50); |
||||
opacity: 0.50; |
||||
-moz-border-radius: 25px; |
||||
margin-right: 5%; |
||||
margin-left: 75%; |
||||
margin-top: 10px; |
||||
*/ |
||||
} |
||||
.scormpage .menu .lp_nav{ |
||||
height: 50px; |
||||
width: 160px; |
||||
padding-top: 4px; |
||||
padding-bottom:0px; |
||||
/* |
||||
margin-left: 10px; |
||||
margin-right: 10px; |
||||
*/ |
||||
margin-top: 0px; |
||||
} |
||||
.lp_navigation_elem{ |
||||
padding-top: 2px; |
||||
position: absolute; |
||||
left: 50%; |
||||
margin-left: -70px; |
||||
} |
||||
.lp_navigation_elem .progresstext{ |
||||
margin-top: -12px; |
||||
margin-left: 4em; |
||||
font-size: smaller; |
||||
} |
||||
.lp_navigation_elem .buttons{ |
||||
margin-left: 1em; |
||||
margin-right: 0em; |
||||
margin-top: 0.4em; |
||||
} |
||||
#msg_div_id{ |
||||
padding-left: 10px; |
||||
padding-top: 4px; |
||||
} |
||||
.scormpage .menu .notification{ |
||||
height: 50px; |
||||
margin-left: 15px; |
||||
margin-right: 15px; |
||||
} |
||||
.scormpage .menu .notification .message{ |
||||
height: 50px; |
||||
width: 140px; |
||||
border: none; |
||||
} |
||||
.scormpage .menu .notification .lp_log{ |
||||
height: 100px; |
||||
width: 180px; |
||||
border: none; |
||||
overflow: auto; |
||||
} |
||||
.scormpage .content .iframe{ |
||||
/* |
||||
border: none; |
||||
height: 700px; |
||||
margin: 0px; |
||||
padding-right: 0px; |
||||
margin-right: 0%; |
||||
margin-left: 0%; |
||||
*/ |
||||
/* trying the absolute mode */ |
||||
position: fixed; |
||||
bottom:0; |
||||
left:0; |
||||
width: 100%; |
||||
height: 100%; |
||||
} |
||||
.scormpage .footer{ |
||||
clear: both; |
||||
} |
||||
|
After Width: | Height: | Size: 803 B |
|
After Width: | Height: | Size: 807 B |
|
After Width: | Height: | Size: 804 B |
|
After Width: | Height: | Size: 419 B |
@ -0,0 +1,82 @@ |
||||
div.lp_actions{background:#F8F8F8; border-bottom:1px solid #999999; padding:3px;} |
||||
|
||||
div.lp_actions img{margin-right:5px;} |
||||
|
||||
|
||||
div.lp_small_form{background:#F8F8F8; border:1px solid #999999; padding:10px;} |
||||
|
||||
div.lp_small_form input{font-size:10px;} |
||||
|
||||
|
||||
div.lp_manipulate{background:#F8F8F8; border-bottom:1px dotted #999999; margin-bottom:0px; padding:3px 0 3px 10px;} |
||||
|
||||
div.lp_manipulate a{padding-right:10px;} |
||||
|
||||
|
||||
div.lp_message{background:#FEC880; border:1px solid #E28C15; font-size:12px; padding:10px;} |
||||
|
||||
|
||||
div.lp_resource_header{background:#F0F0F0; border:1px solid #999999; border-bottom:0; font-weight:bold; padding:10px; width:350px;} |
||||
div.lp_resource_header_end{background:#F0F0F0; border:1px solid #999999; font-weight:bold; padding:10px; width:350px;} |
||||
div.lp_resource_elements{background:#FAFAFA; border:1px solid #999999; border-bottom:0; display:none; padding:5px 10px; width:350px;} |
||||
div.lp_resource_elements_end{background:#FAFAFA; border:1px solid #999999; border-top: 0px; display:none; padding:5px 10px; width:350px;} |
||||
div.lp_resource_elements div{padding:3px;} |
||||
|
||||
div.lp_tree{height:400px; padding:3px 10px 3px 0; overflow-x : auto; overflow-y : scroll; width:230px;} |
||||
|
||||
|
||||
hr{background:#999999; border:0; color:#999999; height:1px; margin:10px auto; width:75%;} |
||||
|
||||
|
||||
option.bottom{border-top:1px solid #999999; margin-top:2px; padding-top:2px;} |
||||
option.top{border-bottom:1px solid #999999; margin-bottom:2px; padding-bottom:2px;} |
||||
|
||||
p.lp_action{margin:5px 0;} |
||||
p.lp_text{margin-top:0px;} |
||||
p.lp_title{font-weight:bold; margin-top:0px;} |
||||
|
||||
|
||||
table.lp_build{font-size:12px; height:400px; width:100%;} |
||||
|
||||
table.lp_build td{vertical-align:top;} |
||||
table.lp_build td.tree{border-right:1px solid #999999; width:240px;} |
||||
table.lp_build td.workspace{padding:0; width:auto;} |
||||
|
||||
|
||||
table.lp_form{font-size:12px; margin:0 10px; width:100%;} |
||||
|
||||
table.lp_form td{height:25px; padding:5px; vertical-align:top; width:auto;} |
||||
table.lp_form td.label{padding-top:7px; text-align:right; width:75px;} |
||||
table.lp_form td.radio{width:300px;} |
||||
table.lp_form td.exercise{width:50px;} |
||||
|
||||
table.lp_form th{background:#F8F8F8; border-bottom:1px solid #999999; border-top:1px solid #999999;} |
||||
table.lp_overview th.exercise{width:50px;} |
||||
|
||||
table.lp_form input, |
||||
table.lp_form select, |
||||
table.lp_form textarea{background:#F8F8F8; border:1px solid #999999; font-family:Arial, Verdana, Helvetica, sans-serif; font-size:12px; padding:1px 2px; width:300px;} |
||||
|
||||
table.lp_form td.radio input, |
||||
table.lp_form td.exercise input{width:auto;} |
||||
|
||||
table.lp_form .small_form{background:#FFFFFF;} |
||||
|
||||
table.lp_form select{padding:0;} |
||||
|
||||
table.lp_form input.button{width:75px;} |
||||
|
||||
|
||||
table.lp_overview{font-size:12px; width:100%;} |
||||
|
||||
table.lp_overview td{border-bottom:1px solid #999999; border-top:1px solid #999999; height:20px; padding:3px; vertical-align:middle; width:auto;} |
||||
table.lp_overview td.title{width:200px;} |
||||
table.lp_overview td.actions{text-align:center; width:100px;} |
||||
table.lp_overview td.move{text-align:center; width:50px;} |
||||
|
||||
table.lp_overview th{background:#FFFFFF; padding-left:3px; text-align:center;} |
||||
|
||||
table.lp_overview tr{background:#F8F8F8;} |
||||
table.lp_overview tr:hover{background:#E5EDF9;} |
||||
|
||||
table.lp_overview img{margin-left:3px;} |
||||
@ -0,0 +1,129 @@ |
||||
.scormpage{ |
||||
height: 100%; |
||||
} |
||||
.scormpage .menu{ |
||||
width: 180px; |
||||
float: left; |
||||
margin: 1px; |
||||
padding: 0px; |
||||
margin-top: 0px; |
||||
padding-top: 0px; |
||||
font-size: small; |
||||
} |
||||
.lp_toc{ |
||||
background-color: white; |
||||
height: 380px; |
||||
width: 99%; |
||||
border-right: 1px none; |
||||
} |
||||
.inner_lp_toc{ |
||||
overflow: auto; |
||||
background-color: white; |
||||
height: 325px; |
||||
width: 99%; |
||||
border-right: 1px #999999 solid; |
||||
} |
||||
.inner_lp_toc .scorm_item{ |
||||
font-size: 11px; |
||||
margin-left: 10px; |
||||
margin-right:10px; |
||||
padding-bottom: 2px; |
||||
text-decoration: none; |
||||
} |
||||
|
||||
.inner_lp_toc .scorm_item A{ |
||||
font-weight: normal; |
||||
} |
||||
|
||||
.inner_lp_toc .scorm_item A.chapter_module{ |
||||
font-weight: normal; |
||||
} |
||||
|
||||
.inner_lp_toc .scorm_item_highlight{ |
||||
font-size: 11px; |
||||
margin-left: 10px; |
||||
margin-right: 10px; |
||||
padding-bottom: 2px; |
||||
text-decoration: none; |
||||
background:#F8F8F8; border:1px dashed #999999; |
||||
} |
||||
|
||||
.inner_lp_toc .scorm_item_highlight A{ |
||||
font-weight: normal; |
||||
} |
||||
|
||||
.inner_lp_toc .scorm_item_highlight .highlight{ |
||||
font-weight: normal; |
||||
background:#F3F3F3; border:1px dashed #949494; |
||||
margin-right: 1px; |
||||
} |
||||
|
||||
.inner_lp_toc .scorm_status_img{ |
||||
margin:0px; |
||||
margin-left: -10px; |
||||
width:10px; |
||||
} |
||||
|
||||
|
||||
.lp_navigation{ |
||||
overflow: auto; |
||||
background-color: white; |
||||
height: 44px; |
||||
width:180px; |
||||
padding-top: 4px; |
||||
padding-bottom:0px; |
||||
border: none; |
||||
margin-top: -18px; |
||||
border-top: 1px dotted black; |
||||
border-bottom: 1px dotted black; |
||||
} |
||||
|
||||
.lp_navigation_elem{ |
||||
padding-left: 40px; |
||||
padding-top: 0px; |
||||
} |
||||
/*.scormpage .menu */ |
||||
.lp_navigation_elem .progresstext{ |
||||
margin-top: -12px; |
||||
margin-left: 4em; |
||||
font-size: smaller; |
||||
} |
||||
|
||||
/*.scormpage .menu */ |
||||
.lp_navigation_elem .buttons{ |
||||
margin-left: 5px; |
||||
margin-right: 0em; |
||||
margin-top: 0.4em; |
||||
} |
||||
|
||||
.scormpage .menu .notification{ |
||||
background-color: white; |
||||
height: 50px; |
||||
} |
||||
.scormpage .menu .notification .message{ |
||||
background-color: white; |
||||
height: 50px; |
||||
width: 180px; |
||||
border: none; |
||||
} |
||||
|
||||
.scormpage .content{ |
||||
/*float: left; |
||||
width: 60%;*/ |
||||
margin-top: 0px; |
||||
padding-top: 0px; |
||||
padding-left: 180px; |
||||
background-color: white; |
||||
} |
||||
.iframe{ |
||||
border: 0px solid black; |
||||
height: 580px; |
||||
width: 95%; |
||||
margin: 0px; |
||||
padding-right: 0px; |
||||
overflow: auto; |
||||
vertical-align: top; |
||||
} |
||||
.scormpage .footer{ |
||||
clear: both; |
||||
} |
||||
@ -0,0 +1,83 @@ |
||||
.scormpage{ |
||||
} |
||||
.scormpage .menu{ |
||||
width: 180px; |
||||
padding: 0px; |
||||
font-size: small; |
||||
position: absolute; |
||||
background-color: white; |
||||
/* |
||||
filter:alpha(opacity=50); |
||||
opacity: 0.50; |
||||
-moz-border-radius: 25px; |
||||
margin-right: 5%; |
||||
margin-left: 75%; |
||||
margin-top: 10px; |
||||
*/ |
||||
} |
||||
.scormpage .menu .lp_nav{ |
||||
height: 50px; |
||||
width: 160px; |
||||
padding-top: 4px; |
||||
padding-bottom:0px; |
||||
/* |
||||
margin-left: 10px; |
||||
margin-right: 10px; |
||||
*/ |
||||
margin-top: 0px; |
||||
} |
||||
.lp_navigation_elem{ |
||||
padding-top: 2px; |
||||
position: absolute; |
||||
left: 50%; |
||||
margin-left: -70px; |
||||
} |
||||
.lp_navigation_elem .progresstext{ |
||||
margin-top: -12px; |
||||
margin-left: 4em; |
||||
font-size: smaller; |
||||
} |
||||
.lp_navigation_elem .buttons{ |
||||
margin-left: 1em; |
||||
margin-right: 0em; |
||||
margin-top: 0.4em; |
||||
} |
||||
#msg_div_id{ |
||||
padding-left: 10px; |
||||
padding-top: 4px; |
||||
} |
||||
.scormpage .menu .notification{ |
||||
height: 50px; |
||||
margin-left: 15px; |
||||
margin-right: 15px; |
||||
} |
||||
.scormpage .menu .notification .message{ |
||||
height: 50px; |
||||
width: 140px; |
||||
border: none; |
||||
} |
||||
.scormpage .menu .notification .lp_log{ |
||||
height: 100px; |
||||
width: 180px; |
||||
border: none; |
||||
overflow: auto; |
||||
} |
||||
.scormpage .content .iframe{ |
||||
/* |
||||
border: none; |
||||
height: 700px; |
||||
margin: 0px; |
||||
padding-right: 0px; |
||||
margin-right: 0%; |
||||
margin-left: 0%; |
||||
*/ |
||||
/* trying the absolute mode */ |
||||
position: fixed; |
||||
bottom:0; |
||||
left:0; |
||||
width: 100%; |
||||
height: 100%; |
||||
} |
||||
.scormpage .footer{ |
||||
clear: both; |
||||
} |
||||
|
After Width: | Height: | Size: 803 B |
|
After Width: | Height: | Size: 807 B |
|
After Width: | Height: | Size: 804 B |
|
After Width: | Height: | Size: 807 B |
@ -0,0 +1,83 @@ |
||||
.scormpage{ |
||||
} |
||||
.scormpage .menu{ |
||||
width: 180px; |
||||
padding: 0px; |
||||
font-size: small; |
||||
position: absolute; |
||||
background-color: white; |
||||
/* |
||||
filter:alpha(opacity=50); |
||||
opacity: 0.50; |
||||
-moz-border-radius: 25px; |
||||
margin-right: 5%; |
||||
margin-left: 75%; |
||||
margin-top: 10px; |
||||
*/ |
||||
} |
||||
.scormpage .menu .lp_nav{ |
||||
height: 50px; |
||||
width: 160px; |
||||
padding-top: 4px; |
||||
padding-bottom:0px; |
||||
/* |
||||
margin-left: 10px; |
||||
margin-right: 10px; |
||||
*/ |
||||
margin-top: 0px; |
||||
} |
||||
.lp_navigation_elem{ |
||||
padding-top: 2px; |
||||
position: absolute; |
||||
left: 50%; |
||||
margin-left: -70px; |
||||
} |
||||
.lp_navigation_elem .progresstext{ |
||||
margin-top: -12px; |
||||
margin-left: 4em; |
||||
font-size: smaller; |
||||
} |
||||
.lp_navigation_elem .buttons{ |
||||
margin-left: 1em; |
||||
margin-right: 0em; |
||||
margin-top: 0.4em; |
||||
} |
||||
#msg_div_id{ |
||||
padding-left: 10px; |
||||
padding-top: 4px; |
||||
} |
||||
.scormpage .menu .notification{ |
||||
height: 50px; |
||||
margin-left: 15px; |
||||
margin-right: 15px; |
||||
} |
||||
.scormpage .menu .notification .message{ |
||||
height: 50px; |
||||
width: 140px; |
||||
border: none; |
||||
} |
||||
.scormpage .menu .notification .lp_log{ |
||||
height: 100px; |
||||
width: 180px; |
||||
border: none; |
||||
overflow: auto; |
||||
} |
||||
.scormpage .content .iframe{ |
||||
/* |
||||
border: none; |
||||
height: 700px; |
||||
margin: 0px; |
||||
padding-right: 0px; |
||||
margin-right: 0%; |
||||
margin-left: 0%; |
||||
*/ |
||||
/* trying the absolute mode */ |
||||
position: fixed; |
||||
bottom:0; |
||||
left:0; |
||||
width: 100%; |
||||
height: 100%; |
||||
} |
||||
.scormpage .footer{ |
||||
clear: both; |
||||
} |
||||
|
After Width: | Height: | Size: 803 B |
|
After Width: | Height: | Size: 807 B |
|
After Width: | Height: | Size: 804 B |
|
After Width: | Height: | Size: 807 B |
@ -0,0 +1,83 @@ |
||||
.scormpage{ |
||||
} |
||||
.scormpage .menu{ |
||||
width: 180px; |
||||
padding: 0px; |
||||
font-size: small; |
||||
position: absolute; |
||||
background-color: white; |
||||
/* |
||||
filter:alpha(opacity=50); |
||||
opacity: 0.50; |
||||
-moz-border-radius: 25px; |
||||
margin-right: 5%; |
||||
margin-left: 75%; |
||||
margin-top: 10px; |
||||
*/ |
||||
} |
||||
.scormpage .menu .lp_nav{ |
||||
height: 50px; |
||||
width: 160px; |
||||
padding-top: 4px; |
||||
padding-bottom:0px; |
||||
/* |
||||
margin-left: 10px; |
||||
margin-right: 10px; |
||||
*/ |
||||
margin-top: 0px; |
||||
} |
||||
.lp_navigation_elem{ |
||||
padding-top: 2px; |
||||
position: absolute; |
||||
left: 50%; |
||||
margin-left: -70px; |
||||
} |
||||
.lp_navigation_elem .progresstext{ |
||||
margin-top: -12px; |
||||
margin-left: 4em; |
||||
font-size: smaller; |
||||
} |
||||
.lp_navigation_elem .buttons{ |
||||
margin-left: 1em; |
||||
margin-right: 0em; |
||||
margin-top: 0.4em; |
||||
} |
||||
#msg_div_id{ |
||||
padding-left: 10px; |
||||
padding-top: 4px; |
||||
} |
||||
.scormpage .menu .notification{ |
||||
height: 50px; |
||||
margin-left: 15px; |
||||
margin-right: 15px; |
||||
} |
||||
.scormpage .menu .notification .message{ |
||||
height: 50px; |
||||
width: 140px; |
||||
border: none; |
||||
} |
||||
.scormpage .menu .notification .lp_log{ |
||||
height: 100px; |
||||
width: 180px; |
||||
border: none; |
||||
overflow: auto; |
||||
} |
||||
.scormpage .content .iframe{ |
||||
/* |
||||
border: none; |
||||
height: 700px; |
||||
margin: 0px; |
||||
padding-right: 0px; |
||||
margin-right: 0%; |
||||
margin-left: 0%; |
||||
*/ |
||||
/* trying the absolute mode */ |
||||
position: fixed; |
||||
bottom:0; |
||||
left:0; |
||||
width: 100%; |
||||
height: 100%; |
||||
} |
||||
.scormpage .footer{ |
||||
clear: both; |
||||
} |
||||
|
After Width: | Height: | Size: 803 B |
|
After Width: | Height: | Size: 807 B |
|
After Width: | Height: | Size: 804 B |
|
After Width: | Height: | Size: 419 B |
@ -0,0 +1,82 @@ |
||||
div.lp_actions{background:#F8F8F8; border-bottom:1px solid #999999; padding:3px;} |
||||
|
||||
div.lp_actions img{margin-right:5px;} |
||||
|
||||
|
||||
div.lp_small_form{background:#F8F8F8; border:1px solid #999999; padding:10px;} |
||||
|
||||
div.lp_small_form input{font-size:10px;} |
||||
|
||||
|
||||
div.lp_manipulate{background:#F8F8F8; border-bottom:1px dotted #999999; margin-bottom:0px; padding:3px 0 3px 10px;} |
||||
|
||||
div.lp_manipulate a{padding-right:10px;} |
||||
|
||||
|
||||
div.lp_message{background:#FEC880; border:1px solid #E28C15; font-size:12px; padding:10px;} |
||||
|
||||
|
||||
div.lp_resource_header{background:#F0F0F0; border:1px solid #999999; border-bottom:0; font-weight:bold; padding:10px; width:350px;} |
||||
div.lp_resource_header_end{background:#F0F0F0; border:1px solid #999999; font-weight:bold; padding:10px; width:350px;} |
||||
div.lp_resource_elements{background:#FAFAFA; border:1px solid #999999; border-bottom:0; display:none; padding:5px 10px; width:350px;} |
||||
div.lp_resource_elements_end{background:#FAFAFA; border:1px solid #999999; border-top: 0px; display:none; padding:5px 10px; width:350px;} |
||||
div.lp_resource_elements div{padding:3px;} |
||||
|
||||
div.lp_tree{height:400px; padding:3px 10px 3px 0; overflow-x : auto; overflow-y : scroll; width:230px;} |
||||
|
||||
|
||||
hr{background:#999999; border:0; color:#999999; height:1px; margin:10px auto; width:75%;} |
||||
|
||||
|
||||
option.bottom{border-top:1px solid #999999; margin-top:2px; padding-top:2px;} |
||||
option.top{border-bottom:1px solid #999999; margin-bottom:2px; padding-bottom:2px;} |
||||
|
||||
p.lp_action{margin:5px 0;} |
||||
p.lp_text{margin-top:0px;} |
||||
p.lp_title{font-weight:bold; margin-top:0px;} |
||||
|
||||
|
||||
table.lp_build{font-size:12px; height:400px; width:100%;} |
||||
|
||||
table.lp_build td{vertical-align:top;} |
||||
table.lp_build td.tree{border-right:1px solid #999999; width:240px;} |
||||
table.lp_build td.workspace{padding:0; width:auto;} |
||||
|
||||
|
||||
table.lp_form{font-size:12px; margin:0 10px; width:100%;} |
||||
|
||||
table.lp_form td{height:25px; padding:5px; vertical-align:top; width:auto;} |
||||
table.lp_form td.label{padding-top:7px; text-align:right; width:75px;} |
||||
table.lp_form td.radio{width:300px;} |
||||
table.lp_form td.exercise{width:50px;} |
||||
|
||||
table.lp_form th{background:#F8F8F8; border-bottom:1px solid #999999; border-top:1px solid #999999;} |
||||
table.lp_overview th.exercise{width:50px;} |
||||
|
||||
table.lp_form input, |
||||
table.lp_form select, |
||||
table.lp_form textarea{background:#F8F8F8; border:1px solid #999999; font-family:Arial, Verdana, Helvetica, sans-serif; font-size:12px; padding:1px 2px; width:300px;} |
||||
|
||||
table.lp_form td.radio input, |
||||
table.lp_form td.exercise input{width:auto;} |
||||
|
||||
table.lp_form .small_form{background:#FFFFFF;} |
||||
|
||||
table.lp_form select{padding:0;} |
||||
|
||||
table.lp_form input.button{width:75px;} |
||||
|
||||
|
||||
table.lp_overview{font-size:12px; width:100%;} |
||||
|
||||
table.lp_overview td{border-bottom:1px solid #999999; border-top:1px solid #999999; height:20px; padding:3px; vertical-align:middle; width:auto;} |
||||
table.lp_overview td.title{width:200px;} |
||||
table.lp_overview td.actions{text-align:center; width:100px;} |
||||
table.lp_overview td.move{text-align:center; width:50px;} |
||||
|
||||
table.lp_overview th{background:#FFFFFF; padding-left:3px; text-align:center;} |
||||
|
||||
table.lp_overview tr{background:#F8F8F8;} |
||||
table.lp_overview tr:hover{background:#E5EDF9;} |
||||
|
||||
table.lp_overview img{margin-left:3px;} |
||||
@ -0,0 +1,129 @@ |
||||
.scormpage{ |
||||
height: 100%; |
||||
} |
||||
.scormpage .menu{ |
||||
width: 180px; |
||||
float: left; |
||||
margin: 1px; |
||||
padding: 0px; |
||||
margin-top: 0px; |
||||
padding-top: 0px; |
||||
font-size: small; |
||||
} |
||||
.lp_toc{ |
||||
background-color: white; |
||||
height: 380px; |
||||
width: 99%; |
||||
border-right: 1px none; |
||||
} |
||||
.inner_lp_toc{ |
||||
overflow: auto; |
||||
background-color: white; |
||||
height: 325px; |
||||
width: 99%; |
||||
border-right: 1px #999999 solid; |
||||
} |
||||
.inner_lp_toc .scorm_item{ |
||||
font-size: 11px; |
||||
margin-left: 10px; |
||||
margin-right:10px; |
||||
padding-bottom: 2px; |
||||
text-decoration: none; |
||||
} |
||||
|
||||
.inner_lp_toc .scorm_item A{ |
||||
font-weight: normal; |
||||
} |
||||
|
||||
.inner_lp_toc .scorm_item A.chapter_module{ |
||||
font-weight: normal; |
||||
} |
||||
|
||||
.inner_lp_toc .scorm_item_highlight{ |
||||
font-size: 11px; |
||||
margin-left: 10px; |
||||
margin-right: 10px; |
||||
padding-bottom: 2px; |
||||
text-decoration: none; |
||||
background:#F8F8F8; border:1px dashed #999999; |
||||
} |
||||
|
||||
.inner_lp_toc .scorm_item_highlight A{ |
||||
font-weight: normal; |
||||
} |
||||
|
||||
.inner_lp_toc .scorm_item_highlight .highlight{ |
||||
font-weight: normal; |
||||
background:#F3F3F3; border:1px dashed #949494; |
||||
margin-right: 1px; |
||||
} |
||||
|
||||
.inner_lp_toc .scorm_status_img{ |
||||
margin:0px; |
||||
margin-left: -10px; |
||||
width:10px; |
||||
} |
||||
|
||||
|
||||
.lp_navigation{ |
||||
overflow: auto; |
||||
background-color: white; |
||||
height: 44px; |
||||
width:180px; |
||||
padding-top: 4px; |
||||
padding-bottom:0px; |
||||
border: none; |
||||
margin-top: -18px; |
||||
border-top: 1px dotted black; |
||||
border-bottom: 1px dotted black; |
||||
} |
||||
|
||||
.lp_navigation_elem{ |
||||
padding-left: 40px; |
||||
padding-top: 0px; |
||||
} |
||||
/*.scormpage .menu */ |
||||
.lp_navigation_elem .progresstext{ |
||||
margin-top: -12px; |
||||
margin-left: 4em; |
||||
font-size: smaller; |
||||
} |
||||
|
||||
/*.scormpage .menu */ |
||||
.lp_navigation_elem .buttons{ |
||||
margin-left: 5px; |
||||
margin-right: 0em; |
||||
margin-top: 0.4em; |
||||
} |
||||
|
||||
.scormpage .menu .notification{ |
||||
background-color: white; |
||||
height: 50px; |
||||
} |
||||
.scormpage .menu .notification .message{ |
||||
background-color: white; |
||||
height: 50px; |
||||
width: 180px; |
||||
border: none; |
||||
} |
||||
|
||||
.scormpage .content{ |
||||
/*float: left; |
||||
width: 60%;*/ |
||||
margin-top: 0px; |
||||
padding-top: 0px; |
||||
padding-left: 180px; |
||||
background-color: white; |
||||
} |
||||
.iframe{ |
||||
border: 0px solid black; |
||||
height: 580px; |
||||
width: 95%; |
||||
margin: 0px; |
||||
padding-right: 0px; |
||||
overflow: auto; |
||||
vertical-align: top; |
||||
} |
||||
.scormpage .footer{ |
||||
clear: both; |
||||
} |
||||
@ -0,0 +1,83 @@ |
||||
.scormpage{ |
||||
} |
||||
.scormpage .menu{ |
||||
width: 180px; |
||||
padding: 0px; |
||||
font-size: small; |
||||
position: absolute; |
||||
background-color: white; |
||||
/* |
||||
filter:alpha(opacity=50); |
||||
opacity: 0.50; |
||||
-moz-border-radius: 25px; |
||||
margin-right: 5%; |
||||
margin-left: 75%; |
||||
margin-top: 10px; |
||||
*/ |
||||
} |
||||
.scormpage .menu .lp_nav{ |
||||
height: 50px; |
||||
width: 160px; |
||||
padding-top: 4px; |
||||
padding-bottom:0px; |
||||
/* |
||||
margin-left: 10px; |
||||
margin-right: 10px; |
||||
*/ |
||||
margin-top: 0px; |
||||
} |
||||
.lp_navigation_elem{ |
||||
padding-top: 2px; |
||||
position: absolute; |
||||
left: 50%; |
||||
margin-left: -70px; |
||||
} |
||||
.lp_navigation_elem .progresstext{ |
||||
margin-top: -12px; |
||||
margin-left: 4em; |
||||
font-size: smaller; |
||||
} |
||||
.lp_navigation_elem .buttons{ |
||||
margin-left: 1em; |
||||
margin-right: 0em; |
||||
margin-top: 0.4em; |
||||
} |
||||
#msg_div_id{ |
||||
padding-left: 10px; |
||||
padding-top: 4px; |
||||
} |
||||
.scormpage .menu .notification{ |
||||
height: 50px; |
||||
margin-left: 15px; |
||||
margin-right: 15px; |
||||
} |
||||
.scormpage .menu .notification .message{ |
||||
height: 50px; |
||||
width: 140px; |
||||
border: none; |
||||
} |
||||
.scormpage .menu .notification .lp_log{ |
||||
height: 100px; |
||||
width: 180px; |
||||
border: none; |
||||
overflow: auto; |
||||
} |
||||
.scormpage .content .iframe{ |
||||
/* |
||||
border: none; |
||||
height: 700px; |
||||
margin: 0px; |
||||
padding-right: 0px; |
||||
margin-right: 0%; |
||||
margin-left: 0%; |
||||
*/ |
||||
/* trying the absolute mode */ |
||||
position: fixed; |
||||
bottom:0; |
||||
left:0; |
||||
width: 100%; |
||||
height: 100%; |
||||
} |
||||
.scormpage .footer{ |
||||
clear: both; |
||||
} |
||||
@ -1,411 +1,409 @@ |
||||
<?php |
||||
/* |
||||
============================================================================== |
||||
Dokeos - elearning and course management software |
||||
|
||||
Copyright (c) 2004 Dokeos S.A. |
||||
Copyright (c) 2003 Ghent University (UGent) |
||||
Copyright (c) 2001 Universite catholique de Louvain (UCL) |
||||
Copyright (c) Patrick Cool |
||||
Copyright (c) Denes Nagy |
||||
Copyright (c) Yannick Warnier |
||||
|
||||
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: Dokeos, 181 rue Royale, B-1000 Brussels, Belgium, info@dokeos.com |
||||
============================================================================== |
||||
*/ |
||||
/** |
||||
============================================================================== |
||||
* This is a learning path creation and player tool in Dokeos - previously |
||||
* learnpath_handler.php |
||||
* |
||||
* @author Patrick Cool |
||||
* @author Denes Nagy |
||||
* @author Roan Embrechts, refactoring and code cleaning |
||||
* @author Yannick Warnier <ywarnier@beeznest.org> - cleaning and update |
||||
* @package dokeos.learnpath |
||||
============================================================================== |
||||
*/ |
||||
|
||||
/* |
||||
============================================================================== |
||||
INIT SECTION |
||||
============================================================================== |
||||
*/ |
||||
$this_section=SECTION_COURSES; |
||||
|
||||
api_protect_course_script(); |
||||
|
||||
/* |
||||
----------------------------------------------------------- |
||||
Libraries |
||||
----------------------------------------------------------- |
||||
*/ |
||||
//the main_api.lib.php, database.lib.php and display.lib.php |
||||
//libraries are included by default |
||||
|
||||
include('learnpath_functions.inc.php'); |
||||
//include('../resourcelinker/resourcelinker.inc.php'); |
||||
include('resourcelinker.inc.php'); |
||||
//rewrite the language file, sadly overwritten by resourcelinker.inc.php |
||||
// name of the language file that needs to be included |
||||
$language_file = "learnpath"; |
||||
|
||||
/* |
||||
----------------------------------------------------------- |
||||
Header and action code |
||||
----------------------------------------------------------- |
||||
*/ |
||||
$currentstyle = api_get_setting('stylesheets'); |
||||
$htmlHeadXtra[] = '<link rel="stylesheet" type="text/css" href="'.api_get_path(WEB_CODE_PATH).'css/'.$currentstyle.'/learnpath.css"/>'; |
||||
$htmlHeadXtra[] = "<link rel='stylesheet' type='text/css' href='learnpath.css' />"; //will be a merged with original learnpath.css |
||||
$htmlHeadXtra[] = "<link rel='stylesheet' type='text/css' href='dtree.css' />"; //will be moved |
||||
$htmlHeadXtra[] = "<script src='dtree.js' type='text/javascript'></script>"; //will be moved |
||||
$htmlHeadXtra[] = ' |
||||
<script type="text/javascript"> |
||||
function launch_templates(){ |
||||
window.frames[0].FCKToolbarItems.GetItem("Templates").Click(); |
||||
} |
||||
</script>'; |
||||
|
||||
|
||||
$htmlHeadXtra[] = $_SESSION['oLP']->create_js(); |
||||
/* |
||||
----------------------------------------------------------- |
||||
Constants and variables |
||||
----------------------------------------------------------- |
||||
*/ |
||||
$is_allowed_to_edit = api_is_allowed_to_edit(); |
||||
|
||||
$tbl_lp = Database::get_course_table('lp'); |
||||
$tbl_lp_item = Database::get_course_table('lp_item'); |
||||
$tbl_lp_view = Database::get_course_table('lp_view'); |
||||
|
||||
$isStudentView = (int) $_REQUEST['isStudentView']; |
||||
$learnpath_id = (int) $_REQUEST['lp_id']; |
||||
$submit = $_POST['submit_button']; |
||||
/* |
||||
$chapter_id = $_GET['chapter_id']; |
||||
$title = $_POST['title']; |
||||
$description = $_POST['description']; |
||||
$Submititem = $_POST['Submititem']; |
||||
$action = $_REQUEST['action']; |
||||
$id = (int) $_REQUEST['id']; |
||||
$type = $_REQUEST['type']; |
||||
$direction = $_REQUEST['direction']; |
||||
$moduleid = $_REQUEST['moduleid']; |
||||
$prereq = $_REQUEST['prereq']; |
||||
$type = $_REQUEST['type']; |
||||
*/ |
||||
/* |
||||
============================================================================== |
||||
MAIN CODE |
||||
============================================================================== |
||||
*/ |
||||
// using the resource linker as a tool for adding resources to the learning path |
||||
if ($action=="add" and $type=="learnpathitem") |
||||
{ |
||||
$htmlHeadXtra[] = "<script language='JavaScript' type='text/javascript'> window.location=\"../resourcelinker/resourcelinker.php?source_id=5&action=$action&learnpath_id=$learnpath_id&chapter_id=$chapter_id&originalresource=no\"; </script>"; |
||||
} |
||||
if ( (! $is_allowed_to_edit) or ($isStudentView) ) |
||||
{ |
||||
error_log('New LP - User not authorized in lp_add_item.php'); |
||||
header('location:lp_controller.php?action=view&lp_id='.$learnpath_id); |
||||
} |
||||
//from here on, we are admin because of the previous condition, so don't check anymore |
||||
|
||||
$sql_query = "SELECT * FROM $tbl_lp WHERE id = $learnpath_id"; |
||||
$result=api_sql_query($sql_query); |
||||
$therow=Database::fetch_array($result); |
||||
|
||||
//$admin_output = ''; |
||||
/* |
||||
----------------------------------------------------------- |
||||
Course admin section |
||||
- all the functions not available for students - always available in this case (page only shown to admin) |
||||
----------------------------------------------------------- |
||||
*/ |
||||
/*================================================== |
||||
SHOWING THE ADMIN TOOLS |
||||
==================================================*/ |
||||
|
||||
$interbreadcrumb[]= array ("url"=>"lp_controller.php?action=list", "name"=> get_lang("_learning_path")); |
||||
$interbreadcrumb[]= array ("url"=>api_get_self()."?action=build&lp_id=$learnpath_id", "name" => stripslashes("{$therow['name']}")); |
||||
|
||||
switch($_GET['type']){ |
||||
case 'chapter': |
||||
$interbreadcrumb[]= array ("url"=>"#", "name" => get_lang("NewChapter")); |
||||
break; |
||||
default: |
||||
$interbreadcrumb[]= array ("url"=>"#", "name" => get_lang("NewStep")); |
||||
break; |
||||
} |
||||
|
||||
Display::display_header(null,'Path'); |
||||
//api_display_tool_title($therow['name']); |
||||
|
||||
$suredel = get_lang('AreYouSureToDelete'); |
||||
$suredelstep = get_lang('AreYouSureToDeleteSteps'); |
||||
?> |
||||
<script type='text/javascript'> |
||||
/* <![CDATA[ */ |
||||
function confirmation (name) |
||||
{ |
||||
if (name!='Users' && name!='Assignments' && name!='Document' && name!='Forum' && name!='Agenda' && name!='Groups' && name!='Link _self' && name!='Dropbox' && name!='Course_description' && name!='Exercise' && name!='Introduction_text') |
||||
{ |
||||
if (confirm("<?php echo $suredel; ?> "+ name + " <?php echo $suredelstep;?>?"))
|
||||
{return true;} |
||||
else |
||||
{return false;} |
||||
} |
||||
else |
||||
{ |
||||
if (confirm("<?php echo $suredel; ?> "+ name + "?"))
|
||||
{return true;} |
||||
else |
||||
{return false;} |
||||
} |
||||
} |
||||
</script> |
||||
<?php |
||||
|
||||
//echo $admin_output; |
||||
|
||||
/* |
||||
----------------------------------------------------------- |
||||
DISPLAY SECTION |
||||
----------------------------------------------------------- |
||||
*/ |
||||
echo '<table cellpadding="0" cellspacing="0" class="lp_build">'; |
||||
|
||||
echo '<tr>'; |
||||
|
||||
echo '<td class="tree">'; |
||||
|
||||
echo '<p style="border-bottom:1px solid #999999; margin:0; padding:2px;">'.get_lang("Build").' <a href="' .api_get_self(). '?cidReq=' . $_GET['cidReq'] . '&action=admin_view&lp_id=' . $_SESSION['oLP']->lp_id . '">'.get_lang("BasicOverview").'</a> <a href="lp_controller.php?cidReq='.$_GET['cidReq'].'&action=view&lp_id='.$_SESSION['oLP']->lp_id.'">'.get_lang("Display").'</a></p>'; |
||||
|
||||
//links for adding a module, chapter or step |
||||
echo '<div class="lp_actions">'; |
||||
|
||||
echo '<p class="lp_action">'; |
||||
|
||||
echo '<a href="' .api_get_self(). '?cidReq=' . $_GET['cidReq'] . '&action=add_item&type=chapter&lp_id=' . $_SESSION['oLP']->lp_id . '" title="'.get_lang("NewChapter").'"><img align="left" alt="'.get_lang("NewChapter").'" src="../img/lp_dokeos_chapter_add.png" title="'.get_lang("NewChapter").'" />'.get_lang("NewChapter").'</a>'; |
||||
|
||||
echo '</p>'; |
||||
echo '<p class="lp_action">'; |
||||
|
||||
echo '<a href="' .api_get_self(). '?cidReq=' . $_GET['cidReq'] . '&action=add_item&type=step&lp_id=' . $_SESSION['oLP']->lp_id . '" title="'.get_lang("NewStep").'"><img align="left" alt="'.get_lang("NewStep").'" src="../img/lp_dokeos_step_add.png" title="'.get_lang("NewStep").'" />'.get_lang("NewStep").'</a>'; |
||||
|
||||
echo '</p>'; |
||||
|
||||
echo '</div>'; |
||||
|
||||
echo '<div class="lp_tree">'; |
||||
|
||||
//build the tree with the menu items in it |
||||
echo $_SESSION['oLP']->build_tree(); |
||||
|
||||
echo '</div>'; |
||||
|
||||
echo '</td>'; |
||||
echo '<td class="workspace">'; |
||||
|
||||
if(isset($new_item_id) && is_numeric($new_item_id)) |
||||
{ |
||||
switch($_GET['type']) |
||||
{ |
||||
|
||||
case 'chapter': |
||||
|
||||
echo $_SESSION['oLP']->display_manipulate($new_item_id, $_GET['type']); |
||||
|
||||
echo '<div class="lp_message" style="margin:3px 10px;">'; |
||||
|
||||
echo get_lang("NewChapterCreated"); |
||||
|
||||
echo '</div>'; |
||||
|
||||
break; |
||||
|
||||
case TOOL_LINK: |
||||
|
||||
echo $_SESSION['oLP']->display_manipulate($new_item_id, $_GET['type']); |
||||
|
||||
echo '<div class="lp_message" style="margin:3px 10px;">'; |
||||
|
||||
echo get_lang("NewLinksCreated"); |
||||
|
||||
echo '</div>'; |
||||
|
||||
break; |
||||
|
||||
case TOOL_STUDENTPUBLICATION: |
||||
|
||||
echo $_SESSION['oLP']->display_manipulate($new_item_id, $_GET['type']); |
||||
|
||||
echo '<div class="lp_message" style="margin:3px 10px;">'; |
||||
|
||||
echo get_lang("NewStudentPublicationCreated"); |
||||
|
||||
echo '</div>'; |
||||
|
||||
break; |
||||
|
||||
case 'module': |
||||
|
||||
echo $_SESSION['oLP']->display_manipulate($new_item_id, $_GET['type']); |
||||
|
||||
echo '<div class="lp_message" style="margin:3px 10px;">'; |
||||
|
||||
echo get_lang("NewModuleCreated"); |
||||
|
||||
echo '</div>'; |
||||
|
||||
break; |
||||
|
||||
case TOOL_QUIZ: |
||||
|
||||
echo $_SESSION['oLP']->display_manipulate($new_item_id, $_GET['type']); |
||||
|
||||
echo '<div class="lp_message" style="margin:3px 10px;">'; |
||||
|
||||
echo get_lang("NewExerciseCreated"); |
||||
|
||||
echo '</div>'; |
||||
|
||||
break; |
||||
|
||||
|
||||
case TOOL_DOCUMENT: |
||||
|
||||
$msg = '<div class="lp_message" style="margin-bottom:10px;">'; |
||||
|
||||
$msg .= get_lang("NewDocumentCreated"); |
||||
|
||||
$msg .= '</div>'; |
||||
|
||||
echo $_SESSION['oLP']->display_item($new_item_id, true, $msg); |
||||
|
||||
break; |
||||
|
||||
|
||||
case TOOL_FORUM: |
||||
echo $_SESSION['oLP']->display_manipulate($new_item_id, $_GET['type']); |
||||
|
||||
echo '<div class="lp_message" style="margin:3px 10px;">'; |
||||
|
||||
echo get_lang("NewForumCreated"); |
||||
|
||||
echo '</div>'; |
||||
|
||||
break; |
||||
|
||||
|
||||
case 'thread': |
||||
echo $_SESSION['oLP']->display_manipulate($new_item_id, $_GET['type']); |
||||
|
||||
echo '<div class="lp_message" style="margin:3px 10px;">'; |
||||
|
||||
echo get_lang("NewThreadCreated"); |
||||
|
||||
echo '</div>'; |
||||
|
||||
break; |
||||
|
||||
} |
||||
} |
||||
else |
||||
{ |
||||
switch($_GET['type']) |
||||
{ |
||||
case 'chapter': |
||||
|
||||
echo $_SESSION['oLP']->display_item_form($_GET['type'], get_lang("EnterDataNewChapter")); |
||||
|
||||
break; |
||||
|
||||
case 'module': |
||||
|
||||
echo $_SESSION['oLP']->display_item_form($_GET['type'], get_lang("EnterDataNewModule")); |
||||
|
||||
break; |
||||
|
||||
case 'document': |
||||
|
||||
if(isset($_GET['file']) && is_numeric($_GET['file'])) |
||||
{ |
||||
echo $_SESSION['oLP']->display_document_form('add', 0, $_GET['file']); |
||||
} |
||||
else |
||||
{ |
||||
echo $_SESSION['oLP']->display_document_form('add', 0); |
||||
} |
||||
|
||||
break; |
||||
|
||||
case 'hotpotatoes': |
||||
|
||||
echo $_SESSION['oLP']->display_hotpotatoes_form('add', 0, $_GET['file']); |
||||
|
||||
break; |
||||
|
||||
case 'quiz': |
||||
|
||||
echo $_SESSION['oLP']->display_quiz_form('add', 0, $_GET['file']); |
||||
|
||||
break; |
||||
|
||||
case 'forum': |
||||
|
||||
echo $_SESSION['oLP']->display_forum_form('add', 0, $_GET['forum_id']); |
||||
|
||||
break; |
||||
|
||||
case 'thread': |
||||
|
||||
echo $_SESSION['oLP']->display_thread_form('add', 0, $_GET['thread_id']); |
||||
|
||||
break; |
||||
|
||||
case 'link': |
||||
|
||||
echo $_SESSION['oLP']->display_link_form('add', 0, $_GET['file']); |
||||
|
||||
break; |
||||
|
||||
case 'student_publication': |
||||
|
||||
echo $_SESSION['oLP']->display_student_publication_form('add', 0, $_GET['file']); |
||||
|
||||
break; |
||||
|
||||
case 'step': |
||||
|
||||
echo $_SESSION['oLP']->display_resources(); |
||||
|
||||
break; |
||||
} |
||||
} |
||||
|
||||
echo '</td>'; |
||||
|
||||
echo '</tr>'; |
||||
|
||||
echo '</table>'; |
||||
|
||||
/* |
||||
============================================================================== |
||||
FOOTER |
||||
============================================================================== |
||||
*/ |
||||
Display::display_footer(); |
||||
?> |
||||
<?php |
||||
/* |
||||
============================================================================== |
||||
Dokeos - elearning and course management software |
||||
|
||||
Copyright (c) 2004 Dokeos S.A. |
||||
Copyright (c) 2003 Ghent University (UGent) |
||||
Copyright (c) 2001 Universite catholique de Louvain (UCL) |
||||
Copyright (c) Patrick Cool |
||||
Copyright (c) Denes Nagy |
||||
Copyright (c) Yannick Warnier |
||||
|
||||
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: Dokeos, 181 rue Royale, B-1000 Brussels, Belgium, info@dokeos.com |
||||
============================================================================== |
||||
*/ |
||||
/** |
||||
============================================================================== |
||||
* This is a learning path creation and player tool in Dokeos - previously |
||||
* learnpath_handler.php |
||||
* |
||||
* @author Patrick Cool |
||||
* @author Denes Nagy |
||||
* @author Roan Embrechts, refactoring and code cleaning |
||||
* @author Yannick Warnier <ywarnier@beeznest.org> - cleaning and update |
||||
* @package dokeos.learnpath |
||||
============================================================================== |
||||
*/ |
||||
|
||||
/* |
||||
============================================================================== |
||||
INIT SECTION |
||||
============================================================================== |
||||
*/ |
||||
$this_section=SECTION_COURSES; |
||||
|
||||
api_protect_course_script(); |
||||
|
||||
/* |
||||
----------------------------------------------------------- |
||||
Libraries |
||||
----------------------------------------------------------- |
||||
*/ |
||||
//the main_api.lib.php, database.lib.php and display.lib.php |
||||
//libraries are included by default |
||||
|
||||
include('learnpath_functions.inc.php'); |
||||
//include('../resourcelinker/resourcelinker.inc.php'); |
||||
include('resourcelinker.inc.php'); |
||||
//rewrite the language file, sadly overwritten by resourcelinker.inc.php |
||||
// name of the language file that needs to be included |
||||
$language_file = "learnpath"; |
||||
|
||||
/* |
||||
----------------------------------------------------------- |
||||
Header and action code |
||||
----------------------------------------------------------- |
||||
*/ |
||||
$htmlHeadXtra[] = ' |
||||
<script type="text/javascript"> |
||||
function launch_templates(){ |
||||
window.frames[0].FCKToolbarItems.GetItem("Templates").Click(); |
||||
} |
||||
</script>'; |
||||
|
||||
$htmlHeadXtra[] = $_SESSION['oLP']->create_js(); |
||||
/* |
||||
----------------------------------------------------------- |
||||
Constants and variables |
||||
----------------------------------------------------------- |
||||
*/ |
||||
$is_allowed_to_edit = api_is_allowed_to_edit(); |
||||
|
||||
$tbl_lp = Database::get_course_table('lp'); |
||||
$tbl_lp_item = Database::get_course_table('lp_item'); |
||||
$tbl_lp_view = Database::get_course_table('lp_view'); |
||||
|
||||
$isStudentView = (int) $_REQUEST['isStudentView']; |
||||
$learnpath_id = (int) $_REQUEST['lp_id']; |
||||
$submit = $_POST['submit_button']; |
||||
/* |
||||
$chapter_id = $_GET['chapter_id']; |
||||
$title = $_POST['title']; |
||||
$description = $_POST['description']; |
||||
$Submititem = $_POST['Submititem']; |
||||
$action = $_REQUEST['action']; |
||||
$id = (int) $_REQUEST['id']; |
||||
$type = $_REQUEST['type']; |
||||
$direction = $_REQUEST['direction']; |
||||
$moduleid = $_REQUEST['moduleid']; |
||||
$prereq = $_REQUEST['prereq']; |
||||
$type = $_REQUEST['type']; |
||||
*/ |
||||
/* |
||||
============================================================================== |
||||
MAIN CODE |
||||
============================================================================== |
||||
*/ |
||||
// using the resource linker as a tool for adding resources to the learning path |
||||
if ($action=="add" and $type=="learnpathitem") |
||||
{ |
||||
$htmlHeadXtra[] = "<script language='JavaScript' type='text/javascript'> window.location=\"../resourcelinker/resourcelinker.php?source_id=5&action=$action&learnpath_id=$learnpath_id&chapter_id=$chapter_id&originalresource=no\"; </script>"; |
||||
} |
||||
if ( (! $is_allowed_to_edit) or ($isStudentView) ) |
||||
{ |
||||
error_log('New LP - User not authorized in lp_add_item.php'); |
||||
header('location:lp_controller.php?action=view&lp_id='.$learnpath_id); |
||||
} |
||||
//from here on, we are admin because of the previous condition, so don't check anymore |
||||
|
||||
$sql_query = "SELECT * FROM $tbl_lp WHERE id = $learnpath_id"; |
||||
$result=api_sql_query($sql_query); |
||||
$therow=Database::fetch_array($result); |
||||
|
||||
//$admin_output = ''; |
||||
/* |
||||
----------------------------------------------------------- |
||||
Course admin section |
||||
- all the functions not available for students - always available in this case (page only shown to admin) |
||||
----------------------------------------------------------- |
||||
*/ |
||||
/*================================================== |
||||
SHOWING THE ADMIN TOOLS |
||||
==================================================*/ |
||||
|
||||
$interbreadcrumb[]= array ("url"=>"lp_controller.php?action=list", "name"=> get_lang("_learning_path")); |
||||
$interbreadcrumb[]= array ("url"=>api_get_self()."?action=build&lp_id=$learnpath_id", "name" => stripslashes("{$therow['name']}")); |
||||
|
||||
switch($_GET['type']){ |
||||
case 'chapter': |
||||
$interbreadcrumb[]= array ("url"=>"#", "name" => get_lang("NewChapter")); |
||||
break; |
||||
default: |
||||
$interbreadcrumb[]= array ("url"=>"#", "name" => get_lang("NewStep")); |
||||
break; |
||||
} |
||||
|
||||
//Theme calls |
||||
$show_learn_path=true; |
||||
$lp_theme_css=$_SESSION['oLP']->get_theme(); |
||||
|
||||
Display::display_header(null,'Path'); |
||||
//api_display_tool_title($therow['name']); |
||||
|
||||
$suredel = get_lang('AreYouSureToDelete'); |
||||
$suredelstep = get_lang('AreYouSureToDeleteSteps'); |
||||
?> |
||||
<script type='text/javascript'> |
||||
/* <![CDATA[ */ |
||||
function confirmation (name) |
||||
{ |
||||
if (name!='Users' && name!='Assignments' && name!='Document' && name!='Forum' && name!='Agenda' && name!='Groups' && name!='Link _self' && name!='Dropbox' && name!='Course_description' && name!='Exercise' && name!='Introduction_text') |
||||
{ |
||||
if (confirm("<?php echo $suredel; ?> "+ name + " <?php echo $suredelstep;?>?"))
|
||||
{return true;} |
||||
else |
||||
{return false;} |
||||
} |
||||
else |
||||
{ |
||||
if (confirm("<?php echo $suredel; ?> "+ name + "?"))
|
||||
{return true;} |
||||
else |
||||
{return false;} |
||||
} |
||||
} |
||||
</script> |
||||
<?php |
||||
|
||||
//echo $admin_output; |
||||
|
||||
/* |
||||
----------------------------------------------------------- |
||||
DISPLAY SECTION |
||||
----------------------------------------------------------- |
||||
*/ |
||||
echo '<table cellpadding="0" cellspacing="0" class="lp_build">'; |
||||
|
||||
echo '<tr>'; |
||||
|
||||
echo '<td class="tree">'; |
||||
|
||||
echo '<p style="border-bottom:1px solid #999999; margin:0; padding:2px;">'.get_lang("Build").' <a href="' .api_get_self(). '?cidReq=' . $_GET['cidReq'] . '&action=admin_view&lp_id=' . $_SESSION['oLP']->lp_id . '">'.get_lang("BasicOverview").'</a> <a href="lp_controller.php?cidReq='.$_GET['cidReq'].'&action=view&lp_id='.$_SESSION['oLP']->lp_id.'">'.get_lang("Display").'</a></p>'; |
||||
|
||||
//links for adding a module, chapter or step |
||||
echo '<div class="lp_actions">'; |
||||
|
||||
echo '<p class="lp_action">'; |
||||
|
||||
echo '<a href="' .api_get_self(). '?cidReq=' . $_GET['cidReq'] . '&action=add_item&type=chapter&lp_id=' . $_SESSION['oLP']->lp_id . '" title="'.get_lang("NewChapter").'"><img align="left" alt="'.get_lang("NewChapter").'" src="../img/lp_dokeos_chapter_add.png" title="'.get_lang("NewChapter").'" />'.get_lang("NewChapter").'</a>'; |
||||
|
||||
echo '</p>'; |
||||
echo '<p class="lp_action">'; |
||||
|
||||
echo '<a href="' .api_get_self(). '?cidReq=' . $_GET['cidReq'] . '&action=add_item&type=step&lp_id=' . $_SESSION['oLP']->lp_id . '" title="'.get_lang("NewStep").'"><img align="left" alt="'.get_lang("NewStep").'" src="../img/lp_dokeos_step_add.png" title="'.get_lang("NewStep").'" />'.get_lang("NewStep").'</a>'; |
||||
|
||||
echo '</p>'; |
||||
|
||||
echo '</div>'; |
||||
|
||||
echo '<div class="lp_tree">'; |
||||
|
||||
//build the tree with the menu items in it |
||||
echo $_SESSION['oLP']->build_tree(); |
||||
|
||||
echo '</div>'; |
||||
|
||||
echo '</td>'; |
||||
echo '<td class="workspace">'; |
||||
|
||||
if(isset($new_item_id) && is_numeric($new_item_id)) |
||||
{ |
||||
switch($_GET['type']) |
||||
{ |
||||
|
||||
case 'chapter': |
||||
|
||||
echo $_SESSION['oLP']->display_manipulate($new_item_id, $_GET['type']); |
||||
|
||||
echo '<div class="lp_message" style="margin:3px 10px;">'; |
||||
|
||||
echo get_lang("NewChapterCreated"); |
||||
|
||||
echo '</div>'; |
||||
|
||||
break; |
||||
|
||||
case TOOL_LINK: |
||||
|
||||
echo $_SESSION['oLP']->display_manipulate($new_item_id, $_GET['type']); |
||||
|
||||
echo '<div class="lp_message" style="margin:3px 10px;">'; |
||||
|
||||
echo get_lang("NewLinksCreated"); |
||||
|
||||
echo '</div>'; |
||||
|
||||
break; |
||||
|
||||
case TOOL_STUDENTPUBLICATION: |
||||
|
||||
echo $_SESSION['oLP']->display_manipulate($new_item_id, $_GET['type']); |
||||
|
||||
echo '<div class="lp_message" style="margin:3px 10px;">'; |
||||
|
||||
echo get_lang("NewStudentPublicationCreated"); |
||||
|
||||
echo '</div>'; |
||||
|
||||
break; |
||||
|
||||
case 'module': |
||||
|
||||
echo $_SESSION['oLP']->display_manipulate($new_item_id, $_GET['type']); |
||||
|
||||
echo '<div class="lp_message" style="margin:3px 10px;">'; |
||||
|
||||
echo get_lang("NewModuleCreated"); |
||||
|
||||
echo '</div>'; |
||||
|
||||
break; |
||||
|
||||
case TOOL_QUIZ: |
||||
|
||||
echo $_SESSION['oLP']->display_manipulate($new_item_id, $_GET['type']); |
||||
|
||||
echo '<div class="lp_message" style="margin:3px 10px;">'; |
||||
|
||||
echo get_lang("NewExerciseCreated"); |
||||
|
||||
echo '</div>'; |
||||
|
||||
break; |
||||
|
||||
|
||||
case TOOL_DOCUMENT: |
||||
|
||||
$msg = '<div class="lp_message" style="margin-bottom:10px;">'; |
||||
|
||||
$msg .= get_lang("NewDocumentCreated"); |
||||
|
||||
$msg .= '</div>'; |
||||
|
||||
echo $_SESSION['oLP']->display_item($new_item_id, true, $msg); |
||||
|
||||
break; |
||||
|
||||
|
||||
case TOOL_FORUM: |
||||
echo $_SESSION['oLP']->display_manipulate($new_item_id, $_GET['type']); |
||||
|
||||
echo '<div class="lp_message" style="margin:3px 10px;">'; |
||||
|
||||
echo get_lang("NewForumCreated"); |
||||
|
||||
echo '</div>'; |
||||
|
||||
break; |
||||
|
||||
|
||||
case 'thread': |
||||
echo $_SESSION['oLP']->display_manipulate($new_item_id, $_GET['type']); |
||||
|
||||
echo '<div class="lp_message" style="margin:3px 10px;">'; |
||||
|
||||
echo get_lang("NewThreadCreated"); |
||||
|
||||
echo '</div>'; |
||||
|
||||
break; |
||||
|
||||
} |
||||
} |
||||
else |
||||
{ |
||||
switch($_GET['type']) |
||||
{ |
||||
case 'chapter': |
||||
|
||||
echo $_SESSION['oLP']->display_item_form($_GET['type'], get_lang("EnterDataNewChapter")); |
||||
|
||||
break; |
||||
|
||||
case 'module': |
||||
|
||||
echo $_SESSION['oLP']->display_item_form($_GET['type'], get_lang("EnterDataNewModule")); |
||||
|
||||
break; |
||||
|
||||
case 'document': |
||||
|
||||
if(isset($_GET['file']) && is_numeric($_GET['file'])) |
||||
{ |
||||
echo $_SESSION['oLP']->display_document_form('add', 0, $_GET['file']); |
||||
} |
||||
else |
||||
{ |
||||
echo $_SESSION['oLP']->display_document_form('add', 0); |
||||
} |
||||
|
||||
break; |
||||
|
||||
case 'hotpotatoes': |
||||
|
||||
echo $_SESSION['oLP']->display_hotpotatoes_form('add', 0, $_GET['file']); |
||||
|
||||
break; |
||||
|
||||
case 'quiz': |
||||
|
||||
echo $_SESSION['oLP']->display_quiz_form('add', 0, $_GET['file']); |
||||
|
||||
break; |
||||
|
||||
case 'forum': |
||||
|
||||
echo $_SESSION['oLP']->display_forum_form('add', 0, $_GET['forum_id']); |
||||
|
||||
break; |
||||
|
||||
case 'thread': |
||||
|
||||
echo $_SESSION['oLP']->display_thread_form('add', 0, $_GET['thread_id']); |
||||
|
||||
break; |
||||
|
||||
case 'link': |
||||
|
||||
echo $_SESSION['oLP']->display_link_form('add', 0, $_GET['file']); |
||||
|
||||
break; |
||||
|
||||
case 'student_publication': |
||||
|
||||
echo $_SESSION['oLP']->display_student_publication_form('add', 0, $_GET['file']); |
||||
|
||||
break; |
||||
|
||||
case 'step': |
||||
|
||||
echo $_SESSION['oLP']->display_resources(); |
||||
|
||||
break; |
||||
} |
||||
} |
||||
|
||||
echo '</td>'; |
||||
|
||||
echo '</tr>'; |
||||
|
||||
echo '</table>'; |
||||
|
||||
/* |
||||
============================================================================== |
||||
FOOTER |
||||
============================================================================== |
||||
*/ |
||||
Display::display_footer(); |
||||
?> |
||||