-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPoncho.phtml
114 lines (84 loc) · 3.84 KB
/
Poncho.phtml
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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
<div id="poncho-header-wrapper">
<div id="poncho-header">
<div id="poncho-navigation-wrapper" role="navigation">
<?php if ( $this->getNavigationMenu() ): ?>
<div id="poncho-navigation-menu" class="poncho-menu">
<?php echo new OOUI\ButtonWidget( [ 'id' => 'poncho-menu-icon', 'icon' => 'menu', 'framed' => false ] ); ?>
<ul class="poncho-menu-list">
<?php foreach ( $this->getNavigationMenu() as $key => $value ) echo $this->makeListItem( $key, $value ); ?>
</ul>
</div>
<?php endif; ?>
</div><div id="poncho-logo-wrapper" role="banner">
<?php $this->logo(); ?>
</div><div id="poncho-right-menus-wrapper">
<?php if ( !$this->getSkin()->getConfig()->get( 'HideInterlanguageLinks' ) ): ?>
<div id="poncho-languages-menu" class="poncho-menu">
<?php echo new OOUI\ButtonWidget( [ 'id' => 'poncho-notifications-icon', 'icon' => 'textLanguage', 'framed' => false ] ); ?>
<ul class="poncho-menu-list">
<?php foreach ( $this->getLanguagesMenu() as $key => $value ) echo $this->makeListItem( $key, $value ); ?>
</ul>
</div>
<?php endif; ?>
<?php if ( $this->getSkin()->getUser()->isRegistered() ): ?>
<div id="poncho-notifications-menu" class="poncho-menu">
<?php echo new OOUI\ButtonWidget( [ 'id' => 'poncho-notifications-icon', 'icon' => 'bell', 'framed' => false ] ); ?>
<ul class="poncho-menu-list">
<?php foreach ( $this->getNotifications() as $key => $value ) echo $this->makeListItem( $key, $value ); ?>
</ul>
</div>
<?php endif; ?>
<div id="poncho-user-menu" class="poncho-menu">
<?php echo new OOUI\ButtonWidget( [ 'id' => 'poncho-user-icon', 'icon' => 'userAvatar', 'framed' => false ] ); ?>
<ul class="poncho-menu-list">
<?php foreach ( $this->getUserMenu() as $key => $value ) echo $this->makeListItem( $key, $value ); ?>
</ul>
</div>
</div><div id="poncho-search-form-wrapper" role="search">
<form id="poncho-search-form" action="<?php $this->text( 'wgScript' ); ?>">
<?php echo new OOUI\ButtonWidget( [ 'id' => 'poncho-search-button', 'icon' => 'search', 'framed' => false ] ); ?>
<?php echo new OOUI\TextInputWidget( [ 'id' => 'poncho-search-input', 'name' => 'search', 'placeholder' => wfMessage( 'search' ) ] ); ?>
<datalist id="poncho-search-suggestions"></datalist>
</form>
</div>
</div>
</div>
<div id="poncho-content-wrapper">
<div id="poncho-content">
<div id="poncho-content-actions">
<?php foreach ( $this->getMainActions() as $key => $value ) echo $this->makeActionButton( $key, $value ); ?>
<div id="poncho-more-menu" class="poncho-menu">
<span class="poncho-menu-item"><?php $this->moreButton(); ?></span>
<ul class="poncho-menu-list">
<?php foreach ( $this->getMoreMenu() as $key => $value ) echo $this->makeListItem( $key, $value ); ?>
</ul>
</div>
</div>
<?php if ( $this->data['indicators'] ): ?>
<?php echo $this->getIndicators(); ?>
<?php endif; ?>
<?php if ( $this->data['sitenotice'] ): ?>
<div id="siteNotice"><?php $this->html( 'sitenotice' ); ?></div>
<?php endif; ?>
<h1 id="firstHeading" class="firstHeading"><?php $this->title(); ?></h1>
<div id="siteSub"><?php echo $this->msg( 'tagline' ); ?></div>
<?php if ( $this->data['subtitle'] ): ?>
<div id="contentSub"><?php $this->html( 'subtitle' ); ?></div>
<?php endif; ?>
<?php if ( $this->data['undelete'] ): ?>
<div id="contentSub2"><?php $this->html( 'undelete' ); ?></div>
<?php endif; ?>
<div id="content" class="mw-body" role="main">
<div id="bodyContent" class="mw-body-content">
<?php $this->html( 'bodytext' ); ?>
<?php $this->html( 'catlinks' ); ?>
<?php $this->html( 'dataAfterContent' ); ?>
</div>
</div>
<?php $this->talkButton(); ?>
<?php $this->html( 'debughtml' ); ?>
</div>
</div>
<div id="poncho-footer-wrapper">
<div id="poncho-footer"><?php $this->footer(); ?></div>
</div>