Debian Codegraph @

modules/webcpanel/templates/default/chanserv/chanlist.html

raw
1 <div class="panel-heading">Channels you have access in</div>
2 <div class="panel-body">
3 {IF EXISTS CHANNEL_NAMES}
4 <div>
5 <h3 style="margin: -12px 0 20px 0;"><small>Choose a channel to access it's Settings, Access or Akick pages.</small></h3>
6 {FOR CH,ECH IN CHANNEL_NAMES,ESCAPED_CHANNEL_NAMES}
7 {IF EQ PAGE_NAME /chanserv/info}
8 <a href="set?channel={ECH}" class="btn btn-sm btn-primary {IF EQ ECH ESCAPED_CHANNEL}disabled{END IF}" style="margin-bottom: 4px;">{CH}</a>
9 {ELSE}
10 <a href="{PAGE_NAME}?channel={ECH}" class="btn btn-sm btn-primary {IF EQ ECH ESCAPED_CHANNEL}disabled{END IF}" style="margin-bottom: 4px;">{CH}</a>
11 {END IF}
12 {END FOR}
13 </div>
14 {ELSE}
15 <em>You don't have access in any channels.</em><br>
16 {END IF}
17 </div>