MDL-9378 New visualisation for SCORM - modify CSS class names to make them more specific. sorry to commit so close to review day, just fixing a regression - 1.8.
This commit is contained in:
@@ -522,7 +522,7 @@ function scorm_view_display ($user, $scorm, $action, $cm, $boxwidth='') {
|
||||
if ($orgs = get_records_select_menu('scorm_scoes',"scorm='$scorm->id' AND organization='' AND launch=''",'id','id,title')) {
|
||||
if (count($orgs) > 1) {
|
||||
?>
|
||||
<div class='center'>
|
||||
<div class='scorm-center'>
|
||||
<?php print_string('organizations','scorm') ?>
|
||||
<form id='changeorg' method='post' action='<?php echo $action ?>'>
|
||||
<?php choose_from_menu($orgs, 'organization', "$organization", '','submit()') ?>
|
||||
@@ -563,7 +563,7 @@ function scorm_view_display ($user, $scorm, $action, $cm, $boxwidth='') {
|
||||
print_simple_box_end();
|
||||
|
||||
?>
|
||||
<div class="center">
|
||||
<div class="scorm-center">
|
||||
<form id="theform" method="post" action="<?php echo $CFG->wwwroot ?>/mod/scorm/player.php?scoid=<?php echo $sco->id ?>&id=<?php echo $cm->id ?>"<?php echo $scorm->popup == 1?' target="newwin"':'' ?>>
|
||||
<?php
|
||||
if ($scorm->hidebrowse == 0) {
|
||||
|
||||
@@ -258,12 +258,12 @@
|
||||
) {
|
||||
?>
|
||||
<div id="scormtop">
|
||||
<?php echo $mode == 'browse' ? '<div id="scormmode" class="left">'.get_string('browsemode','scorm')."</div>\n" : ''; ?>
|
||||
<?php echo $mode == 'review' ? '<div id="scormmode" class="left">'.get_string('reviewmode','scorm')."</div>\n" : ''; ?>
|
||||
<?php echo $mode == 'browse' ? '<div id="scormmode" class="scorm-left">'.get_string('browsemode','scorm')."</div>\n" : ''; ?>
|
||||
<?php echo $mode == 'review' ? '<div id="scormmode" class="scorm-left">'.get_string('reviewmode','scorm')."</div>\n" : ''; ?>
|
||||
<?php
|
||||
if (($scorm->hidenav == 0) || ($scorm->hidetoc == 2) || ($scorm->hidetoc == 1)) {
|
||||
?>
|
||||
<div id="scormnav" class="right">
|
||||
<div id="scormnav" class="scorm-right">
|
||||
<?php
|
||||
$orgstr = '&currentorg='.$currentorg;
|
||||
if (($scorm->hidenav == 0) && ($sco->previd != 0) && ($sco->previous == 0) && (($scorm->hidetoc == 2) || ($scorm->hidetoc == 1)) ) {
|
||||
@@ -309,7 +309,7 @@
|
||||
<?php
|
||||
} // The end of the very big test
|
||||
?>
|
||||
<div id="scormobject" class="right">
|
||||
<div id="scormobject" class="scorm-right">
|
||||
<noscript>
|
||||
<div id="noscript">
|
||||
<?php print_string('noscriptnoscorm','scorm'); // No Martin(i), No Party ;-) ?>
|
||||
|
||||
@@ -22,19 +22,19 @@
|
||||
|
||||
}
|
||||
|
||||
.mod-scorm .left {
|
||||
.mod-scorm .scorm-left {
|
||||
|
||||
text-align: left;
|
||||
|
||||
}
|
||||
|
||||
.mod-scorm .center {
|
||||
.mod-scorm .scorm-center {
|
||||
|
||||
text-align: center;
|
||||
|
||||
}
|
||||
|
||||
.mod-scorm .right {
|
||||
.mod-scorm .scorm-right {
|
||||
|
||||
text-align: right;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user