Skip to content

Commit

Permalink
Добавлена документация по адаптации шаблонов.
Browse files Browse the repository at this point in the history
  • Loading branch information
vponomarev committed Jul 27, 2020
1 parent 36ea6d2 commit 3a0a6b7
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
16 changes: 16 additions & 0 deletions docs/template-upgrade.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Изменения в системе шаблонизации, начиная с версии 0.9.7 GIT 20200727
Начиная с этой версии в NGCMS вносятся изменения, позволяющие полностью отказаться от старого шаблонизатора и перейти на TWIG.

- 2020.07.27:
- - sitelock.tpl


# sitelock.tpl
Информация о том, что сайт временно недоступен.
Поддерживаемые переменные:
* {{ lock_reason }} - причина блокировки (устанавливается в админ панели)

Общие переменные для шаблонов:
* {{ what }} - ID NGCMS
* {{ version }} - версия NGCMS

2 changes: 1 addition & 1 deletion engine/includes/inc/consts.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
@define('engineName', 'NGCMS');
@define('engineVersion', '0.9.7 RC0');
@define('engineVersionType', 'GIT');
@define('engineVersionBuild', '20200726');
@define('engineVersionBuild', '20200727');
@define('minDBVersion', 3);

@define('prefix', $config['prefix']);
Expand Down

0 comments on commit 3a0a6b7

Please sign in to comment.