mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-16 21:34:25 +03:00
4f222aaa25
* Часть компонентов перенесена в папку components * Из лок-ии убраны лишнии текстовки * Переписан модуль vote.js с использованием jquery widget factory * Мелкие доработки и исправления
30 lines
842 B
Smarty
30 lines
842 B
Smarty
{**
|
|
* Подгрузка контента
|
|
*
|
|
* @param string $sText
|
|
* @param string $sTarget
|
|
* @param integer $iCount
|
|
* @param integer $iTargetId
|
|
* @param integer $iLastId
|
|
* @param boolean $bAppend
|
|
*
|
|
* @styles assets/css/components/more.css
|
|
* @scripts <common>/js/more.js
|
|
*}
|
|
|
|
{* Название компонента *}
|
|
{$_sComponentName = 'more'}
|
|
|
|
<div class="{$_sComponentName} {mod name=$_sComponentName mods=$smarty.local.sMods} {$smarty.local.sClasses}"
|
|
data-more-append="{$smarty.local.bAppend|default:true}"
|
|
{if $smarty.local.sTarget}data-more-target="{$smarty.local.sTarget}"{/if}
|
|
{$smarty.local.sAttributes}>
|
|
|
|
{* Текст *}
|
|
{$smarty.local.sText|default:'Подгрузить еще'}
|
|
|
|
{* Счетчик *}
|
|
{if $smarty.local.iCount}
|
|
(<span class="js-more-count">{$smarty.local.iCount}</span>)
|
|
{/if}
|
|
</div> |