-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Добавление настройки глобальности сохранения режима переключения
- Loading branch information
Showing
4 changed files
with
53 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,29 @@ | ||
<?php | ||
defined('COT_CODE') or die('Wrong URL.'); | ||
|
||
/** | ||
* Plugin Info | ||
*/ | ||
|
||
$L['info_desc'] = 'Добавляет возможность посетителям переключать режим отображения(шаблоны) категории'; | ||
|
||
/** | ||
* Plugin Config | ||
*/ | ||
|
||
$L['cfg_mode'] = array('Коды режимов', 'через запятую'); | ||
|
||
/** | ||
* Plugin Admin | ||
*/ | ||
|
||
//$L['adm_'] = ''; | ||
|
||
/** | ||
* Plugin Body | ||
*/ | ||
|
||
$L['plug_cattemplateswitcher_mode']['line'] = 'Линейный'; | ||
$L['plug_cattemplateswitcher_mode']['table'] = 'Таблица'; | ||
$L['plug_cattemplateswitcher_mode']['default'] = 'По умолчанию'; | ||
<?php | ||
defined('COT_CODE') or die('Wrong URL.'); | ||
|
||
/** | ||
* Plugin Info | ||
*/ | ||
|
||
$L['info_desc'] = 'Добавляет возможность посетителям переключать режим отображения(шаблоны) категории'; | ||
|
||
/** | ||
* Plugin Config | ||
*/ | ||
|
||
$L['cfg_mode'] = array('Коды режимов', 'через запятую'); | ||
$L['cfg_global_save'] = array('Сохранять переключение режима для каждой категории отдельно или для всех?', 'Если "Да" то для каждой, если "Нет" то для всех'); | ||
|
||
/** | ||
* Plugin Admin | ||
*/ | ||
|
||
//$L['adm_'] = ''; | ||
|
||
/** | ||
* Plugin Body | ||
*/ | ||
|
||
$L['plug_cattemplateswitcher_mode']['line'] = 'Линейный'; | ||
$L['plug_cattemplateswitcher_mode']['table'] = 'Таблица'; | ||
$L['plug_cattemplateswitcher_mode']['default'] = 'По умолчанию'; |