From a712e41cd8110ed869803559710192682abcc080 Mon Sep 17 00:00:00 2001 From: Anton McClure Date: Sun, 3 Jan 2021 23:44:59 +0000 Subject: [PATCH] Some tweaks I'm porting over from am32.org (#80) Add links to view source code of a page's php file, and rename the current "page source" link to "site source". some changes to how news listing display on the home page Reviewed-on: https://tildegit.org/team/site/pulls/80 Co-Authored-By: Anton McClure Co-Committed-By: Anton McClure --- footer.php | 4 +++- index.php | 9 +++++++-- news/index.php | 2 ++ signup/index.php | 2 ++ signup/signup-handler.php | 2 ++ users/index.php | 2 ++ wiki/index.php | 2 ++ 7 files changed, 20 insertions(+), 3 deletions(-) diff --git a/footer.php b/footer.php index 93b3d41..2b1838d 100644 --- a/footer.php +++ b/footer.php @@ -1,7 +1,9 @@
diff --git a/index.php b/index.php index f2c2100..ba470b1 100755 --- a/index.php +++ b/index.php @@ -1,4 +1,6 @@ getRealPath(); include 'header.php'; require __DIR__.'/vendor/autoload.php'; $parser = Tildeverse\Wiki\Parser::factory(); @@ -73,8 +75,11 @@ $parser = Tildeverse\Wiki\Parser::factory();

- "> - - /"> + "> + + • + + /">
getContent()?>
diff --git a/news/index.php b/news/index.php index e41a1b8..42122bb 100644 --- a/news/index.php +++ b/news/index.php @@ -1,4 +1,6 @@ getRealPath(); require __DIR__.'/../vendor/autoload.php'; $additional_head = " diff --git a/signup/index.php b/signup/index.php index eb7cef8..b829e82 100644 --- a/signup/index.php +++ b/signup/index.php @@ -1,4 +1,6 @@ getRealPath(); include __DIR__.'/../header.php'; ?> diff --git a/signup/signup-handler.php b/signup/signup-handler.php index c34db05..b51b038 100644 --- a/signup/signup-handler.php +++ b/signup/signup-handler.php @@ -1,4 +1,6 @@ getRealPath(); require __DIR__.'/../vendor/autoload.php'; require_once "email/smtp.php"; diff --git a/users/index.php b/users/index.php index 2bfe220..d09c24b 100644 --- a/users/index.php +++ b/users/index.php @@ -1,4 +1,6 @@ getRealPath(); include __DIR__.'/../header.php'; $online_users = shell_exec("online-users"); diff --git a/wiki/index.php b/wiki/index.php index f8686f3..5ba12a2 100644 --- a/wiki/index.php +++ b/wiki/index.php @@ -1,4 +1,6 @@ getRealPath(); require __DIR__.'/../vendor/autoload.php'; $additional_head = "