diff options
Diffstat (limited to 'Neutron-trunk/cms-special/admin-v2/$panes/language.php')
-rw-r--r-- | Neutron-trunk/cms-special/admin-v2/$panes/language.php | 68 |
1 files changed, 0 insertions, 68 deletions
diff --git a/Neutron-trunk/cms-special/admin-v2/$panes/language.php b/Neutron-trunk/cms-special/admin-v2/$panes/language.php deleted file mode 100644 index 878bfc2..0000000 --- a/Neutron-trunk/cms-special/admin-v2/$panes/language.php +++ /dev/null @@ -1,68 +0,0 @@ -<?php - -require_once "../../../resources/private/relative.php"; getRelativeDetails("cms-special"); -require_once $_SERVER['DOCUMENT_ROOT'] . "/api/lang/processor.php"; -require_once $_SERVER['DOCUMENT_ROOT'] . "/cms-special/admin-v2/\$resources/session.php"; - -global $lang; - -?> -<!DOCTYPE html> -<html> - -<head> - <title>base</title> - <meta charset="UTF-8"> - <meta name="viewport" content="width=device-width, initial-scale=1.0"> - <link rel="stylesheet" href="<?= $GLOBALS["SYSTEM_ROOT"] ?>/resources/css/admin_v2/main.css"> - <link rel="stylesheet" href="<?= $GLOBALS["SYSTEM_ROOT"] ?>/resources/css/admin_v2/inner.css"> - <?php if (strpos($_SERVER['HTTP_USER_AGENT'], "Chrome/")): ?> - <link rel="stylesheet" href="<?= $GLOBALS["SYSTEM_ROOT"] ?>/resources/css/admin_v2/chromium.css"> - <style>:root { --mpcms-banner: url(<?php - - if (file_exists($_SERVER['DOCUMENT_ROOT'] . "/resources/upload/banner.jpg")) { - echo('"' . $GLOBALS["SYSTEM_ROOT"] . '/resources/upload/banner.jpg"'); - } else { - echo('"' . $GLOBALS["SYSTEM_ROOT"] . '/resources/image/default.jpg"'); - } - - ?>); }</style> - <?php endif; ?> - <style>:root { --mpcms-banner: url(<?php - - if (file_exists($_SERVER['DOCUMENT_ROOT'] . "/resources/upload/banner.jpg")) { - echo('"' . $GLOBALS["SYSTEM_ROOT"] . '/resources/upload/banner.jpg"'); - } else { - echo('"' . $GLOBALS["SYSTEM_ROOT"] . '/resources/image/default.jpg"'); - } - - ?>); }</style> -</head> - -<body> -<div id="inner-items"> - <?php foreach (scandir($_SERVER['DOCUMENT_ROOT'] . "/resources/i18n") as $locale): if (trim($locale) !== "." && trim($locale) !== ".."): ?> - <div class="inner-item" data-item-href="<?= $GLOBALS["SYSTEM_ROOT"] ?>/cms-special/admin-v2/language/?_=<?= $locale ?>"> - <div class="inner-item-image-outer"> - <img alt="" class="inner-item-image" src="<?= $GLOBALS["SYSTEM_ROOT"] ?>/resources/image/admin2/locale.png"> - </div> - <div class="inner-item-text"> - <div> - <span class="inner-item-title"><?= json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/resources/i18n/" . $locale . "/\$metadata.json"), true)["localized_name"]; ?></span><br> - <span class="inner-item-description"><?= json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/resources/i18n/" . $locale . "/\$metadata.json"), true)["name"]; ?></span> - </div> - </div> - <div class="inner-item-enter-outer"> - <?php global $langsel; if ($locale === $langsel): ?> - <img alt="" class="inner-item-enter" src="<?= $GLOBALS["SYSTEM_ROOT"] ?>/resources/image/admin2/selected.png"> - <?php endif; ?> - </div> - </div> - <?php endif; endforeach; ?> -</div> -</body> - -<script src="<?= $GLOBALS["SYSTEM_ROOT"] ?>/resources/js/jquery.js"></script> -<script src="<?= $GLOBALS["SYSTEM_ROOT"] ?>/resources/js/admin_v2.js"></script> - -</html>
\ No newline at end of file |