-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathprivate.php
More file actions
27 lines (26 loc) · 833 Bytes
/
private.php
File metadata and controls
27 lines (26 loc) · 833 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?php $bloginfourl = get_bloginfo( 'url' ); ?>
<div <?php post_class(); ?>>
<h2 class="entry-title denied-title"><?php _e( 'Access Denied', 'pressbooks-book' ); ?></h2>
<div class="entry-content denied-text">
<p>
<?php
printf(
__( 'This book is private, and accessible only to registered users. To access the content, either sign in to your account or request access to this book.', 'pressbooks-book' ),
);
?>
</p>
<p>
<?php
printf(
/* translators: link to Pressbooks.pub */
__( 'You can also set up your own Pressbooks book at %s.', 'pressbooks-book' ),
sprintf(
'<a href="%1$s">%2$s</a>',
apply_filters( 'pb_signup_url', 'https://pressbooks.pub/auth' ),
apply_filters( 'pb_signup_title', 'Pressbooks.pub' )
)
);
?>
</p>
</div>
</div><!-- #post-## -->