mirror of
https://github.com/openvk/openvk
synced 2024-12-22 16:42:32 +03:00
Compare commits
3 commits
3ce01a5393
...
3f4150b64a
Author | SHA1 | Date | |
---|---|---|---|
|
3f4150b64a | ||
|
4541ce1afe | ||
|
a870e60571 |
6 changed files with 24 additions and 2 deletions
|
@ -35,7 +35,7 @@ final class UserPresenter extends OpenVKPresenter
|
||||||
$this->template->_template = "User/deactivated.xml";
|
$this->template->_template = "User/deactivated.xml";
|
||||||
|
|
||||||
$this->template->user = $user;
|
$this->template->user = $user;
|
||||||
} else if($this->user->identity->isBlacklistedBy($user)) {
|
} else if($this->user->identity && $this->user->identity->isBlacklistedBy($user)) {
|
||||||
$this->template->_template = "User/blacklisted.xml";
|
$this->template->_template = "User/blacklisted.xml";
|
||||||
|
|
||||||
$this->template->blacklist_status = $user->isBlacklistedBy($this->user->identity);
|
$this->template->blacklist_status = $user->isBlacklistedBy($this->user->identity);
|
||||||
|
|
|
@ -239,6 +239,14 @@
|
||||||
</object>
|
</object>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div id="news" n:if="OPENVK_ROOT_CONF['openvk']['preferences']['news']['enable']">
|
||||||
|
<b>{_news} </b>
|
||||||
|
<hr size="1">
|
||||||
|
<text>{php echo OPENVK_ROOT_CONF['openvk']['preferences']['news']['title'];}</text>
|
||||||
|
<br><br>
|
||||||
|
<a href="{php echo OPENVK_ROOT_CONF['openvk']['preferences']['news']['link'];}">Подробнее »</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div n:if="OPENVK_ROOT_CONF['openvk']['preferences']['commerce'] && $thisUser->getCoins() != 0" id="votesBalance">
|
<div n:if="OPENVK_ROOT_CONF['openvk']['preferences']['commerce'] && $thisUser->getCoins() != 0" id="votesBalance">
|
||||||
{tr("you_still_have_x_points", $thisUser->getCoins())|noescape}
|
{tr("you_still_have_x_points", $thisUser->getCoins())|noescape}
|
||||||
|
|
|
@ -2314,7 +2314,7 @@ li {
|
||||||
padding-left: 15px;
|
padding-left: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#votesBalance {
|
#votesBalance, #news {
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
padding: 7px;
|
padding: 7px;
|
||||||
background-color: #f6f6f6;
|
background-color: #f6f6f6;
|
||||||
|
@ -2323,6 +2323,12 @@ li {
|
||||||
user-select: none;
|
user-select: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#news b
|
||||||
|
{
|
||||||
|
color: #8A0000;
|
||||||
|
font-size: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
.cookies-popup {
|
.cookies-popup {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
|
|
|
@ -1138,6 +1138,8 @@
|
||||||
|
|
||||||
"increased_your_rating_by" = "increased your rating by";
|
"increased_your_rating_by" = "increased your rating by";
|
||||||
|
|
||||||
|
"news" = "News";
|
||||||
|
|
||||||
/* Gifts */
|
/* Gifts */
|
||||||
|
|
||||||
"gift" = "Gift";
|
"gift" = "Gift";
|
||||||
|
|
|
@ -1078,6 +1078,8 @@
|
||||||
"negative_rating_value" = "Мы не можем украсть рейтинг у другого человека, извините.";
|
"negative_rating_value" = "Мы не можем украсть рейтинг у другого человека, извините.";
|
||||||
"increased_your_rating_by" = "повысил ваш рейтинг на";
|
"increased_your_rating_by" = "повысил ваш рейтинг на";
|
||||||
|
|
||||||
|
"news" = "Новость";
|
||||||
|
|
||||||
/* Gifts */
|
/* Gifts */
|
||||||
|
|
||||||
"gift" = "Подарок";
|
"gift" = "Подарок";
|
||||||
|
|
|
@ -17,6 +17,10 @@ openvk:
|
||||||
minLength: 3 # won't affect existing short urls or the ones set via admin panel
|
minLength: 3 # won't affect existing short urls or the ones set via admin panel
|
||||||
forbiddenNames:
|
forbiddenNames:
|
||||||
- "index.php"
|
- "index.php"
|
||||||
|
news:
|
||||||
|
enable: false
|
||||||
|
link: "/link"
|
||||||
|
title: "я покакал"
|
||||||
photos:
|
photos:
|
||||||
upgradeStructure: false
|
upgradeStructure: false
|
||||||
photoSaving: "quick"
|
photoSaving: "quick"
|
||||||
|
|
Loading…
Reference in a new issue