diff options
| author | Denis M. (Phr33d0m) <god@politeia.in> | 2013-10-13 15:42:12 +0200 |
|---|---|---|
| committer | Denis M. (Phr33d0m) <god@politeia.in> | 2013-11-04 23:59:55 +0100 |
| commit | 8267407a78375652859f9e6b0a3a6fbabdd4a98b (patch) | |
| tree | 423533aa212fb2a12f3aaac05af8567168b8b478 /modules/extra/webcpanel/templates/default/chanserv/set.html | |
| parent | 6e8d2bf09dbc349df5e2d2094a83a60c6309b76b (diff) | |
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
Diffstat (limited to 'modules/extra/webcpanel/templates/default/chanserv/set.html')
| -rw-r--r-- | modules/extra/webcpanel/templates/default/chanserv/set.html | 11 |
1 files changed, 9 insertions, 2 deletions
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}<form method="post" action="/chanserv/set?channel={CHANNEL_ESCAPED}">{END IF} + {IF EXISTS CAN_SET} + <form method="post" action="/chanserv/set?channel={CHANNEL_ESCAPED}"> + {END IF} <table id="tableInfo" class="table table-hover"> <tr> <td>Channel Name</td> @@ -74,13 +76,18 @@ <td>Topic Lock</td> <td><input type="checkbox" name="topiclock" value="on" {IF EXISTS TOPICLOCK}checked{END IF}></td> </tr> + {IF EXISTS CAN_SET} <tr> <td></td> <td><button type="submit" class="btn btn-primary">Save</button></td> </tr> {END IF} + {END IF} </table> - {IF EXISTS CAN_SET}</form>{END IF} + + {IF EXISTS CAN_SET} + </form> + {END IF} {END IF} </div> {INCLUDE footer.html} |
