Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added english default #140

Open
wants to merge 2 commits into
base: alpha
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/modules/module_sidebar_social/description.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"icon_group": "zmdi",
"icon_category": "",
"icon": "vk",
"name": "Группа Вконтакте",
"name": "VK community",
"sidebar_directory": "_Sidebar_social"
},
"2": {
Expand Down
20 changes: 10 additions & 10 deletions app/page/custom/install/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,31 +19,31 @@
(!empty($_GET['code']) && !empty($_GET['description'])) && exit(require PAGE_CUSTOM . '/error/index.php');

// Проверка на PDO
class_exists('PDO') || get_iframe('001','Для работы нужна поддержка PDO');
class_exists('PDO') || get_iframe('001','Need support to work PDO');

// Проверка на BCMath
extension_loaded('bcmath') == 0 && get_iframe('001','Расширение для PHP не было найдено :: BCMath');
extension_loaded('bcmath') == 0 && get_iframe('001','PHP extension not found :: BCMath');

// Проверка на cURL
extension_loaded('curl') == 0 && get_iframe('001','Расширение для PHP не было найдено :: cURL');
extension_loaded('curl') == 0 && get_iframe('001','PHP extension not found :: cURL');

// Проверка на json
extension_loaded('json') == 0 && get_iframe('001','Расширение для PHP не было найдено :: json');
extension_loaded('json') == 0 && get_iframe('001','PHP extension not found :: json');

// Проверка на Zip
extension_loaded('zip') == 0 && get_iframe('001','Расширение для PHP не было найдено :: Zip');
extension_loaded('zip') == 0 && get_iframe('001','PHP extension not found :: Zip');

// Проверка на GMP
extension_loaded('gmp') == 0 && get_iframe('001','Расширение для PHP не было найдено :: GMP');
extension_loaded('gmp') == 0 && get_iframe('001','PHP extension not found :: GMP');

// Проверка прав доступа каталога кэша ( 0777 )
substr( sprintf( '%o', fileperms( SESSIONS ) ), -4) !== '0777' && get_iframe( '002','Не установлены права доступа 777 на директорию :: /storage/cache/sessions/' );
substr( sprintf( '%o', fileperms( SESSIONS ) ), -4) !== '0777' && get_iframe( '002','777 permissions not set on the directory :: /storage/cache/sessions/' );

// Создание папки - avatars
! file_exists( CACHE . 'img/avatars/' ) && mkdir( CACHE . 'img/avatars/', 0777, true );

// Проверка прав доступа на кэш аватарок ( 0777 )
substr( sprintf( '%o', fileperms( CACHE . 'img/avatars/' ) ), -4) !== '0777' && get_iframe( '002','Не установлены права доступа 777 на директорию :: /storage/cache/img/avatars/' );
substr( sprintf( '%o', fileperms( CACHE . 'img/avatars/' ) ), -4) !== '0777' && get_iframe( '002','777 permissions not set on the directory :: /storage/cache/img/avatars/' );

// Создание папки - css
! file_exists( ASSETS_CSS ) && mkdir( ASSETS_CSS, 0777, true );
Expand All @@ -52,7 +52,7 @@ class_exists('PDO') || get_iframe('001','Для работы нужна подд
! file_exists( ASSETS_CSS . 'generation/' ) && mkdir( ASSETS_CSS . 'generation/', 0777, true );

// Проверка прав доступа на ассеты - CSS ( 0777 )
substr( sprintf( '%o', fileperms( ASSETS_CSS ) ), -4) !== '0777' && get_iframe( '002','Не установлены права доступа 777 на директорию :: /storage/assets/css/' );
substr( sprintf( '%o', fileperms( ASSETS_CSS ) ), -4) !== '0777' && get_iframe( '002','777 permissions not set on the directory :: /storage/assets/css/' );

// Создание папки - js
! file_exists( ASSETS_JS ) && mkdir( ASSETS_JS, 0777, true );
Expand All @@ -61,7 +61,7 @@ class_exists('PDO') || get_iframe('001','Для работы нужна подд
! file_exists( ASSETS_JS . 'generation/' ) && mkdir( ASSETS_JS . 'generation/', 0777, true );

// Проверка прав доступа на ассеты - JS ( 0777 )
substr( sprintf( '%o', fileperms( ASSETS_JS ) ), -4) !== '0777' && get_iframe( '002','Не установлены права доступа 777 на директорию :: /storage/assets/js/' );
substr( sprintf( '%o', fileperms( ASSETS_JS ) ), -4) !== '0777' && get_iframe( '002','777 permissions not set on the directory :: /storage/assets/js/' );

// Проверка на существование файла с настройками
if ( ! file_exists( SESSIONS . '/options.php' ) ):
Expand Down
2 changes: 1 addition & 1 deletion app/templates/default/description.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "Стандартный шаблон LR WEB",
"name": "Standard Template LR WEB",
"version": "1.0",
"author": "Flames"
}
4 changes: 2 additions & 2 deletions app/templates/default/interface/navbar.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@
<form enctype="multipart/form-data" method="post">
<div class="search_form">
<div class="input-form">
<label>Поиск</label>
<label>Search</label>
<input type="text" value="" name="_steam_id" placeholder="STEAM_1:1:390... / 7656119803..." >
</div>
<input class="btn no_steam" name="btn_search" type="submit" value="Найти">
<input class="btn no_steam" name="btn_search" type="submit" value="Find">
</div>
</form>
</ul>
Expand Down
2 changes: 1 addition & 1 deletion app/templates/default_dark/description.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "Переделанный шаблон LR WEB",
"name": "Redesigned template LR WEB",
"version": "1.0",
"author": "Flames && designed PEPSIMAX ♕#6171"
}
2 changes: 1 addition & 1 deletion app/templates/default_dark/interface/sidebar.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<a href="?auth=login" class="auth-steam-sidebar"><i class="zmdi zmdi-steam-square"></i></a>
<?php endif; ?>
<?php if( $General->arr_general['steam_only_authorization'] == 0 ):?>
<span class="user_or">Или</span>
<span class="user_or">Or</span>
<a class="login_in" href="#login"><?php echo $Translate->get_translate_phrase('_Log_in')?></a>
<?php endif; endif; ?>
</div>
Expand Down
2 changes: 1 addition & 1 deletion app/templates/default_navbar/description.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "Стандартный шаблон LR WEB с навбаром",
"name": "Standard Template LR WEB with navbar",
"version": "1.0",
"author": "Flames"
}