mirror of
https://github.com/openvk/openvk
synced 2024-12-22 16:42:32 +03:00
news left menu
This commit is contained in:
parent
198bf7472d
commit
a870e60571
5 changed files with 23 additions and 1 deletions
|
@ -240,6 +240,14 @@
|
|||
</a>
|
||||
</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">
|
||||
{tr("you_still_have_x_points", $thisUser->getCoins())|noescape}
|
||||
<br /><br />
|
||||
|
|
|
@ -2305,7 +2305,7 @@ li {
|
|||
padding-left: 15px;
|
||||
}
|
||||
|
||||
#votesBalance {
|
||||
#votesBalance, #news {
|
||||
margin-top: 10px;
|
||||
padding: 7px;
|
||||
background-color: #f6f6f6;
|
||||
|
@ -2314,6 +2314,12 @@ li {
|
|||
user-select: none;
|
||||
}
|
||||
|
||||
#news b
|
||||
{
|
||||
color: #8A0000;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.cookies-popup {
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
|
|
|
@ -1125,6 +1125,8 @@
|
|||
|
||||
"increased_your_rating_by" = "increased your rating by";
|
||||
|
||||
"news" = "News";
|
||||
|
||||
/* Gifts */
|
||||
|
||||
"gift" = "Gift";
|
||||
|
|
|
@ -1065,6 +1065,8 @@
|
|||
"negative_rating_value" = "Мы не можем украсть рейтинг у другого человека, извините.";
|
||||
"increased_your_rating_by" = "повысил ваш рейтинг на";
|
||||
|
||||
"news" = "Новость";
|
||||
|
||||
/* Gifts */
|
||||
|
||||
"gift" = "Подарок";
|
||||
|
|
|
@ -17,6 +17,10 @@ openvk:
|
|||
minLength: 3 # won't affect existing short urls or the ones set via admin panel
|
||||
forbiddenNames:
|
||||
- "index.php"
|
||||
news:
|
||||
enable: false
|
||||
link: "/link"
|
||||
title: "я покакал"
|
||||
photos:
|
||||
upgradeStructure: false
|
||||
photoSaving: "quick"
|
||||
|
|
Loading…
Reference in a new issue