diff --git a/Web/Presenters/AboutPresenter.php b/Web/Presenters/AboutPresenter.php index b8b1bbe5..1ff9c8ab 100644 --- a/Web/Presenters/AboutPresenter.php +++ b/Web/Presenters/AboutPresenter.php @@ -1,8 +1,7 @@ createComposer(new NullIO(), OPENVK_ROOT . "/composer.json", false); + $this->template->themes = Themepacks::i()->getAllThemes(); } function renderLanguage(): void diff --git a/Web/Presenters/templates/About/Version.xml b/Web/Presenters/templates/About/Version.xml index 4233d6c2..63852018 100644 --- a/Web/Presenters/templates/About/Version.xml +++ b/Web/Presenters/templates/About/Version.xml @@ -7,20 +7,525 @@ {/block} {block content} - OpenVK 2 + - - - - - - - - - - - -
Версия: {php echo OPENVK_VERSION}
Chandlerd: {php echo CHANDLER_VER}
+
+ + + + + + +
+

OpenVK {=OPENVK_VERSION}

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + +
OpenVK{=OPENVK_VERSION}
Chandler{=CHANDLER_VER}
Configuration file path{realpath(OPENVK_ROOT)}
Loaded configuration file{realpath(OPENVK_ROOT)}/openvk.yml
PHP{phpversion()}
+ + + + + + + +
+ This program makes use of the Chandler open-source web application server:
+ libchandler {=CHANDLER_VER}, Copyright (c) @fkwa +
+ +
+ +

Configuration

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameInstance valueMaster value
+ Instance name + + {=OPENVK_ROOT_CONF["openvk"]["appearance"]["name"]} + + N/A +
+ MOTD + + {=OPENVK_ROOT_CONF["openvk"]["appearance"]["motd"]|truncate:40} + + N/A +
+ + Female gender priority + + + {php echo OPENVK_ROOT_CONF["openvk"]["preferences"]["femaleGenderPriority"] ? "Enabled" : "Disabled"} + + Enabled +
+ Complex upload processing + + {php echo OPENVK_ROOT_CONF["openvk"]["preferences"]["uploads"]["disableLargeUploads"] ? "Disabled" : "Enabled"} + + Enabled +
+ Upload processing module + + mup_{=OPENVK_ROOT_CONF["openvk"]["preferences"]["uploads"]["mode"]} + + mup_basic +
+ Upload processing options + + {if OPENVK_ROOT_CONF["openvk"]["preferences"]["uploads"]["mode"] === "server"} + {php echo OPENVK_ROOT_CONF["openvk"]["preferences"]["uploads"]["server"]["kind"] === "cdn" ? "use cdn" : "use mounted folder"}, + upload to remote + {else} + (none) + {/if} + + (none) +
+ Forbidden short addresses + + {implode(", ", OPENVK_ROOT_CONF["openvk"]["preferences"]["shortcodes"]["forbiddenNames"])} + + (none) +
+ Ads + + {php echo OPENVK_ROOT_CONF["openvk"]["preferences"]["adPoster"]["enable"] ? "Enabled" : "Disabled"} + + Disabled +
+ Fartscroll + + {php echo OPENVK_ROOT_CONF["openvk"]["preferences"]["bellsAndWhistles"]["fartscroll"] ? "Enabled" : "Disabled"} + + Disabled +
+ NDA Test Label + + {php echo OPENVK_ROOT_CONF["openvk"]["preferences"]["bellsAndWhistles"]["testLabel"] ? "Enabled" : "Disabled"} + + Disabled +
+ Number verification + + {php echo OPENVK_ROOT_CONF["openvk"]["credentials"]["zadarma"]["enable"] ? "SMS (Zadarma)" : "Disabled"} + + Disabled +
+ Notifications + + {php echo OPENVK_ROOT_CONF["openvk"]["credentials"]["eventDB"]["enable"] ? "Enabled (Yandex Clickhouse or Percona)" : "Disabled"} + + Disabled +
+ Session duration + + {=CHANDLER_ROOT_CONF["security"]["sessionDuration"]} days + + 1 day +
+ +
+ +

