From 6d71b372ceb715b535bac2f16c5786c95e53dace Mon Sep 17 00:00:00 2001 From: Tim van Dijen <tvdijen@gmail.com> Date: Fri, 8 Dec 2017 22:55:03 +0100 Subject: [PATCH] Remove orphaned templates --- modules/oauth/templates/authorized.php | 19 ------------------- modules/oauth/templates/consent.php | 18 ------------------ 2 files changed, 37 deletions(-) delete mode 100644 modules/oauth/templates/authorized.php delete mode 100644 modules/oauth/templates/consent.php diff --git a/modules/oauth/templates/authorized.php b/modules/oauth/templates/authorized.php deleted file mode 100644 index 7ce806d56..000000000 --- a/modules/oauth/templates/authorized.php +++ /dev/null @@ -1,19 +0,0 @@ -<?php - -$this->data['header'] = 'OAuth Authorization'; -$this->includeAtTemplateBase('includes/header.php'); - -?> - - <p style="margin-top: 2em"> - You are now successfully authenticated, and you may click <em>Continue</em> in the application where you initiated authentication. - </p> -<?php if (!empty($this->data['oauth_verifier'])) {?> - <p> - When asked, the verifier code to finish the procedure, is: <b><?php echo htmlspecialchars($this->data['oauth_verifier']);?></b>. - </p> -<?php } ?> - - -<?php -$this->includeAtTemplateBase('includes/footer.php'); diff --git a/modules/oauth/templates/consent.php b/modules/oauth/templates/consent.php deleted file mode 100644 index efb883df6..000000000 --- a/modules/oauth/templates/consent.php +++ /dev/null @@ -1,18 +0,0 @@ -<?php - -$this->data['header'] = 'OAuth Authorization'; -$this->includeAtTemplateBase('includes/header.php'); - -?> - - <p style="margin-top: 2em"> - Do you agree to let the application at <b><?php echo htmlspecialchars($this->data['consumer']['name'])?></b> use Foodle on your behalf? - </p> - <p> - <a href="<?php echo htmlspecialchars($this->data['urlAgree']); ?>">Yes I agree</a> | - <a href="javascript:alert('Please close this browser.');">No, cancel the request.</a> - </p> - - -<?php -$this->includeAtTemplateBase('includes/footer.php'); -- GitLab