FIX - область видимости переменной

This commit is contained in:
Krivchikov Dmitry 2015-11-23 00:38:07 +03:00
parent 40e9f7b759
commit b23954c800
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ if (App::$user && App::$user->id) {
<div id="control" class="onlyBigScreen"> <div id="control" class="onlyBigScreen">
<div class="glyphicon _t glyphicon-info-sign boxButtonInfo" title="Информация" onclick="openBox('Info')"></div> <div class="glyphicon _t glyphicon-info-sign boxButtonInfo" title="Информация" onclick="openBox('Info')"></div>
<div class="glyphicon _c glyphicon-font" title="Лента статей" onclick="location.href='/feed/'"></div> <div class="glyphicon _c glyphicon-font" title="Лента статей" onclick="location.href='/feed/'"></div>
<?php if ($user): ?> <?php if (App::$user): ?>
<div class="glyphicon glyphicon-user _b boxButtonUser" onclick="location.href='/user/'" title="Профиль"> <div class="glyphicon glyphicon-user _b boxButtonUser" onclick="location.href='/user/'" title="Профиль">
<?php if(Notifications::getUnreadedCount()): ?> <?php if(Notifications::getUnreadedCount()): ?>
<div id="notify"><?= Notifications::getUnreadedCount(); ?></div> <div id="notify"><?= Notifications::getUnreadedCount(); ?></div>