From 8267407a78375652859f9e6b0a3a6fbabdd4a98b Mon Sep 17 00:00:00 2001 From: "Denis M. (Phr33d0m)" Date: Sun, 13 Oct 2013 15:42:12 +0200 Subject: 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 --- .../extra/webcpanel/templates/default/chanserv/access.html | 2 +- modules/extra/webcpanel/templates/default/chanserv/akick.html | 2 +- .../extra/webcpanel/templates/default/chanserv/chanlist.html | 10 +++++++--- modules/extra/webcpanel/templates/default/chanserv/drop.html | 4 ++-- modules/extra/webcpanel/templates/default/chanserv/modes.html | 2 +- modules/extra/webcpanel/templates/default/chanserv/set.html | 11 +++++++++-- modules/extra/webcpanel/templates/default/confirm.html | 4 +++- .../extra/webcpanel/templates/default/nickserv/access.html | 2 +- modules/extra/webcpanel/templates/default/operserv/akill.html | 2 +- modules/extra/webcpanel/templates/default/register.html | 10 +++++++++- 10 files changed, 35 insertions(+), 14 deletions(-) (limited to 'modules/extra/webcpanel/templates/default') diff --git a/modules/extra/webcpanel/templates/default/chanserv/access.html b/modules/extra/webcpanel/templates/default/chanserv/access.html index 09bc26d8d..c50434f8a 100644 --- a/modules/extra/webcpanel/templates/default/chanserv/access.html +++ b/modules/extra/webcpanel/templates/default/chanserv/access.html @@ -46,7 +46,7 @@
- +
diff --git a/modules/extra/webcpanel/templates/default/chanserv/akick.html b/modules/extra/webcpanel/templates/default/chanserv/akick.html index 75cf894e2..ddfea546c 100644 --- a/modules/extra/webcpanel/templates/default/chanserv/akick.html +++ b/modules/extra/webcpanel/templates/default/chanserv/akick.html @@ -41,7 +41,7 @@
- +
diff --git a/modules/extra/webcpanel/templates/default/chanserv/chanlist.html b/modules/extra/webcpanel/templates/default/chanserv/chanlist.html index 4d386f6b0..8f00f02ac 100644 --- a/modules/extra/webcpanel/templates/default/chanserv/chanlist.html +++ b/modules/extra/webcpanel/templates/default/chanserv/chanlist.html @@ -1,13 +1,17 @@ - +
Channels you have access in
{IF EXISTS CHANNEL_NAMES}

Choose a channel to access it's Settings, Access or Akick pages.

{FOR CH,ECH IN CHANNEL_NAMES,ESCAPED_CHANNEL_NAMES} - {CH} + {IF EQ PAGE_NAME /chanserv/info} + {CH} + {ELSE} + {CH} + {END IF} {END FOR}
{ELSE} You don't have access in any channels.
{END IF} -

+
diff --git a/modules/extra/webcpanel/templates/default/chanserv/drop.html b/modules/extra/webcpanel/templates/default/chanserv/drop.html index 23cb42a1e..c28eb051a 100644 --- a/modules/extra/webcpanel/templates/default/chanserv/drop.html +++ b/modules/extra/webcpanel/templates/default/chanserv/drop.html @@ -15,13 +15,13 @@
- +
-
+
diff --git a/modules/extra/webcpanel/templates/default/chanserv/modes.html b/modules/extra/webcpanel/templates/default/chanserv/modes.html index 861bb0985..3c7fe7ab3 100644 --- a/modules/extra/webcpanel/templates/default/chanserv/modes.html +++ b/modules/extra/webcpanel/templates/default/chanserv/modes.html @@ -42,7 +42,7 @@
- +
diff --git a/modules/extra/webcpanel/templates/default/chanserv/set.html b/modules/extra/webcpanel/templates/default/chanserv/set.html index 0a26e3d74..050c37f69 100644 --- a/modules/extra/webcpanel/templates/default/chanserv/set.html +++ b/modules/extra/webcpanel/templates/default/chanserv/set.html @@ -9,7 +9,9 @@ {END FOR} {IF EXISTS OKAY} - {IF EXISTS CAN_SET}
{END IF} + {IF EXISTS CAN_SET} + + {END IF} @@ -74,13 +76,18 @@ + {IF EXISTS CAN_SET} {END IF} + {END IF}
Channel NameTopic Lock
- {IF EXISTS CAN_SET}
{END IF} + + {IF EXISTS CAN_SET} + + {END IF} {END IF}
{INCLUDE footer.html} diff --git a/modules/extra/webcpanel/templates/default/confirm.html b/modules/extra/webcpanel/templates/default/confirm.html index 17b0f7816..f9f315fd3 100644 --- a/modules/extra/webcpanel/templates/default/confirm.html +++ b/modules/extra/webcpanel/templates/default/confirm.html @@ -24,12 +24,14 @@

Register

{IF EXISTS MESSAGES} -
+
{FOR M IN MESSAGES} {M}
{END FOR}
{END IF} + + Retry
diff --git a/modules/extra/webcpanel/templates/default/nickserv/access.html b/modules/extra/webcpanel/templates/default/nickserv/access.html index c5397a4a0..d4be56279 100644 --- a/modules/extra/webcpanel/templates/default/nickserv/access.html +++ b/modules/extra/webcpanel/templates/default/nickserv/access.html @@ -29,7 +29,7 @@
- +
diff --git a/modules/extra/webcpanel/templates/default/operserv/akill.html b/modules/extra/webcpanel/templates/default/operserv/akill.html index 9b269a7c0..2a6bf4f56 100644 --- a/modules/extra/webcpanel/templates/default/operserv/akill.html +++ b/modules/extra/webcpanel/templates/default/operserv/akill.html @@ -51,7 +51,7 @@
- +
diff --git a/modules/extra/webcpanel/templates/default/register.html b/modules/extra/webcpanel/templates/default/register.html index 821911b9b..bebf4e276 100644 --- a/modules/extra/webcpanel/templates/default/register.html +++ b/modules/extra/webcpanel/templates/default/register.html @@ -34,8 +34,16 @@ style="margin-bottom: -1px; border-bottom-left-radius: 0; border-bottom-right-radius: 0;"> + + {IF EXISTS FORCE_EMAIL} + + {ELSE} +

Optional

+ style="margin-bottom: 15px;"> + {END IF} +
-- cgit