mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-08 01:14:24 +03:00
c31a235423
Остальные перенесены во фреймворк
26 lines
858 B
Smarty
26 lines
858 B
Smarty
{**
|
|
* Управления опросами (добавление/удаление/редактирование)
|
|
*
|
|
* @param string $targetId
|
|
* @param string $targetType
|
|
*
|
|
* @styles poll.css
|
|
* @scripts <common>/js/poll.js
|
|
*}
|
|
|
|
<div class="fieldset poll-manage js-poll-manage" data-type="{$smarty.local.targetType}" data-target-id="{$smarty.local.targetId}">
|
|
<header class="fieldset-header">
|
|
<h3 class="fieldset-title">{$aLang.poll.polls}</h3>
|
|
</header>
|
|
|
|
<div class="fieldset-body">
|
|
{* Кнопка добавить *}
|
|
{component 'button' text=$aLang.common.add type='button' classes='poll-manage-add js-poll-manage-add'}
|
|
|
|
{* Список добавленных опросов *}
|
|
{insert name="block" block="pollFormItems" params=[
|
|
'target_type' => $smarty.local.targetType,
|
|
'target_id' => $smarty.local.targetId
|
|
]}
|
|
</div>
|
|
</div> |