diff options
-rw-r--r-- | coc.html | 1 | ||||
-rw-r--r-- | index.html | 1 | ||||
-rw-r--r-- | signup.html | 1 | ||||
-rw-r--r-- | stats.php | 3 | ||||
-rwxr-xr-x | submit.php | 5 | ||||
-rw-r--r-- | wiki.php | 7 |
6 files changed, 12 insertions, 6 deletions
diff --git a/coc.html b/coc.html index ba02037..498eaf2 100644 --- a/coc.html +++ b/coc.html @@ -2,6 +2,7 @@ <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <meta name="viewport" content="width=device-width, initial-scale=1" /> <title>tilde.institute :: Code of Conduct</title> <link rel="stylesheet" href="tilde.css" type="text/css"/> <link rel="icon" type="image/png" href="icon.png"/> diff --git a/index.html b/index.html index 61e4ebb..5137362 100644 --- a/index.html +++ b/index.html @@ -2,6 +2,7 @@ <html xmlns="http://www.w3.org/1999/" lang="en" xml:lang="en"> <head> <meta http-equiv="Content-Type" content="text; charset=utf-8" /> + <meta name="viewport" content="width=device-width, initial-scale=1" /> <title>tilde.institute :: OpenBSD Education</title> <link rel="stylesheet" href="tilde.css" type="text/css"/> <link rel="icon" type="image/png" href="icon.png"/> diff --git a/signup.html b/signup.html index ea64f21..1630678 100644 --- a/signup.html +++ b/signup.html @@ -2,6 +2,7 @@ <html xmlns="http://www.w3.org/1999/" lang="en" xml:lang="en"> <head> <meta http-equiv="Content-Type" content="text; charset=utf-8" /> + <meta name="viewport" content="width=device-width, initial-scale=1" /> <title>tilde.institute :: Sign Up</title> <link rel="stylesheet" href="tilde.css" type="text/css"/> <link rel="icon" type="image/png" href="icon.png"/> diff --git a/stats.php b/stats.php index 104a753..1571d86 100644 --- a/stats.php +++ b/stats.php @@ -2,6 +2,7 @@ <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <meta name="viewport" content="width=device-width, initial-scale=1" /> <title>tilde.institute :: Stats</title> <link rel="stylesheet" href="tilde.css" type="text/css"/> <link rel="icon" type="image/png" href="icon.png"/> @@ -13,7 +14,7 @@ <div id="logobyline"> of OpenBSD Education </div> - </div> + </div> <div id="navigation"> <a href="http://tilde.institute">News</a> :: <a href="/signup">Sign Up</a> :: <a href="/coc">Code of Conduct</a> :: <a href="https://tilde.zone/@tildeinstitute">Mastodon</a> :: <a href="/wiki">Wiki</a> :: <a href="https://tildegit.org/institute">Git</a> :: <a href="/stats">Stats</a> </div> diff --git a/submit.php b/submit.php index 8114ffc..bb1e2c3 100755 --- a/submit.php +++ b/submit.php @@ -2,6 +2,7 @@ <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <meta name="viewport" content="width=device-width, initial-scale=1" /> <title>tilde.institute :: Sign Up</title> <link rel="stylesheet" href="tilde.css" type="text/css"/> <link rel="icon" type="image/png" href="icon.png"/> @@ -13,7 +14,7 @@ <div id="logobyline"> of OpenBSD Education </div> - </div> + </div> <div id="navigation"> <a href="http://tilde.institute">News</a> :: <a href="/signup">Sign Up</a> :: <a href="/coc">Code of Conduct</a> :: <a href="https://tilde.zone/@tildeinstitute">Mastodon</a> :: <a href="/wiki">Wiki</a> :: <a href="https://tildegit.org/institute">Git</a> :: <a href="/stats">Stats</a> </div> @@ -115,7 +116,7 @@ if (isset($_REQUEST["username"]) && isset($_REQUEST["email"])) { $email = $_REQUEST["email"]; $interest = $_REQUEST["interest"]; $sshkey = $_REQUEST["sshkey"]; - + $newuserfile = fopen("newusers.dat", "a"); fwrite($newuserfile, "$username $email \"$sshkey\"\n\n"); fclose($newuserfile); diff --git a/wiki.php b/wiki.php index 63a5ab1..2661699 100644 --- a/wiki.php +++ b/wiki.php @@ -2,6 +2,7 @@ <html xmlns="http://www.w3.org/1999/" lang="en" xml:lang="en"> <head> <meta http-equiv="Content-Type" content="text; charset=utf-8" /> + <meta name="viewport" content="width=device-width, initial-scale=1" /> <title>tilde.institute :: Wiki</title> <link rel="stylesheet" href="tilde.css" type="text/css"/> <link rel="icon" type="image/png" href="icon.png"/> @@ -13,18 +14,18 @@ <div id="logobyline"> of OpenBSD Education </div> - </div> + </div> <div id="navigation"> <a href="http://tilde.institute">News</a> :: <a href="/signup">Sign Up</a> :: <a href="/coc">Code of Conduct</a> :: <a href="https://tilde.zone/@tildeinstitute">Mastodon</a> :: <a href="/wiki">Wiki</a> :: <a href="https://tildegit.org/institute">Git</a> :: <a href="/stats">Stats</a> </div> <div id="content"> - <?php + <?php if (!isset($_GET["page"]) || !file_exists("wikipages/{$_GET['page']}.wiki")) { ?> <h2>~institute wiki</h2> <p>Welcome to the tilde.institute wiki</p> - + <p>If you are new here, you likely want to check out the <a href="wiki.php?page=gettingstartedcommands">"getting started" page</a>"</p> <p>If you know your way around and want to contribute to the wiki, check out the |