2013-05-04 17:10:22 +03:00
|
|
|
{**
|
|
|
|
* Блок настройки ленты активности
|
|
|
|
*
|
|
|
|
* @styles css/blocks.css
|
|
|
|
*}
|
|
|
|
|
|
|
|
{extends file='blocks/block.aside.base.tpl'}
|
2013-05-17 14:32:03 +03:00
|
|
|
|
2013-05-06 07:33:38 +03:00
|
|
|
{block name='block_title'}{$aLang.stream_block_config_title}{/block}
|
|
|
|
{block name='block_type'}activity{/block}
|
2013-05-04 17:10:22 +03:00
|
|
|
|
2013-05-06 07:33:38 +03:00
|
|
|
{block name='block_content'}
|
2013-05-04 17:10:22 +03:00
|
|
|
{if $oUserCurrent}
|
|
|
|
<small class="note">{$aLang.stream_settings_note_filter}</small>
|
|
|
|
|
|
|
|
<ul class="activity-settings-filter">
|
2013-07-10 11:36:21 +03:00
|
|
|
{foreach $aStreamEventTypes as $sType => $aEventType}
|
|
|
|
{if ! ($oConfig->get('module.stream.disable_vote_events') && substr($sType, 0, 4) == 'vote')}
|
2013-05-04 17:10:22 +03:00
|
|
|
<li>
|
|
|
|
<label>
|
2013-07-10 11:36:21 +03:00
|
|
|
<input type="checkbox"
|
|
|
|
id="strn_et_{$sType}"
|
|
|
|
{if in_array($sType, $aStreamTypesList)}checked{/if}
|
|
|
|
onclick="ls.stream.switchEventType('{$sType}')" />
|
|
|
|
{$langKey = "stream_event_type_`$sType`"}
|
2013-05-04 17:10:22 +03:00
|
|
|
{$aLang.$langKey}
|
|
|
|
</label>
|
|
|
|
</li>
|
|
|
|
{/if}
|
|
|
|
{/foreach}
|
|
|
|
</ul>
|
|
|
|
{/if}
|
|
|
|
{/block}
|