diff options
| author | DukePyrolator <DukePyrolator@anope.org> | 2013-09-03 04:37:09 +0200 |
|---|---|---|
| committer | DukePyrolator <DukePyrolator@anope.org> | 2013-09-03 04:37:09 +0200 |
| commit | 404debf78925f86e94cfd71334433bc1eb423115 (patch) | |
| tree | 6388a371c610d67dbee46bd7a898bb18359765e8 /modules/extra/webcpanel/templates/default/chanserv/set.html | |
| parent | 752a5ca1b7d89044728a045622b3f3db5fb94f7e (diff) | |
updated the chanserv section in webcpanel
Diffstat (limited to 'modules/extra/webcpanel/templates/default/chanserv/set.html')
| -rw-r--r-- | modules/extra/webcpanel/templates/default/chanserv/set.html | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/modules/extra/webcpanel/templates/default/chanserv/set.html b/modules/extra/webcpanel/templates/default/chanserv/set.html index 0c2596dc6..e8522cef9 100644 --- a/modules/extra/webcpanel/templates/default/chanserv/set.html +++ b/modules/extra/webcpanel/templates/default/chanserv/set.html @@ -1,4 +1,5 @@ {INCLUDE header.html} +{INCLUDE chanserv/chanlist.html} <div class="panel-heading">Channel Information</div> <div class="panel-body"> {FOR M IN MESSAGES} @@ -7,7 +8,9 @@ </div> {END FOR} - <form method="post" action="/chanserv/set?channel={CHANNEL_ESCAPED}"> + {IF EXISTS STOP} + {ELSE} + {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> @@ -43,6 +46,7 @@ <td>{LAST_TOPIC_SETTER}</td> </tr> {END IF} + {IF EXISTS CAN_SET} <tr> <td>Keep topic</td> <td><input type="checkbox" name="keeptopic" value="on" {IF EXISTS KEEPTOPIC}checked{END IF}></td> @@ -75,7 +79,9 @@ <td></td> <td><button type="submit" class="btn btn-primary">Save</button></td> </tr> + {END IF} </table> - </form> + {IF EXISTS CAN_SET}</form>{END IF} + {END IF} </div> {INCLUDE footer.html} |
