-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathgroup.php
More file actions
27 lines (26 loc) · 664 Bytes
/
group.php
File metadata and controls
27 lines (26 loc) · 664 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?php
use \Tsugi\Core\LTIX;
use \Tsugi\UI\Output;
require_once "top.php";
require_once "nav.php";
?>
<?php if ( isset($_SESSION['id']) ) { ?>
<iframe id="forum_embed"
src="javascript:void(0)"
scrolling="no"
frameborder="0"
width="900"
height="700">
</iframe>
<script type="text/javascript">
document.getElementById('forum_embed').src =
'https://groups.google.com/forum/embed/?place=forum/python-for-everybody'
+ '&showsearch=true&showpopout=true&showtabs=false'
+ '&parenturl=' + encodeURIComponent(window.location.href);
</script>
<?php } else { ?>
<p>
Please log in to use the groups feature.
</p>
<?php } ?>
<?php $OUTPUT->footer();