Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MDL-33118 theme_mymobile: changed MAIN_CONTENT_TOKEN in layout/embedd…

…ed.php to new format
  • Loading branch information...
commit bb61c874bbc4f4f97ae48a8ce19a505af4e72610 1 parent 14fdcb4
@lazydaisy lazydaisy authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 theme/mymobile/layout/embedded.php
View
6 theme/mymobile/layout/embedded.php
@@ -52,7 +52,7 @@
<!-- END OF HEADER -->
<?php if ($mypagetype == 'mod-chat-gui_ajax-index') { ?>
<div data-role="page" id="chatpage" data-fullscreen="true" data-title="<?php p($SITE->shortname) ?>">
- <?php echo core_renderer::MAIN_CONTENT_TOKEN ?>
+ <?php echo $OUTPUT->main_content(); ?>
<input type="button" value="back" data-role="none" id="chatback" onClick="history.back()">
</div>
<?php } else { ?>
@@ -64,11 +64,11 @@
<?php } ?>
</div>
<div data-role="content" data-theme="<?php echo $databodytheme;?>">
- <?php echo core_renderer::MAIN_CONTENT_TOKEN ?>
+ <?php echo $OUTPUT->main_content(); ?>
</div>
</div>
<?php } ?>
<!-- START OF FOOTER -->
<?php echo $OUTPUT->standard_end_of_body_html() ?>
</body>
-</html>
Please sign in to comment.
Something went wrong with that request. Please try again.