Compare commits
3 Commits
b750e83be0
...
aec8caa11a
Author | SHA1 | Date |
---|---|---|
![]() |
aec8caa11a | |
![]() |
2f6b6d09de | |
![]() |
be97370acb |
|
@ -7,6 +7,7 @@ Macros that insert templates
|
||||||
- `%BANNER_COOKIES%` the cookie banner (requires PHP)
|
- `%BANNER_COOKIES%` the cookie banner (requires PHP)
|
||||||
### [pass1_misc.json](./pass1_misc.json)
|
### [pass1_misc.json](./pass1_misc.json)
|
||||||
Miscellaneous macros
|
Miscellaneous macros
|
||||||
|
- `%FAVICON%` links the tab icon (HTML <head> section)
|
||||||
- `%STYLESHEET%` links stylesheet (HTML <head> section)
|
- `%STYLESHEET%` links stylesheet (HTML <head> section)
|
||||||
- `%PLEAZE_NO_CACHE%` tell the browser not to cache this page (PHP, before any data is sent to the client)
|
- `%PLEAZE_NO_CACHE%` tell the browser not to cache this page (PHP, before any data is sent to the client)
|
||||||
- `%COLOR_BEIGE%`, `%COLOR_ORANGE%`, `%COLOR_BLUE%`, `%COLOR_PINK%`, `%COLOR_CYAN%` color codes, format: #XXXXXX
|
- `%COLOR_BEIGE%`, `%COLOR_ORANGE%`, `%COLOR_BLUE%`, `%COLOR_PINK%`, `%COLOR_CYAN%` color codes, format: #XXXXXX
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
{
|
{
|
||||||
|
"FAVICON":"<link rel="icon" type="image/png" href="%CONTENT_DIR%/img/favicon-32x32.png" sizes="32x32" />",
|
||||||
"STYLESHEET":"<link rel=\"stylesheet\" type=\"text\/css\" href=\"%CONTENT_DIR%\/style.css\">",
|
"STYLESHEET":"<link rel=\"stylesheet\" type=\"text\/css\" href=\"%CONTENT_DIR%\/style.css\">",
|
||||||
"PLEAZE_NO_CACHE":"header('Cache-Control: no-cache, no-store, must-revalidate');header('Pragma: no-cache');header('Expires: 0');",
|
"PLEAZE_NO_CACHE":"header('Cache-Control: no-cache, no-store, must-revalidate');header('Pragma: no-cache');header('Expires: 0');",
|
||||||
"COLOR_BEIGE":"#fef6e4", "COLOR_ORANGE":"#f3d2c1", "COLOR_BLUE":"#001858", "COLOR_PINK":"#f582ae", "COLOR_CYAN":"#8bd3dd"
|
"COLOR_BEIGE":"#fef6e4", "COLOR_ORANGE":"#f3d2c1", "COLOR_BLUE":"#001858", "COLOR_PINK":"#f582ae", "COLOR_CYAN":"#8bd3dd"
|
||||||
|
|
|
@ -12,7 +12,7 @@ $navbar="about";
|
||||||
ThreadR - About Us
|
ThreadR - About Us
|
||||||
</title>
|
</title>
|
||||||
%STYLESHEET%
|
%STYLESHEET%
|
||||||
<link rel="icon" type="image/png" href="%CONTENT_DIR%/img/favicon-32x32.png" sizes="32x32" />
|
%FAVICON%
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
|
@ -11,7 +11,7 @@ $id=$_GET['id'];
|
||||||
<head>
|
<head>
|
||||||
<title>ThreadR - Boards</title>
|
<title>ThreadR - Boards</title>
|
||||||
%STYLESHEET%
|
%STYLESHEET%
|
||||||
<link rel="icon" type="image/png" href="%CONTENT_DIR%/img/favicon-32x32.png" sizes="32x32" />
|
%FAVICON%
|
||||||
<?php
|
<?php
|
||||||
if(isset($_GET['action'])) {
|
if(isset($_GET['action'])) {
|
||||||
if ($_GET['action']=='submit') {
|
if ($_GET['action']=='submit') {
|
||||||
|
|
|
@ -10,14 +10,16 @@ $navbar="boards";
|
||||||
<head>
|
<head>
|
||||||
<title>ThreadR - Boards</title>
|
<title>ThreadR - Boards</title>
|
||||||
%STYLESHEET%
|
%STYLESHEET%
|
||||||
<link rel="icon" type="image/png" href="%CONTENT_DIR%/img/favicon-32x32.png" sizes="32x32" />
|
%FAVICON%
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
%NAVBAR%
|
%NAVBAR%
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="item-1">
|
<div class="item-1">
|
||||||
<h1><center>ThreadR Boards</center></h1>
|
<h1>
|
||||||
|
<center>ThreadR Boards</center>
|
||||||
|
</h1>
|
||||||
</div>
|
</div>
|
||||||
<div class="item-2">
|
<div class="item-2">
|
||||||
<ul class="list">
|
<ul class="list">
|
||||||
|
|
|
@ -11,7 +11,7 @@ $navbar="home";
|
||||||
<head>
|
<head>
|
||||||
<title>ThreadR - Home</title>
|
<title>ThreadR - Home</title>
|
||||||
%STYLESHEET%
|
%STYLESHEET%
|
||||||
<link rel="icon" type="image/png" href="%CONTENT_DIR%/img/favicon-32x32.png" sizes="32x32" />
|
%FAVICON%
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
|
@ -11,7 +11,7 @@ if (isset($_SESSION['user_id'])){
|
||||||
<head>
|
<head>
|
||||||
<title>ThreadR - Log In</title>
|
<title>ThreadR - Log In</title>
|
||||||
%STYLESHEET%
|
%STYLESHEET%
|
||||||
<link rel="icon" type="image/png" href="%CONTENT_DIR%/img/favicon-32x32.png" sizes="32x32" />
|
%FAVICON%
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
|
@ -8,7 +8,7 @@ $navbar = "logout";
|
||||||
<head>
|
<head>
|
||||||
<title>ThreadR - Home</title>
|
<title>ThreadR - Home</title>
|
||||||
%STYLESHEET%
|
%STYLESHEET%
|
||||||
<link rel="icon" type="image/png" href="%CONTENT_DIR%/img/favicon-32x32.png" sizes="32x32" />
|
%FAVICON%
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
|
@ -10,7 +10,7 @@ $navbar = "news";
|
||||||
<head>
|
<head>
|
||||||
<title>ThreadR - News</title>
|
<title>ThreadR - News</title>
|
||||||
%STYLESHEET%
|
%STYLESHEET%
|
||||||
<link rel="icon" type="image/png" href="%CONTENT_DIR%/img/favicon-32x32.png" sizes="32x32" />
|
%FAVICON%
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
|
@ -26,7 +26,7 @@ $navbar = "profile";
|
||||||
<head>
|
<head>
|
||||||
<title>ThreadR - Profile</title>
|
<title>ThreadR - Profile</title>
|
||||||
%STYLESHEET%
|
%STYLESHEET%
|
||||||
<link rel="icon" type="image/png" href="%CONTENT_DIR%/img/favicon-32x32.png" sizes="32x32" />
|
%FAVICON%
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
|
@ -9,7 +9,7 @@ $navbar = "signup";
|
||||||
<head>
|
<head>
|
||||||
<title>ThreadR - Sign Up</title>
|
<title>ThreadR - Sign Up</title>
|
||||||
%STYLESHEET%
|
%STYLESHEET%
|
||||||
<link rel="icon" type="image/png" href="%CONTENT_DIR%/img/favicon-32x32.png" sizes="32x32" />
|
%FAVICON%
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
|
@ -34,7 +34,7 @@ $navbar = "verify-email";
|
||||||
<head>
|
<head>
|
||||||
<title>ThreadR - Verification</title>
|
<title>ThreadR - Verification</title>
|
||||||
%STYLESHEET%
|
%STYLESHEET%
|
||||||
<link rel="icon" type="image/png" href="%CONTENT_DIR%/img/favicon-32x32.png" sizes="32x32" />
|
%FAVICON%
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
|
@ -25,7 +25,7 @@ $navbar = "home";
|
||||||
<head>
|
<head>
|
||||||
<title>ThreadR</title>
|
<title>ThreadR</title>
|
||||||
%STYLESHEET%
|
%STYLESHEET%
|
||||||
<link rel="icon" type="image/png" href="%CONTENT_DIR%/img/favicon-32x32.png" sizes="32x32" />
|
%FAVICON%
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
Loading…
Reference in New Issue