mirror of
https://github.com/openvk/openvk
synced 2024-11-13 10:39:24 +03:00
Merge branch 'master' of github.com:openvk/openvk
This commit is contained in:
commit
2e0f51eb80
5 changed files with 12 additions and 7 deletions
|
@ -222,7 +222,6 @@ final class SupportPresenter extends OpenVKPresenter
|
|||
$content = implode($lines);
|
||||
|
||||
$parser = new Parsedown();
|
||||
$parser->setSafeMode(true);
|
||||
$this->template->heading = $heading;
|
||||
$this->template->content = $parser->text($content);
|
||||
}
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
{var css = file_get_contents(OPENVK_ROOT . "/Web/static/js/node_modules/@atlassian/aui/dist/aui/aui-prototyping.css")}
|
||||
{str_replace("fonts/", "/assets/packages/static/openvk/js/node_modules/@atlassian/aui/dist/aui/fonts/", $css)|noescape}
|
||||
</style>
|
||||
<title>{include title}</title>
|
||||
<title>{include title} - Админ-панель {=OPENVK_ROOT_CONF['openvk']['appearance']['name']}</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="page">
|
||||
|
@ -16,7 +16,7 @@
|
|||
<div class="aui-header-primary">
|
||||
<h1 id="logo" class="aui-header-logo aui-header-logo-textonly">
|
||||
<a href="/admin">
|
||||
<span class="aui-header-logo-device">OVK</span>
|
||||
<span class="aui-header-logo-device">{=OPENVK_ROOT_CONF['openvk']['appearance']['name']}</span>
|
||||
</a>
|
||||
</h1>
|
||||
</div>
|
||||
|
@ -163,9 +163,7 @@
|
|||
</div>
|
||||
<footer id="footer" role="contentinfo">
|
||||
<section class="footer-body">
|
||||
<div id="footer-logo">
|
||||
OpenVK
|
||||
</div>
|
||||
OpenVK <a href="/about:openvk">{php echo OPENVK_VERSION}</a> | PHP: {phpversion()} | DB: {\Chandler\Database\DatabaseConnection::i()->getConnection()->getPdo()->getAttribute(\PDO::ATTR_SERVER_VERSION)}
|
||||
</section>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -129,7 +129,8 @@
|
|||
{/foreach}
|
||||
<div n:ifset="$thisUser" id="commentTextArea{$commentTextAreaId}" n:attr="style => ($commentsCount == 0 ? 'display: none;')" class="commentsTextFieldWrap">
|
||||
{var commentsURL = "/al_comments/create/posts/" . $post->getId()}
|
||||
{include "../textArea.xml", route => $commentsURL, postOpts => false, graffiti => (bool) ovkGetQuirk("comments.allow-graffiti"), post => $post}
|
||||
{var club = is_null($club) ? ($post->getTargetWall() < 0 ? (new openvk\Web\Models\Repositories\Clubs)->get(abs($post->getTargetWall())) : NULL) : $club}
|
||||
{include "../textArea.xml", route => $commentsURL, postOpts => false, graffiti => (bool) ovkGetQuirk("comments.allow-graffiti"), post => $post, club => $club}
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
|
BIN
themepacks/openvk_modern/res/5.png
Normal file
BIN
themepacks/openvk_modern/res/5.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.4 KiB |
|
@ -15,6 +15,13 @@ body {
|
|||
background-position-x: 1px;
|
||||
}
|
||||
|
||||
.home_button_custom {
|
||||
background: url("/themepack/openvk_modern/0.0.1.0/resource/5.png") no-repeat;
|
||||
background-position-y: 0px;
|
||||
background-position-x: 1px;
|
||||
text-shadow: none;
|
||||
}
|
||||
|
||||
.header_navigation .link {
|
||||
background: unset;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue