Skip to content

Commit 2447bf3

Browse files
committed
undo shared templates
1 parent 9ae6751 commit 2447bf3

7 files changed

+8
-8
lines changed

acptemplates/discordChannelMultiSelect.tpl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@
1414
<div id="{$optionName}-{$bot['botID']}" class="tabMenuContent hidden" data-name="{$optionName}-{$bot['botID']}">
1515
<div class="section">
1616
<ul class="scrollableCheckboxList" id="{$optionName}_{$bot['botID']}" style="height: 200px;">
17-
{include file="shared_discordChannelMultiSelectSub" botChannels=$bot['channels'] botID=$bot['botID']}
17+
{include file="__discordChannelMultiSelectSub" botChannels=$bot['channels'] botID=$bot['botID']}
1818
{foreach from=$bot['channels'] item=channel}
1919
{if $channel['type'] == 4}
2020
<li>
2121
<label><input type="checkbox" name="values[{$optionName}][{$bot['botID']}][]" value="{$channel['id']}" style="display: none;"> <b>{$channel['name']}</b></label>
2222
</li>
23-
{include file="shared_discordChannelMultiSelectSub" botChannels=$channel['childs'] botID=$bot['botID']}
23+
{include file="__discordChannelMultiSelectSub" botChannels=$channel['childs'] botID=$bot['botID']}
2424
{/if}
2525
{/foreach}
2626
</ul>
@@ -45,13 +45,13 @@
4545
</script>
4646
{else if $bots|count == 1}
4747
<ul class="scrollableCheckboxList" id="{$optionName}" style="height: 200px;">
48-
{include file="shared_discordChannelMultiSelectSub" botChannels=$bots[0]['channels'] botID=$bots[0]['botID']}
48+
{include file="__discordChannelMultiSelectSub" botChannels=$bots[0]['channels'] botID=$bots[0]['botID']}
4949
{foreach from=$bots[0]['channels'] item=channel}
5050
{if $channel['type'] == 4}
5151
<li>
5252
<label><input type="checkbox" name="values[{$optionName}][{$bots[0]['botID']}][]" value="{$channel['id']}" style="display: none;"> <b>{$channel['name']}</b></label>
5353
</li>
54-
{include file="shared_discordChannelMultiSelectSub" botChannels=$channel['childs'] botID=$bots[0]['botID']}
54+
{include file="__discordChannelMultiSelectSub" botChannels=$channel['childs'] botID=$bots[0]['botID']}
5555
{/if}
5656
{/foreach}
5757
</ul>

acptemplates/discordChannelSelectOptionType.tpl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@
1414
<div id="{$optionName}-{$bot['botID']}" class="tabMenuContent hidden" data-name="{$optionName}-{$bot['botID']}">
1515
<div class="section">
1616
<ul class="scrollableCheckboxList" id="{$optionName}_{$bot['botID']}" style="height: 200px;">
17-
{include file="shared_discordChannelSelectSub" botChannels=$bot['channels'] botID=$bot['botID']}
17+
{include file="__discordChannelSelectSub" botChannels=$bot['channels'] botID=$bot['botID']}
1818
{foreach from=$bot['channels'] item=channel}
1919
{if $channel['type'] == 4}
2020
<li>
2121
<label><input type="radio" name="values[{$optionName}][{$bot['botID']}][]" value="{$channel['id']}" style="display: none;"> <b>{$channel['name']}</b></label>
2222
</li>
23-
{include file="shared_discordChannelSelectSub" botChannels=$channel['childs'] botID=$bot['botID']}
23+
{include file="__discordChannelSelectSub" botChannels=$channel['childs'] botID=$bot['botID']}
2424
{/if}
2525
{/foreach}
2626
</ul>
@@ -45,13 +45,13 @@
4545
</script>
4646
{else if $bots|count == 1}
4747
<ul class="scrollableCheckboxList" id="{$optionName}" style="height: 200px;">
48-
{include file="shared_discordChannelSelectSub" botChannels=$bots[0]['channels'] botID=$bots[0]['botID']}
48+
{include file="__discordChannelSelectSub" botChannels=$bots[0]['channels'] botID=$bots[0]['botID']}
4949
{foreach from=$bots[0]['channels'] item=channel}
5050
{if $channel['type'] == 4}
5151
<li>
5252
<label><input type="radio" name="values[{$optionName}][{$bots[0]['botID']}]" value="{$channel['id']}" style="display: none;"> <b>{$channel['name']}</b></label>
5353
</li>
54-
{include file="shared_discordChannelSelectSub" botChannels=$channel['childs'] botID=$bots[0]['botID']}
54+
{include file="__discordChannelSelectSub" botChannels=$channel['childs'] botID=$bots[0]['botID']}
5555
{/if}
5656
{/foreach}
5757
</ul>

0 commit comments

Comments
 (0)