From 19d16efebc3fb5c0b2aede29aa91d31000ffd124 Mon Sep 17 00:00:00 2001 From: vincent-peugnet Date: Mon, 25 May 2020 19:48:15 +0200 Subject: add page specific password protection close #118 --- app/view/templates/editleftbar.php | 3 +++ app/view/templates/pagepassword.php | 39 +++++++++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 app/view/templates/pagepassword.php (limited to 'app/view') diff --git a/app/view/templates/editleftbar.php b/app/view/templates/editleftbar.php index 812c30d..0c77337 100644 --- a/app/view/templates/editleftbar.php +++ b/app/view/templates/editleftbar.php @@ -192,6 +192,9 @@ + + + diff --git a/app/view/templates/pagepassword.php b/app/view/templates/pagepassword.php new file mode 100644 index 0000000..509c7ee --- /dev/null +++ b/app/view/templates/pagepassword.php @@ -0,0 +1,39 @@ +layout('readerlayout') ?> + +start('head'); +?> + + + ' : '' ?> + + + +stop(); +?> + + + +start('page') ?> + + + +
+ + +

This page is password protected

+ +
+ + +
+ +
+ + + + +stop() ?> \ No newline at end of file -- cgit v1.2.3