From 004c4cbe5f4c37cf455cb6d0caa434fbbb3406ea Mon Sep 17 00:00:00 2001 From: Adam Date: Thu, 2 Jan 2014 11:02:14 -0500 Subject: Move modules out of extras that dont have external dependencies --- .../templates/default/chanserv/access.html | 77 ++++++++++++++++++ .../templates/default/chanserv/akick.html | 61 ++++++++++++++ .../templates/default/chanserv/chanlist.html | 17 ++++ .../webcpanel/templates/default/chanserv/drop.html | 32 ++++++++ .../webcpanel/templates/default/chanserv/main.html | 3 + .../templates/default/chanserv/modes.html | 56 +++++++++++++ .../webcpanel/templates/default/chanserv/set.html | 93 ++++++++++++++++++++++ 7 files changed, 339 insertions(+) create mode 100644 modules/webcpanel/templates/default/chanserv/access.html create mode 100644 modules/webcpanel/templates/default/chanserv/akick.html create mode 100644 modules/webcpanel/templates/default/chanserv/chanlist.html create mode 100644 modules/webcpanel/templates/default/chanserv/drop.html create mode 100644 modules/webcpanel/templates/default/chanserv/main.html create mode 100644 modules/webcpanel/templates/default/chanserv/modes.html create mode 100644 modules/webcpanel/templates/default/chanserv/set.html (limited to 'modules/webcpanel/templates/default/chanserv') diff --git a/modules/webcpanel/templates/default/chanserv/access.html b/modules/webcpanel/templates/default/chanserv/access.html new file mode 100644 index 000000000..c50434f8a --- /dev/null +++ b/modules/webcpanel/templates/default/chanserv/access.html @@ -0,0 +1,77 @@ +{INCLUDE header.html} +{INCLUDE chanserv/chanlist.html} +
Access List
+
+ {FOR M IN MESSAGES} +
+ {M}
+
+ {END FOR} + + {IF EQ ACCESS_LIST YES} + {IF EXISTS ACCESSES} + + + + + + + + + + + {FOR MASK,ACCESS,CREATOR IN MASKS,ACCESSES,CREATORS} + + + + + {IF EQ ACCESS_CHANGE YES} + + {ELSE} + + {END IF} + + {END FOR} + +
MaskAccessCreator
{MASK}{ACCESS}{CREATOR}Delete
+ {ELSE} + Access list is empty. + {END IF} + +
+ + {IF EQ ACCESS_CHANGE YES} +

Add an access entry

+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+ +
+
+
+ {END IF} + {END IF} +
+{INCLUDE footer.html} diff --git a/modules/webcpanel/templates/default/chanserv/akick.html b/modules/webcpanel/templates/default/chanserv/akick.html new file mode 100644 index 000000000..ddfea546c --- /dev/null +++ b/modules/webcpanel/templates/default/chanserv/akick.html @@ -0,0 +1,61 @@ +{INCLUDE header.html} +{INCLUDE chanserv/chanlist.html} +
Akick List
+
+ {FOR M IN MESSAGES} +
+ {M}
+
+ {END FOR} + + {IF EQ AKICK YES} + {IF EXISTS MASKS} + + + + + + + + + + + {FOR MASK,REASON,CREATOR IN MASKS,REASONS,CREATORS} + + + + + + + {END FOR} + +
MaskReasonCreator
{MASK}{REASON}{CREATOR}Delete
+ {ELSE} + Akick list is empty. + {END IF} + +
+ +

Add an akick entry

+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+ +
+
+
+ {END IF} +
+{INCLUDE footer.html} diff --git a/modules/webcpanel/templates/default/chanserv/chanlist.html b/modules/webcpanel/templates/default/chanserv/chanlist.html new file mode 100644 index 000000000..8f00f02ac --- /dev/null +++ b/modules/webcpanel/templates/default/chanserv/chanlist.html @@ -0,0 +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} + {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/webcpanel/templates/default/chanserv/drop.html b/modules/webcpanel/templates/default/chanserv/drop.html new file mode 100644 index 000000000..c28eb051a --- /dev/null +++ b/modules/webcpanel/templates/default/chanserv/drop.html @@ -0,0 +1,32 @@ +{INCLUDE header.html} +{INCLUDE chanserv/chanlist.html} +
Channels you can drop
+
+ {FOR M IN MESSAGES} +
+ {M}
+
+ {END FOR} + + {IF EXISTS CHANNEL_DROP} +
+

Drop Channel {CHANNEL_DROP}?

+
+ + +
+ +
+ +
+
+
+
+ +
+
+
+
+ {END IF} +
+{INCLUDE footer.html} \ No newline at end of file diff --git a/modules/webcpanel/templates/default/chanserv/main.html b/modules/webcpanel/templates/default/chanserv/main.html new file mode 100644 index 000000000..e77626f31 --- /dev/null +++ b/modules/webcpanel/templates/default/chanserv/main.html @@ -0,0 +1,3 @@ +{INCLUDE header.html} +{INCLUDE chanserv/chanlist.html} +{INCLUDE footer.html} diff --git a/modules/webcpanel/templates/default/chanserv/modes.html b/modules/webcpanel/templates/default/chanserv/modes.html new file mode 100644 index 000000000..3c7fe7ab3 --- /dev/null +++ b/modules/webcpanel/templates/default/chanserv/modes.html @@ -0,0 +1,56 @@ +{INCLUDE header.html} +{INCLUDE chanserv/chanlist.html} +
Channel Mode List
+
+ {FOR M IN MESSAGES} +
+ {M}
+
+ {END FOR} + + {IF EQ MODE YES} + {FOR LM IN LISTMODES} + +{LM} + {END FOR} +
+ + {IF EXISTS MASKS} + + + + + + + + + {FOR MASK IN MASKS} + + + + + {END FOR} + +
Mask
{MASK}Delete
+ {ELSE} + Nothing to display. + {END IF} + +
+ +

Set a new mode

+
+
+ +
+ +
+
+
+
+ +
+
+
+ {END IF} +
+{INCLUDE footer.html} diff --git a/modules/webcpanel/templates/default/chanserv/set.html b/modules/webcpanel/templates/default/chanserv/set.html new file mode 100644 index 000000000..050c37f69 --- /dev/null +++ b/modules/webcpanel/templates/default/chanserv/set.html @@ -0,0 +1,93 @@ +{INCLUDE header.html} +{INCLUDE chanserv/chanlist.html} +
Channel Information
+
+ {FOR M IN MESSAGES} +
+ {M}
+
+ {END FOR} + + {IF EXISTS OKAY} + {IF EXISTS CAN_SET} +
+ {END IF} + + + + + + {IF EXISTS FOUNDER} + + + + + {END IF} + {IF EXISTS SUCCESSOR} + + + + + {END IF} + + + + + + + + + {IF EXISTS LAST_TOPIC} + + + + + + + + + {END IF} + {IF EXISTS CAN_SET} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {IF EXISTS CAN_SET} + + + + + {END IF} + {END IF} +
Channel Name{CHANNEL}
Founder{FOUNDER}
Succsesor{SUCCESSOR}
Time registered{TIME_REGISTERED}
Last used{LAST_USED}
Last topic{LAST_TOPIC}
Set by{LAST_TOPIC_SETTER}
Keep topic
Peace
Private
Restricted
Secure
Secure Ops
Topic Lock
+ + {IF EXISTS CAN_SET} +
+ {END IF} + {END IF} +
+{INCLUDE footer.html} -- cgit