1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-05-18 08:48:20 +03:00

Одинарные кавычки и фикс установщика

This commit is contained in:
chiliec 2015-02-10 21:28:18 +05:00
parent 38f01da097
commit 568ce5a379
10 changed files with 20 additions and 17 deletions

1
.gitignore vendored
View file

@ -1,5 +1,6 @@
/application/config/config.local.php /application/config/config.local.php
/application/config/config.testing.php /application/config/config.testing.php
/application/config/config.production.php
/application/logs/* /application/logs/*
/application/plugins/* /application/plugins/*
/application/tmp/* /application/tmp/*

View file

@ -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')); $this->Viewer_AddHtmlTitle($this->Lang_Get('admin.plugins.title'));
/** /**
* Устанавливаем шаблон вывода * Устанавливаем шаблон вывода

View file

@ -181,8 +181,8 @@ class ActionBlogs extends Action
/** /**
* Загружаем переменные в шаблон * Загружаем переменные в шаблон
*/ */
$this->Viewer_Assign("blogs", $aBlogs); $this->Viewer_Assign('blogs', $aBlogs);
$this->Viewer_Assign("searchCount", $aResult['count']); $this->Viewer_Assign('searchCount', $aResult['count']);
/** /**
* Устанавливаем шаблон вывода * Устанавливаем шаблон вывода
*/ */

View file

@ -37,8 +37,8 @@ class BlockBlogsSearch extends Block
} }
$aCategories = $this->Blog_GetCategoriesTree(); $aCategories = $this->Blog_GetCategoriesTree();
$aBlogsAll = $this->Blog_GetBlogsByFilter(array('exclude_type' => 'personal'), array(), 1, 1, array()); $aBlogsAll = $this->Blog_GetBlogsByFilter(array('exclude_type' => 'personal'), array(), 1, 1, array());
$this->Viewer_Assign("aBlogCategories", $aCategories); $this->Viewer_Assign('aBlogCategories', $aCategories);
$this->Viewer_Assign("iCountBlogsAll", $aBlogsAll['count']); $this->Viewer_Assign('iCountBlogsAll', $aBlogsAll['count']);
$this->SetTemplate('component@blog.block.search'); $this->SetTemplate('component@blog.block.search');
} }
} }

View file

@ -50,9 +50,9 @@ class BlockTagsFavouriteTopic extends Block
/** /**
* Устанавливаем шаблон вывода * Устанавливаем шаблон вывода
*/ */
$this->Viewer_Assign("tags", $aTags, true); $this->Viewer_Assign('tags', $aTags, true);
$this->Viewer_Assign("user", $oUser, true); $this->Viewer_Assign('user', $oUser, true);
$this->Viewer_Assign("activeTag", $this->getParam('activeTag'), true); $this->Viewer_Assign('activeTag', $this->getParam('activeTag'), true);
$this->SetTemplate('component@tags-favourite.cloud'); $this->SetTemplate('component@tags-favourite.cloud');
} }

View file

@ -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);
} }
} }

View file

@ -107,6 +107,9 @@ return array(
'passwd' => 'Пароль должен быть от 3-х символов', 'passwd' => 'Пароль должен быть от 3-х символов',
), ),
), ),
'installComplete' => array(
'title' => 'Установка завершена!',
),
'updateVersion' => array( 'updateVersion' => array(
'title' => 'Выбор текущей версии', 'title' => 'Выбор текущей версии',
'errors' => array( 'errors' => array(
@ -116,6 +119,9 @@ return array(
'updateDb' => array( 'updateDb' => array(
'title' => 'Настройка базы данных', 'title' => 'Настройка базы данных',
), ),
'updateComplete' => array(
'title' => 'Обновление успешно завершено!',
),
), ),
'config' => array( 'config' => array(
'errors' => array( 'errors' => array(

View file

@ -1,6 +1,4 @@
<div class="complete"> <div class="complete">
<h2>Установка завершена!</h2>
<p>Приятного использования LiveStreet!<p> <p>Приятного использования LiveStreet!<p>
<div class="alert alert--info"> <div class="alert alert--info">

View file

@ -1,6 +1,4 @@
<div class="complete"> <div class="complete">
<h2>Обновление успешно завершено!</h2>
<p>Приятного использования новой версией LiveStreet!</p> <p>Приятного использования новой версией LiveStreet!</p>
<div class="alert alert--info"> <div class="alert alert--info">

View file

@ -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');
/** /**
* Определяем дополнительные параметры роутинга * Определяем дополнительные параметры роутинга