-
Notifications
You must be signed in to change notification settings - Fork 0
/
private.php
52 lines (48 loc) · 1.9 KB
/
private.php
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<?php $bloginfourl = get_bloginfo( 'url' ); ?>
<div <?php post_class(); ?>>
<style>
#content.site-content {
background-color: #ffe4e5; text-align: center; }
</style>
<h2 class="entry-title denied-title"><?php _e( 'Access Denied', 'pressbooks-book' ); ?></h2>
<div class="entry-content denied-text">
<p><b>
<?php
printf(
/* translators: link to sign in */
__( 'This book is private, and accessible only to registered users. If you have an account you can %s.', 'pressbooks-book' ),
sprintf(
'<a href="%1$s">%2$s</a>',
wp_login_url(),
__( 'sign in here', 'pressbooks-book' )
)
);
?>
</b></p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" src="https://media.giphy.com/media/hSdbwiVGiz72x67VyG/giphy.gif" alt="Typewriter (GIF) designed by Georgy Pashkov." width="800" height="450" />Typewriter (GIF) designed by <a href="https://dribbble.com/pashkovgs" target="_blank" rel="noopener noreferrer">Georgy Pashkov</a></p>
<br>
<p>
<?php
printf(
/* translators: link to Pressbooks.com */
__( 'You can also set up your own Books4Languages book at %s.', 'pressbooks-book' ),
sprintf(
'<a href="%1$s">%2$s</a>',
apply_filters( 'pb_signup_url', 'https://open.books4languages.com/' ),
apply_filters( 'pb_signup_title', 'www.open.books4languages.com' )
)
);
?>
</p>
<br>
<h4>Do you have an idea of a book?</h4>
<p>If you allready are a teacher, why not to be the autor of your textbook?
<ul>
<li>Translate the content is one of the easiest ways to get started.</li>
<li>Make an adaptation of a language textbooks to a specifical target.</li>
</ul>
</p>
<a class="button" href="https://books4languages.com/contribute/" target="_blank" rel="noopener noreferrer">Be a contributor</a>
<br>
</div>
</div><!-- #post-## -->