1
0
mirror of https://github.com/anope/anope.git synced 2026-07-01 21:06:39 +02:00
Files
anope/modules/extra/webcpanel/templates/default/chanserv/chanlist.html
T
Denis M. (Phr33d0m) 8267407a78 Add a couple of usability and aesthetic changes, fix the half-broken chanlist functionality, add a couple of missing ESCAPED_CHANNEL vars
Add missing ESCAPED_CHANNEL
Changed EMAIL_TYPE to FORCE_EMAIL. Now makes more sense
Make it more obvious when the 'email' field is optional
Add a 'Retry' button to go back to the registration page
Fixed broken chanlist functionality. Before even if the user clicked on the channels nothing happened, now it goes straight to the 'set' page (at least something happens)
Small fix, disable the 'Save' button if user has no SET powers
Add another missing ESCAPED_CHANNEL
Add a more clear definition of what hostmasks are allowed in that field, either user@host or nick\!user@host
Fix wrongly placed var
Changed some aesthetics
2013-11-04 23:59:55 +01:00

18 lines
750 B
HTML

<div class="panel-heading">Channels you have access in</div>
<div class="panel-body">
{IF EXISTS CHANNEL_NAMES}
<div>
<h3 style="margin: -12px 0 20px 0;"><small>Choose a channel to access it's Settings, Access or Akick pages.</small></h3>
{FOR CH,ECH IN CHANNEL_NAMES,ESCAPED_CHANNEL_NAMES}
{IF EQ PAGE_NAME /chanserv/info}
<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>
{ELSE}
<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>
{END IF}
{END FOR}
</div>
{ELSE}
<em>You don't have access in any channels.</em><br>
{END IF}
</div>