Skip to content

Commit 49aeee2

Browse files
committed
replace templates with prefix __ with shared_
1 parent a529450 commit 49aeee2

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="__discordChannelMultiSelectSub" botChannels=$bot['channels'] botID=$bot['botID']}
17+
{include file="shared_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="__discordChannelMultiSelectSub" botChannels=$channel['childs'] botID=$bot['botID']}
23+
{include file="shared_discordChannelMultiSelectSub" botChannels=$channel['childs'] botID=$bot['botID']}
2424
{/if}
2525
{/foreach}
2626
</ul>
@@ -49,13 +49,13 @@
4949
</script>
5050
{else if $bots|count == 1}
5151
<ul class="scrollableCheckboxList" id="{$optionName}" style="height: 200px;">
52-
{include file="__discordChannelMultiSelectSub" botChannels=$bots[0]['channels'] botID=$bots[0]['botID']}
52+
{include file="shared_discordChannelMultiSelectSub" botChannels=$bots[0]['channels'] botID=$bots[0]['botID']}
5353
{foreach from=$bots[0]['channels'] item=channel}
5454
{if $channel['type'] == 4}
5555
<li>
5656
<label><input type="checkbox" name="values[{$optionName}][{$bots[0]['botID']}][]" value="{$channel['id']}" style="display: none;"> <b>{$channel['name']}</b></label>
5757
</li>
58-
{include file="__discordChannelMultiSelectSub" botChannels=$channel['childs'] botID=$bots[0]['botID']}
58+
{include file="shared_discordChannelMultiSelectSub" botChannels=$channel['childs'] botID=$bots[0]['botID']}
5959
{/if}
6060
{/foreach}
6161
</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="__discordChannelSelectSub" botChannels=$bot['channels'] botID=$bot['botID']}
17+
{include file="shared_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="__discordChannelSelectSub" botChannels=$channel['childs'] botID=$bot['botID']}
23+
{include file="shared_discordChannelSelectSub" botChannels=$channel['childs'] botID=$bot['botID']}
2424
{/if}
2525
{/foreach}
2626
</ul>
@@ -49,13 +49,13 @@
4949
</script>
5050
{else if $bots|count == 1}
5151
<ul class="scrollableCheckboxList" id="{$optionName}" style="height: 200px;">
52-
{include file="__discordChannelSelectSub" botChannels=$bots[0]['channels'] botID=$bots[0]['botID']}
52+
{include file="shared_discordChannelSelectSub" botChannels=$bots[0]['channels'] botID=$bots[0]['botID']}
5353
{foreach from=$bots[0]['channels'] item=channel}
5454
{if $channel['type'] == 4}
5555
<li>
5656
<label><input type="radio" name="values[{$optionName}][{$bots[0]['botID']}]" value="{$channel['id']}" style="display: none;"> <b>{$channel['name']}</b></label>
5757
</li>
58-
{include file="__discordChannelSelectSub" botChannels=$channel['childs'] botID=$bots[0]['botID']}
58+
{include file="shared_discordChannelSelectSub" botChannels=$channel['childs'] botID=$bots[0]['botID']}
5959
{/if}
6060
{/foreach}
6161
</ul>

0 commit comments

Comments
 (0)