-
Notifications
You must be signed in to change notification settings - Fork 0
/
footer-mobile.php
95 lines (76 loc) · 7.48 KB
/
footer-mobile.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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
<div style="clear:both"></div>
<div class='fixed-bottom-menu'>
<div id='fixed-bottom-menu-wrap'>
<?php wp_nav_menu( array( 'container' => '','container_class' => '','theme_location' => 'footerm','menu_class' => 'nav','walker' => new Bootstrap_Walker_MF()) ); ?>
</div>
</div>
</div>
<?php if(!is_user_logged_in()){ ?>
<div id="animatedModal" class='overlay hide' stye="display:none">
<div class="close-animatedModal ph-button-modal ph-button-close ph-button-slim">
x
</div>
<div class="modal-content-fullscreen">
<div class="overlay-dialog overlay-dialog--signin overlay-dialog--animate js-overlayDialog" tabindex="-1">
<div class='brand brand-footer overlay-center'>
<?php if ( get_theme_mod( 'pluginhunt_logo' ) ){ ?>
<div class='site-logo'>
<a href='<?php echo esc_url( home_url( '/' ) ); ?>' title='<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>' rel='home'><img src='<?php echo esc_url( get_theme_mod( 'pluginhunt_logo' ) ); ?>' alt='<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>'></a>
</div>
<?php } ?>
<h1 class='blog-name'><a href="<?php echo home_url(); ?>" class="brand"> <?php bloginfo('name'); ?></a></h1>
</div>
<br/>
<div class="overlay-content"><?php _e('Sign in to','pluginhunt');?> <?php bloginfo('name'); ?> <?php _e('or create an account','pluginhunt');?></div>
<?php $surl = get_site_url(); ?>
<br/>
<div class='ph_socials'>
<div class='ph-soc-block'>
<a href="<?php echo wp_login_url(); ?>?loginFacebook=1&&redirect=<?php echo $surl;?>" onclick="window.location = '<?php echo wp_login_url(); ?>?loginFacebook=1&redirect='+window.location.href; return false;">
<div class='ph-fb'><i class="fa fa-facebook"></i><?php _e('Sign in with Facebook','pluginhunt'); ?></div></a>
<br/>
<a href="<?php echo wp_login_url(); ?>?loginTwitter=1&redirect=<?php echo $surl;?>" onclick="window.location = '<?php echo wp_login_url(); ?>?loginTwitter=1&redirect='+window.location.href; return false;">
<div class='ph-tw'><i class="fa fa-twitter"></i><?php _e('Sign in with Twitter','pluginhunt'); ?></div></a>
</div>
</div>
<div class='ph-or'>
<p class='ph-or-p'><?php _e('Or, login','pluginhunt'); ?><a href="<?php echo wp_login_url(); ?>" title="Login"> <?php _e('normally','pluginhunt'); ?></a></span></p>
</div>
<div class="signinPrivacyMessages">
<?php _e('We will never post to Twitter or Facebook without your permission.','pluginhunt'); ?>
</div>
</div></div>
</div>
</div>
</div>
</div>
</dv>
<?php } ?>
<!-- our new popover for collection clicks - could utilise for other clicks too -->
<div class="ph_popover v-bottom-center" style="top: 274px; left: 870px;"><div data-reactid=".0.2.0"><div class="popover--header" data-reactid=".0.2.0.0"><h3 class="popover--header--title" data-reactid=".0.2.0.0.0"><?php _e('Add to Collection','pluginhunt');?></h3><a class="popover--header--icon" data-action="open-modal" data-layout="fullscreen" href="/faq#collection"><span>
<svg width="17px" height="17px" viewBox="0 0 17 17" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<path d="M8.36196,0 C3.75054,0 0,3.75054 0,8.36196 C0,12.97236 3.75054,16.72392 8.36196,16.72392 C12.97236,16.72392 16.72392,12.97236 16.72392,8.36196 C16.72392,3.75054 12.97236,0 8.36196,0 L8.36196,0 Z M9.38196,12.96726 C9.38196,13.20492 9.27928,13.42082 9.07698,13.60816 C8.8774,13.79312 8.61016,13.88696 8.2824,13.88696 C7.94478,13.88696 7.66666,13.79414 7.4562,13.60986 C7.24064,13.42286 7.1315,13.20628 7.1315,12.96726 L7.1315,12.5562 C7.1315,12.31718 7.24132,12.1006 7.4562,11.91326 C7.66666,11.73 7.94478,11.63718 8.2824,11.63718 C8.61016,11.63718 8.8774,11.73136 9.07698,11.91598 C9.27894,12.10332 9.38196,12.31922 9.38196,12.5562 L9.38196,12.96726 L9.38196,12.96726 Z M11.64704,6.80884 C11.51478,7.06758 11.3458,7.29538 11.14452,7.4868 C10.94698,7.67312 10.73142,7.84176 10.50328,7.98728 C10.28466,8.12634 10.07862,8.27696 9.89196,8.43472 C9.7087,8.58908 9.55502,8.7618 9.43534,8.94812 C9.3211,9.12628 9.26296,9.34864 9.26296,9.60908 L9.26296,9.86748 C9.26296,10.03884 9.17898,10.21802 9.01306,10.40196 C8.8451,10.58726 8.62036,10.68688 8.34632,10.6981 L8.28954,10.69946 C8.01108,10.69946 7.78464,10.6199 7.616,10.46214 C7.43512,10.29316 7.344,10.1031 7.344,9.89808 C7.344,9.41834 7.41064,9.01 7.54222,8.68326 C7.67312,8.35958 7.83496,8.0784 8.024,7.8472 C8.21202,7.61702 8.42418,7.41574 8.65402,7.24812 C8.87366,7.08968 9.0763,6.93226 9.25684,6.78198 C9.43126,6.6368 9.58154,6.48142 9.70292,6.32162 C9.81444,6.17372 9.86918,5.99454 9.86918,5.7749 C9.86918,5.41212 9.77092,5.1527 9.56794,4.98134 C9.36224,4.80726 9.07732,4.71886 8.72202,4.71886 C8.48538,4.71886 8.28206,4.73348 8.11818,4.76272 C7.95804,4.79094 7.81048,4.83854 7.67822,4.9045 C7.54766,4.9691 7.42492,5.05954 7.31272,5.17174 C7.19508,5.28938 7.07132,5.43796 6.94416,5.61408 C6.82992,5.7749 6.66026,5.89628 6.44062,5.97482 C6.21554,6.05642 5.96564,6.03432 5.70486,5.90954 C5.4706,5.79258 5.32746,5.63992 5.2785,5.45462 C5.23294,5.28462 5.23294,5.10612 5.27782,4.92558 C5.31114,4.77122 5.40328,4.5815 5.56036,4.34894 C5.7137,4.12114 5.93198,3.8998 6.21044,3.69002 C6.4872,3.48092 6.83808,3.29834 7.2522,3.1484 C7.66938,2.99778 8.1685,2.92128 8.73698,2.92128 C9.29764,2.92128 9.7835,3.00594 10.1813,3.17356 C10.58114,3.3422 10.90788,3.56694 11.15166,3.84234 C11.39476,4.1174 11.57394,4.43326 11.68478,4.78142 C11.79426,5.12584 11.85002,5.4859 11.85002,5.85106 C11.85002,6.22234 11.78168,6.545 11.64704,6.80884 L11.64704,6.80884 Z" id="Imported-Layers" fill="#DDDAD9" sketch:type="MSShapeGroup"></path>
</g>
</svg>
</span></a>
</div>
<div class='cmsg'>
<div class='collections-loading'>
<i class="fa fa-spinner fa-spin"></i>
</div>
<div id='ph_collections_list'>
</div>
<div class="popover--footer" data-reactid=".0.2.0.1.1">
<a class="collections-popover--form-trigger" href="#"><?php _e('Add New','pluginhunt'); ?></a>
<div class='collections-form'>
<form class="collections-popover--form"><input class="collections-popover--form--field input" placeholder="<?php _e("Collection name","pluginhunt");?>" type="text"><input class="collections-popover--form--submit button v-green" type="submit" value="<?php _e("Add","pluginhunt");?>"></form>
</div>
</div>
</div>
</div>
</div>
<?php wp_footer(); ?>
</body>
</html>