Extensions

+ +

Core

+ + + + + + + + + + + + +
Themepack driver version0 (Jesting Jill)
Extension driver versionN/A
+ + {* TODO: add hook to let extensions to register themselves here *} + +
+ +

Themepacks

+ + + + + + + + + + + + + + + + + + + + + + + + + +
NameStatusVersionDescriptionAuthor
+ OVK '18 + + Default + + {=OPENVK_VERSION} + + Default OpenVK look and feel. + + Vladimir Barinov, Konstantin Kichulkin and Daniil Myslivets +
+ {$theme->getName()} + + {$theme->isEnabled() ? "Enabled" : "Installed"} + + {$theme->getVersion()} + + {$theme->getDescription()|truncate:20} + + {$theme->getAuthor()} +
+ +
+ +

OpenVK Credits

+ + + + + + + + + + +
OpenVK Development Force
+ Vladimir Barinov (veselcraft), Alexandra Katunina (jill_sempai), Konstantin Kichulkin (kosfurler), + Nikita Volkov (sup_ban), Daniil Myslivets (myslivets), Alexander Kotov (llacker), + Alexey Assemblerov (BiosNod), Ponywka and Illya Prokopenko (DSRev) +
+ + + + + + + + + + +
OpenVK Design and Concept
+ Vladimir Barinov (veselcraft) and Konstantin Kichulkin (kosfurler) +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Languagepacks
+ Language + + Author +
RussianVladimir Barinov (veselcraft)
EnglishVladimir Barinov (veselcraft)
BelarussianDaniil Myslivets (myslivets)
SerbianIvan Denisov (Dma Games)
TurkishBedirhan (WindOWZ)
EsperantoVladimir Barinov (veselcraft)
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Additional mentions
+ Contribution + + Author +
Initial hostingIllya Prokopenko (DSRev) and Alexandra Katunina (jill_sempai)
Bug-tracker hostingAlexey Assemblerov (BiosNod)
ImagesVladimir Barinov (veselcraft), Konstantin Kichulkin (kosfurler) and Daniil Myslivets (myslivets)
IllustrationsAsh Defenders
SoundtrackAsh Defenders
Best barmaidJill
Helpdesk implementationNikita Volkov (sup_ban)
+ + + + + + + + + + +
OpenVK QA Team
+ kovaltim, Vladimir Lapskiy (TeQuiero), Alexander Minkin (WerySkok), Polina Katunina (RousPhaul), tojevth, + Egor Shevchenko, Vadim Korovin (vadimkin), Ash Defenders, + Pavel Silaev, Dmitriy Daemon (Dimas_NT), Illya Prokopenko (DSRev), + cmed404 and unkown tester, who died shortly after trying to upload post with cat. +
+ +
+ +

OpenVK License

+ + + + + + + +
+ This program is free sofrware; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public + License (version 2.1) as published by the Free Software Foundation.
+ This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License 2.1 for more details.
+ You should have received a copy of the GNU Lesser General Public + License along with this program (COPYING file in extension root); if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +
+
{/block} diff --git a/Web/Themes/Themepacks.php b/Web/Themes/Themepacks.php index a05746c0..3010f6e1 100644 --- a/Web/Themes/Themepacks.php +++ b/Web/Themes/Themepacks.php @@ -50,6 +50,11 @@ class Themepacks implements \ArrayAccess yield $id => ($theme->getName(Session::i()->get("lang", "ru"))); } + function getAllThemes(): array + { + return $this->loadedThemepacks; + } + /* ArrayAccess */ function offsetExists($offset): bool diff --git a/Web/static/img/logo_white.png b/Web/static/img/logo_white.png new file mode 100644 index 00000000..c63481db Binary files /dev/null and b/Web/static/img/logo_white.png differ