Ветка 07_11_25

This commit is contained in:
2025-11-07 20:53:17 +02:00
commit 4bc7136fa4
218 changed files with 79301 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
<?php
/**
* @file plug.php
* @brief Подключает плагин pickr для администраторов и подключает JS с языковыми строками
*/
global $path, $_SESSION, $configAdmins;
if (in_array($_SESSION['username'], $configAdmins, true)) {
echo '<script type="text/javascript" src="/main_plugin/pickr/lang.js.php?lng=' . $lng . '"></script>';
echo '<link rel="stylesheet" type="text/css" href="/main_plugin/pickr/pickr.css">';
}
?>