Skip to content

Commit 20c8cab

Browse files
committed
Updates.
1 parent 59f4da3 commit 20c8cab

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

buildmenu.php

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ function buildMenu() {
1818
if ( isset($_SESSION['id']) ) {
1919
$submenu = new \Tsugi\UI\Menu();
2020
$submenu->addLink('Playground', $R.'play');
21+
$submenu->addLink('Status', "https://status.cc4e.com");
2122
$submenu->addLink('Online Compilers', $R.'compilers');
2223
$set->addLeft('Write C', $submenu);
2324
$submenu = new \Tsugi\UI\Menu();

compilers.php

+2
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,5 @@
3131
the source code for this file</a>
3232
and send a GitHub Pull Request.
3333
</p>
34+
<?php
35+
require_once "footer.php";

play.php

+4-3
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,10 @@
9292
<body>
9393
<p>
9494
<?php if ( $LOGGED_IN ) { ?>
95-
This is the <a href="index.php">www.cc4e.com</a> code playground for writing C programs
96-
It is a very limited environment - you can find more full-featured
97-
C compilers <a href="compilers.php">online</a>.
95+
This is the <a href="index.php">www.cc4e.com</a> code playground for writing C programs.
96+
You can also check
97+
<a href="https://status.cc4e.com" target="_blank">recent status</a> of this
98+
compiler page.
9899
<?php
99100
if ( U::get($_REQUEST, "sample", null) != null ) {
100101
echo(' Note that not all of the sample programs in the book compile and run using a modern compiler.');

0 commit comments

Comments
 (0)