This repository was archived by the owner on May 1, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 154
Expand file tree
/
Copy pathlayout-small-header.phtml
More file actions
86 lines (76 loc) · 3.92 KB
/
layout-small-header.phtml
File metadata and controls
86 lines (76 loc) · 3.92 KB
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
<?php echo $this->doctype(); ?>
<html lang="en">
<head>
<?php echo $this->headTitle('ZF2 Modules')->setSeparator(' - ')->setAutoEscape(false) ?>
<?php
echo $this->headMeta()
->appendName('viewport', 'width=device-width, initial-scale=1.0')
->setCharset('UTF-8')
?>
<?php
echo $this->headLink(['rel' => 'shortcut icon', 'href' => $this->basePath() . '/favicon.ico'])
->appendStylesheet($this->basePath() . '/css/bootstrap.min.css')
->appendStylesheet($this->basePath() . '/css/bootstrap-responsive.min.css')
->appendStylesheet($this->basePath() . '/css/style.css')
->appendStylesheet($this->basePath() . '/css/slide.css')
->appendAlternate($this->url('feed'), 'application/rss+xml', 'RSS Feed for ZF2 Modules')
?>
</head>
<body>
<a href="https://github.com/zendframework/modules.zendframework.com"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_green_007200.png" alt="Fork me on GitHub"></a>
<div id="toppanel">
<div class="tab">
<ul class="login">
<li class="left"> </li>
<li><a href="<?php echo $this->url('home'); ?>"><i class="icon-home icon-white"></i> Home</a></li>
<?php
$userDisplayName = $this->zfcUserDisplayName();
if ($userDisplayName): ?>
<li class="sep">|</li>
<li class="user-info">
<div class="gravatar-container"><a class="login" href="<?php
echo $this->url('user');
?>" title="My profile">
<img src="<?php
echo $this->escapeHtmlAttr($this->zfcUserIdentity()->getPhotoUrl());
?>" alt="<?php echo $this->escapeHtmlAttr($this->zfcUserDisplayName());
?>" style="width:23px;height:23px;" />
</a></div><a class="login" href="<?php echo $this->url('user') ?>" title="My profile"> Hello <?php echo $this->escapeHtml(ucfirst($userDisplayName)); ?></a>
</li>
<li class="sep">|</li>
<li ><a href="<?php echo $this->url('zfcuser/logout'); ?>">Logout</a></li>
<?php else: ?>
<li id="toggle">
<a class="login" href="<?php echo $this->url('scn-social-auth-user/login/provider', ['provider' => 'github']); ?>">GitHub Login</a>
</li>
<?php endif; ?>
<li class="right"> </li>
</ul>
</div>
</div>
<div class="container-fluid landing-intro small-header">
<div class="container">
<div class="row">
<div class="span8">
<a href="<?php echo $this->url('home'); ?>" style="text-decoration:none">
<img src="<?php echo $this->basePath('/img/zend-logo_small.png'); ?>" alt="ZF Modules"/>
<p class="zf-green">Modules</p>
</a>
</div>
<div class="span4">
</div>
</div>
</div>
</div>
<div class="container main-content">
<?php echo $this->content; ?>
</div>
<hr style="clear:both" />
<?php echo $this->partial('layout/footer'); ?>
<?php
echo $this->inlineScript()
->prependFile($this->basePath() . '/js/bootstrap.min.js')
->prependFile($this->basePath() . '/js/jquery.min.js')
?>
</body>
</html>