mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 17:06:53 +02:00
Very minor changes
This commit is contained in:
parent
68a1e8fbba
commit
831f6613a8
1 changed files with 2 additions and 4 deletions
|
@ -55,10 +55,6 @@
|
||||||
"</a></td></tr></table>\n", 'center');
|
"</a></td></tr></table>\n", 'center');
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
|
|
||||||
// TODO: Check to make sure pages is set?
|
|
||||||
|
|
||||||
// Set some standard variables
|
// Set some standard variables
|
||||||
$pageid = $firstpage->id;
|
$pageid = $firstpage->id;
|
||||||
$prevpageid = 0;
|
$prevpageid = 0;
|
||||||
|
@ -97,6 +93,7 @@
|
||||||
|
|
||||||
print_table($table);
|
print_table($table);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'single':
|
case 'single':
|
||||||
// Only viewing a single page in full - change some variables to display just one
|
// Only viewing a single page in full - change some variables to display just one
|
||||||
$prevpageid = $singlepage->prevpageid;
|
$prevpageid = $singlepage->prevpageid;
|
||||||
|
@ -104,6 +101,7 @@
|
||||||
|
|
||||||
$pages = array();
|
$pages = array();
|
||||||
$pages[$singlepage->id] = $singlepage;
|
$pages[$singlepage->id] = $singlepage;
|
||||||
|
|
||||||
case 'full':
|
case 'full':
|
||||||
echo '<table align="center" cellpadding="5" border="0" width="80%">
|
echo '<table align="center" cellpadding="5" border="0" width="80%">
|
||||||
<tr>
|
<tr>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue