mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-05-04 18:08:19 +03:00
Одинарные кавычки и фикс установщика
This commit is contained in:
parent
38f01da097
commit
568ce5a379
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,5 +1,6 @@
|
|||
/application/config/config.local.php
|
||||
/application/config/config.testing.php
|
||||
/application/config/config.production.php
|
||||
/application/logs/*
|
||||
/application/plugins/*
|
||||
/application/tmp/*
|
||||
|
|
|
@ -107,7 +107,7 @@ class ActionAdmin extends Action
|
|||
/**
|
||||
* Загружаем переменные в шаблон
|
||||
*/
|
||||
$this->Viewer_Assign("plugins", $aPlugins);
|
||||
$this->Viewer_Assign('plugins', $aPlugins);
|
||||
$this->Viewer_AddHtmlTitle($this->Lang_Get('admin.plugins.title'));
|
||||
/**
|
||||
* Устанавливаем шаблон вывода
|
||||
|
|
|
@ -181,8 +181,8 @@ class ActionBlogs extends Action
|
|||
/**
|
||||
* Загружаем переменные в шаблон
|
||||
*/
|
||||
$this->Viewer_Assign("blogs", $aBlogs);
|
||||
$this->Viewer_Assign("searchCount", $aResult['count']);
|
||||
$this->Viewer_Assign('blogs', $aBlogs);
|
||||
$this->Viewer_Assign('searchCount', $aResult['count']);
|
||||
/**
|
||||
* Устанавливаем шаблон вывода
|
||||
*/
|
||||
|
|
|
@ -37,8 +37,8 @@ class BlockBlogsSearch extends Block
|
|||
}
|
||||
$aCategories = $this->Blog_GetCategoriesTree();
|
||||
$aBlogsAll = $this->Blog_GetBlogsByFilter(array('exclude_type' => 'personal'), array(), 1, 1, array());
|
||||
$this->Viewer_Assign("aBlogCategories", $aCategories);
|
||||
$this->Viewer_Assign("iCountBlogsAll", $aBlogsAll['count']);
|
||||
$this->Viewer_Assign('aBlogCategories', $aCategories);
|
||||
$this->Viewer_Assign('iCountBlogsAll', $aBlogsAll['count']);
|
||||
$this->SetTemplate('component@blog.block.search');
|
||||
}
|
||||
}
|
|
@ -50,9 +50,9 @@ class BlockTagsFavouriteTopic extends Block
|
|||
/**
|
||||
* Устанавливаем шаблон вывода
|
||||
*/
|
||||
$this->Viewer_Assign("tags", $aTags, true);
|
||||
$this->Viewer_Assign("user", $oUser, true);
|
||||
$this->Viewer_Assign("activeTag", $this->getParam('activeTag'), true);
|
||||
$this->Viewer_Assign('tags', $aTags, true);
|
||||
$this->Viewer_Assign('user', $oUser, true);
|
||||
$this->Viewer_Assign('activeTag', $this->getParam('activeTag'), true);
|
||||
|
||||
$this->SetTemplate('component@tags-favourite.cloud');
|
||||
}
|
||||
|
|
|
@ -44,7 +44,7 @@ class BlockTopicsTags extends Block
|
|||
/**
|
||||
* Устанавливаем шаблон вывода
|
||||
*/
|
||||
$this->Viewer_Assign("tags", $aTags, true);
|
||||
$this->Viewer_Assign('tags', $aTags, true);
|
||||
}
|
||||
/**
|
||||
* Теги пользователя
|
||||
|
@ -60,7 +60,7 @@ class BlockTopicsTags extends Block
|
|||
/**
|
||||
* Устанавливаем шаблон вывода
|
||||
*/
|
||||
$this->Viewer_Assign("tagsUser", $aTags, true);
|
||||
$this->Viewer_Assign('tagsUser', $aTags, true);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -107,6 +107,9 @@ return array(
|
|||
'passwd' => 'Пароль должен быть от 3-х символов',
|
||||
),
|
||||
),
|
||||
'installComplete' => array(
|
||||
'title' => 'Установка завершена!',
|
||||
),
|
||||
'updateVersion' => array(
|
||||
'title' => 'Выбор текущей версии',
|
||||
'errors' => array(
|
||||
|
@ -116,6 +119,9 @@ return array(
|
|||
'updateDb' => array(
|
||||
'title' => 'Настройка базы данных',
|
||||
),
|
||||
'updateComplete' => array(
|
||||
'title' => 'Обновление успешно завершено!',
|
||||
),
|
||||
),
|
||||
'config' => array(
|
||||
'errors' => array(
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
<div class="complete">
|
||||
<h2>Установка завершена!</h2>
|
||||
|
||||
<p>Приятного использования LiveStreet!<p>
|
||||
|
||||
<div class="alert alert--info">
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
<div class="complete">
|
||||
<h2>Обновление успешно завершено!</h2>
|
||||
|
||||
<p>Приятного использования новой версией LiveStreet!</p>
|
||||
|
||||
<div class="alert alert--info">
|
||||
|
|
|
@ -35,7 +35,7 @@ $sPathToFramework = dirname(__DIR__) . '/framework/';
|
|||
/**
|
||||
* Подключаем ядро
|
||||
*/
|
||||
require_once($sPathToFramework . "/classes/engine/Engine.class.php");
|
||||
require_once($sPathToFramework . '/classes/engine/Engine.class.php');
|
||||
|
||||
/**
|
||||
* Определяем окружение
|
||||
|
@ -51,12 +51,12 @@ $sEnv = Engine::DetectEnvironment(array(
|
|||
/**
|
||||
* Дополнительные подготовка фреймворка
|
||||
*/
|
||||
require_once($sPathToFramework . "/bootstrap/start.php");
|
||||
require_once($sPathToFramework . '/bootstrap/start.php');
|
||||
|
||||
/**
|
||||
* Подключаем загрузчик конфигов
|
||||
*/
|
||||
require_once($sPathToFramework . "/config/loader.php");
|
||||
require_once($sPathToFramework . '/config/loader.php');
|
||||
|
||||
/**
|
||||
* Определяем дополнительные параметры роутинга
|
||||
|
|
Loading…
Reference in a new issue