@@ -119,12 +119,12 @@ public function print_multiple_section_page($course, $sections, $mods, $modnames
119
119
echo html_writer::start_tag ('div ' , array ('id ' => 'gridiconcontainer ' , 'role ' => 'navigation ' ,
120
120
'aria-label ' => get_string ('gridimagecontainer ' , 'format_grid ' )));
121
121
echo html_writer::start_tag ('ul ' , array ('class ' => 'gridicons ' ));
122
- // Print all of the imaege containers.
122
+ // Print all of the image containers.
123
123
$ this ->make_block_icon_topics ($ context ->id , $ modinfo , $ course , $ editing , $ hascapvishidsect , $ urlpicedit );
124
124
echo html_writer::end_tag ('ul ' );
125
125
echo html_writer::end_tag ('div ' );
126
126
echo html_writer::start_tag ('div ' , array ('id ' => 'gridshadebox ' ));
127
- echo html_writer::tag ('div ' , '' , array ('id ' => 'gridshadebox_overlay ' , 'style ' => 'display:none; ' ));
127
+ echo html_writer::tag ('div ' , '' , array ('id ' => 'gridshadebox_overlay ' , 'style ' => 'display: none; ' ));
128
128
echo html_writer::start_tag ('div ' , array ('id ' => 'gridshadebox_content ' , 'class ' => 'hide_content ' ,
129
129
'role ' => 'region ' ,
130
130
'aria-label ' => get_string ('shadeboxcontent ' , 'format_grid ' )));
@@ -140,7 +140,7 @@ public function print_multiple_section_page($course, $sections, $mods, $modnames
140
140
default :
141
141
break ;
142
142
}
143
- echo html_writer::tag ('img ' , '' , array ('id ' => 'gridshadebox_close ' , 'style ' => 'display:none; ' ,
143
+ echo html_writer::tag ('img ' , '' , array ('id ' => 'gridshadebox_close ' , 'style ' => 'display: none; ' ,
144
144
'class ' => $ deviceextra ,
145
145
'src ' => $ this ->output ->pix_url ('close ' , 'format_grid ' ),
146
146
'role ' => 'link ' ,
@@ -150,13 +150,15 @@ public function print_multiple_section_page($course, $sections, $mods, $modnames
150
150
if (($ course ->numsections > 1 ) || (($ course ->numsections == 1 ) && (!$ this ->topic0_at_top ))) {
151
151
echo html_writer::start_tag ('div ' , array ('id ' => 'gridshadebox_left ' ,
152
152
'class ' => 'gridshadebox_left_area ' ,
153
+ 'style ' => 'display: none; ' ,
153
154
'role ' => 'link ' ,
154
155
'aria-label ' => get_string ('previoussection ' , 'format_grid ' )));
155
156
echo html_writer::tag ('img ' , '' , array ('class ' => 'gridshadebox_arrow gridshadebox_left ' .$ deviceextra ,
156
157
'src ' => $ this ->output ->pix_url ('fa-arrow-circle-left-w ' , 'format_grid ' )));
157
158
echo html_writer::end_tag ('div ' );
158
159
echo html_writer::start_tag ('div ' , array ('id ' => 'gridshadebox_right ' ,
159
160
'class ' => 'gridshadebox_right_area ' ,
161
+ 'style ' => 'display: none; ' ,
160
162
'role ' => 'link ' ,
161
163
'aria-label ' => get_string ('nextsection ' , 'format_grid ' )));
162
164
echo html_writer::tag ('img ' , '' , array ('class ' => 'gridshadebox_arrow gridshadebox_right ' .$ deviceextra ,
0 commit comments