Skip to content

Commit

Permalink
Update menu
Browse files Browse the repository at this point in the history
  • Loading branch information
denis-skripnik committed Dec 2, 2020
1 parent 79fae3b commit c92b2ec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ function isJSON($string) {
}

function to_menu($blockchain, $permlink, $ankor, $category = 'no_category') {
if ($blockchain != 'favicon.ico') {
if (is_dir(__DIR__.'/blockchains/'.$blockchain)) {
$file = file_get_contents(__DIR__.'/menu.json');
$taskList = json_decode($file, TRUE);
unset($file);
Expand Down
2 changes: 1 addition & 1 deletion menu.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"viz":{"name":"Viz","services":{"no_category":{"name":"","accounts":"Аккаунты","manage":"Управление","profiles":"Профили","projects":"Проекты","wallet":"Кошелёк","exchange":"Обмен"},"tools":{"name":"Инструменты","awards":"Награждение","calc":"Блокчейн-калькулятор","custom-generator":"custom генератор","randomblockchain":"ГСЧ","search":"Поиск viz-links"},"reytings":{"name":"Рейтинги","top":"Топ пользователей","witnesses-rewards":"Награды делегатов"},"info":{"name":"Информация","explorer":"Блок-эксплорер","buy":"Купить VIZ","help":"Справка"}}},"golos":{"name":"Golos","services":{"reytings":{"name":"Рейтинги","activities":"Активность за сутки","donates":"Топы донатов","referrers":"Топ пригласителей","top":"Топы пользователей","witnesses-rewards":"Награды делегатов"},"tools":{"name":"Инструменты","backup":"Бекап постов","calc":"Блокчейн-калькулятор","polls":"Опросы","randomblockchain":"ГСЧ","swap":"Swap"},"no_category":{"name":"","accounts":"Аккаунты","profiles":"Профили","wallet":"кошелёк","post":"Добавить пост","explorer":"Блок-эксплорер","manage":"Управление","help":"Справка"}}},"steem":{"name":"Steem","services":{"no_category":{"name":"","accounts":"Аккаунты","wallet":"Кошелёк","profiles":"Профили","post":"Публикация постов","manage":"Управление"},"tools":{"name":"Инструменты","randomblockchain":"ГСЧ","calc":"Блокчейн-калькулятор","backup":"Бекап постов"}}},"hive":{"name":"Hive","services":{"":{"name":null,"profiles":"Профили","wallet":"Кошелёк","randomblockchain":"ГСЧ","post":"Публикация постов","manage":"Управление","calc":"Блокчейн-калькулятор","backup":"Бекап постов","accounts":"Аккаунты"}}},"minter":{"name":"Minter","services":{"no_category":{"name":"","randomblockchain":"ГСЧ","profiles":"Профили"}}},"cyber":{"name":"Cyber","services":{"no_category":{"name":"","profiles":"Профили","wallet":"Кошелёк","validators":"Валидаторы","explorer":"Блок-эксплорер","accounts":"Аккаунты"},"tools":{"name":"Инструменты","linker":"Линкер","randomblockchain":"ГСЧ","ipfs":"IPFS"}}},".env":{"name":""},"api":{"services":{"":{"name":null,".env":""}}},"laravel":{"services":{"":{"name":null,".env":""}}},"test":{"services":{"":{"name":null,".env":""}}},"admin":{"services":{"":{"name":null,".env":""}}},"vendor":{"services":{"":{"name":null,".env":""}}},"sites":{"services":{"":{"name":null,".env":""}}},"blog":{"services":{"":{"name":null,".env":""}}}}
{"viz":{"name":"Viz","services":{"no_category":{"name":"","accounts":"Аккаунты","manage":"Управление","profiles":"Профили","projects":"Проекты","wallet":"Кошелёк","exchange":"Обмен"},"tools":{"name":"Инструменты","awards":"Награждение","calc":"Блокчейн-калькулятор","custom-generator":"custom генератор","randomblockchain":"ГСЧ","search":"Поиск viz-links"},"reytings":{"name":"Рейтинги","top":"Топ пользователей","witnesses-rewards":"Награды делегатов"},"info":{"name":"Информация","explorer":"Блок-эксплорер","buy":"Купить VIZ","help":"Справка"}}},"golos":{"name":"Golos","services":{"reytings":{"name":"Рейтинги","activities":"Активность за сутки","donates":"Топы донатов","referrers":"Топ пригласителей","top":"Топы пользователей","witnesses-rewards":"Награды делегатов"},"tools":{"name":"Инструменты","backup":"Бекап постов","calc":"Блокчейн-калькулятор","polls":"Опросы","randomblockchain":"ГСЧ","swap":"Swap"},"no_category":{"name":"","accounts":"Аккаунты","profiles":"Профили","wallet":"кошелёк","post":"Добавить пост","explorer":"Блок-эксплорер","manage":"Управление","help":"Справка"}}},"steem":{"name":"Steem","services":{"no_category":{"name":"","accounts":"Аккаунты","wallet":"Кошелёк","profiles":"Профили","post":"Публикация постов","manage":"Управление"},"tools":{"name":"Инструменты","randomblockchain":"ГСЧ","calc":"Блокчейн-калькулятор","backup":"Бекап постов"}}},"hive":{"name":"Hive","services":{"":{"name":null,"profiles":"Профили","wallet":"Кошелёк","randomblockchain":"ГСЧ","post":"Публикация постов","manage":"Управление","calc":"Блокчейн-калькулятор","backup":"Бекап постов","accounts":"Аккаунты"}}},"minter":{"name":"Minter","services":{"no_category":{"name":"","randomblockchain":"ГСЧ","profiles":"Профили"}}},"cyber":{"name":"Cyber","services":{"no_category":{"name":"","profiles":"Профили","wallet":"Кошелёк","validators":"Валидаторы","explorer":"Блок-эксплорер","accounts":"Аккаунты"},"tools":{"name":"Инструменты","linker":"Линкер","randomblockchain":"ГСЧ","ipfs":"IPFS"}}}}

0 comments on commit c92b2ec

Please sign in to comment.