mirror of
https://github.com/openvk/openvk
synced 2025-01-09 09:19:43 +03:00
fix(search bar): fix brick showing
This commit is contained in:
parent
46b12a7c8e
commit
3f2fbd94f0
3 changed files with 4 additions and 7 deletions
|
@ -35,13 +35,13 @@ final class UserPresenter extends OpenVKPresenter
|
|||
$this->template->_template = "User/deactivated.xml";
|
||||
|
||||
$this->template->user = $user;
|
||||
} else if($this->user->identity && $this->user->identity->isBlacklistedBy($user)) {
|
||||
} else if(!is_null($user) && $this->user->identity && $this->user->identity->isBlacklistedBy($user)) {
|
||||
$this->template->_template = "User/blacklisted.xml";
|
||||
|
||||
$this->template->blacklist_status = $user->isBlacklistedBy($this->user->identity);
|
||||
$this->template->ignore_status = $user->isIgnoredBy($this->user->identity);
|
||||
$this->template->user = $user;
|
||||
} else if($user->isBlacklistedBy($this->user->identity)) {
|
||||
} else if(!is_null($user) && $user->isBlacklistedBy($this->user->identity)) {
|
||||
$this->template->_template = "User/blacklisted_pov.xml";
|
||||
|
||||
$this->template->ignore_status = $user->isIgnoredBy($this->user->identity);
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
{include headIncludes}
|
||||
{/ifset}
|
||||
</head>
|
||||
<body>
|
||||
<body data-themepack="{$thisUser->getStyle()}">
|
||||
<div id="sudo-banner" n:if="isset($thisUser) && $userTainted">
|
||||
<p>
|
||||
{_you_entered_as} <b>{$thisUser->getCanonicalName()}</b>. {_please_rights}
|
||||
|
@ -129,7 +129,7 @@
|
|||
<div class="link">
|
||||
<a href="/logout?hash={urlencode($csrfToken)}">{_header_log_out}</a>
|
||||
</div>
|
||||
<div id="search_box" class='header_divider_stick'>
|
||||
<div class="link header_divider_stick" id="search_box">
|
||||
<div id="search_box_fr">
|
||||
<form id='search_form' action="/search" method="get">
|
||||
<div id='search_and_one_more_wrapper'>
|
||||
|
|
|
@ -111,9 +111,6 @@ h1 {
|
|||
display: inline-block;
|
||||
height: 29px;
|
||||
padding: 11px 4px 0 7px;
|
||||
}
|
||||
|
||||
.header_navigation .link, .header_navigation .header_divider_stick {
|
||||
background: url('../img/divider.png') no-repeat;
|
||||
background-size: 1.5px 41px;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue