diff --git a/modules/extra/webcpanel/pages/operserv/akill.cpp b/modules/extra/webcpanel/pages/operserv/akill.cpp index 696dca69a..bc8ef7ee6 100644 --- a/modules/extra/webcpanel/pages/operserv/akill.cpp +++ b/modules/extra/webcpanel/pages/operserv/akill.cpp @@ -23,7 +23,7 @@ bool WebCPanel::OperServ::Akill::OnRequest(HTTPProvider *server, const Anope::st else { if (akills->GetCount() == 0) - replacements["MESSAGES"] = "No Akills to display."; + replacements["AKILLS"] = "No Akills to display."; if (message.post_data.count("mask") > 0 && message.post_data.count("expiry") > 0 && message.post_data.count("reason") > 0) { diff --git a/modules/extra/webcpanel/templates/default/chanserv/access.html b/modules/extra/webcpanel/templates/default/chanserv/access.html index e9c42c61b..5b02c068a 100644 --- a/modules/extra/webcpanel/templates/default/chanserv/access.html +++ b/modules/extra/webcpanel/templates/default/chanserv/access.html @@ -1,12 +1,13 @@ {INCLUDE header.html} - {FOR M IN MESSAGES} -
- {M}
-
- {END FOR} +
Access List
+
+ {FOR M IN MESSAGES} +
+ {M}
+
+ {END FOR} -

Access List

- {IF EXISTS ACCESSES} + {IF EXISTS ACCESSES} @@ -29,41 +30,41 @@ {END FOR}
- {ELSE} + {ELSE} Access list is empty. - {END IF} + {END IF} -
+
-

Add an access entry

-
-
- -
- +

Add an access entry

+ +
+ +
+ +
-
-
- -
- +
+ +
+ +
-
-
- -
- +
+ +
+ +
-
-
-
- +
+
+ +
-
- - + +
{INCLUDE footer.html} diff --git a/modules/extra/webcpanel/templates/default/chanserv/akick.html b/modules/extra/webcpanel/templates/default/chanserv/akick.html index 819a69096..3b6a2f190 100644 --- a/modules/extra/webcpanel/templates/default/chanserv/akick.html +++ b/modules/extra/webcpanel/templates/default/chanserv/akick.html @@ -1,12 +1,13 @@ {INCLUDE header.html} - {FOR M IN MESSAGES} -
- {M}
-
- {END FOR} +
Akick List
+
+ {FOR M IN MESSAGES} +
+ {M}
+
+ {END FOR} -

Akick List

- {IF EXISTS MASKS} + {IF EXISTS MASKS} @@ -27,32 +28,31 @@ {END FOR}
- {ELSE} + {ELSE} Akick list is empty. - {END IF} + {END IF} -
+
-

Add an akick entry

-
-
- -
- +

Add an akick entry

+ +
+ +
+ +
-
-
- -
- +
+ +
+ +
-
-
-
- +
+
+ +
-
- - - + +
{INCLUDE footer.html} diff --git a/modules/extra/webcpanel/templates/default/chanserv/drop.html b/modules/extra/webcpanel/templates/default/chanserv/drop.html index 7852bfde6..1b7e788d0 100644 --- a/modules/extra/webcpanel/templates/default/chanserv/drop.html +++ b/modules/extra/webcpanel/templates/default/chanserv/drop.html @@ -1,34 +1,36 @@ {INCLUDE header.html} - {FOR M IN MESSAGES} -
- {M}
-
- {END FOR} - -

Channels you can drop

-
- {FOR CH,ECH IN CHANNEL_NAMES,ESCAPED_CHANNEL_NAMES} - {CH}
- {END FOR} -
- {IF EXISTS CHANNEL_DROP} -
-

Drop Channel {CHANNEL_DROP}?

-
- - -
- -
- -
-
-
-
- -
-
-
+
Channels you can drop
+
+ {FOR M IN MESSAGES} +
+ {M}
- {END IF} + {END FOR} + +
+ {FOR CH,ECH IN CHANNEL_NAMES,ESCAPED_CHANNEL_NAMES} + {CH}
+ {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/extra/webcpanel/templates/default/chanserv/main.html b/modules/extra/webcpanel/templates/default/chanserv/main.html index 43eb902fb..8b88970e8 100644 --- a/modules/extra/webcpanel/templates/default/chanserv/main.html +++ b/modules/extra/webcpanel/templates/default/chanserv/main.html @@ -1,8 +1,17 @@ {INCLUDE header.html} -

Channels you have access in

-
- {FOR CH,ECH IN CHANNEL_NAMES,ESCAPED_CHANNEL_NAMES} - {CH}
- {END FOR} +
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}
  • + {END FOR} +
+ {ELSE} + You don't have access in any channel
+ {END IF} +
{INCLUDE footer.html} diff --git a/modules/extra/webcpanel/templates/default/chanserv/set.html b/modules/extra/webcpanel/templates/default/chanserv/set.html index dff390e09..0c2596dc6 100644 --- a/modules/extra/webcpanel/templates/default/chanserv/set.html +++ b/modules/extra/webcpanel/templates/default/chanserv/set.html @@ -1,76 +1,81 @@ {INCLUDE header.html} - {FOR M IN MESSAGES} -
- {M}
-
- {END FOR} +
Channel Information
+
+ {FOR M IN MESSAGES} +
+ {M}
+
+ {END FOR} -

Channel Information

-
- - - - - - {IF EXISTS FOUNDER} - - - - - {END IF} - {IF EXISTS SUCCESSOR} - - - - - {END IF} - - - - - - - - - {IF EXISTS LAST_TOPIC} - - - - - - - - - {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 FOUNDER} + + + + + {END IF} + {IF EXISTS SUCCESSOR} + + + + + {END IF} + + + + + + + + + {IF EXISTS LAST_TOPIC} + + + + + + + + + {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
+
+
{INCLUDE footer.html} diff --git a/modules/extra/webcpanel/templates/default/confirm.html b/modules/extra/webcpanel/templates/default/confirm.html index c9e609158..17b0f7816 100644 --- a/modules/extra/webcpanel/templates/default/confirm.html +++ b/modules/extra/webcpanel/templates/default/confirm.html @@ -16,7 +16,9 @@
- + + + Back Home

Register

diff --git a/modules/extra/webcpanel/templates/default/cubes.png b/modules/extra/webcpanel/templates/default/cubes.png new file mode 100644 index 000000000..d75208db7 Binary files /dev/null and b/modules/extra/webcpanel/templates/default/cubes.png differ diff --git a/modules/extra/webcpanel/templates/default/footer.html b/modules/extra/webcpanel/templates/default/footer.html index 6d224f8df..57794a9ff 100644 --- a/modules/extra/webcpanel/templates/default/footer.html +++ b/modules/extra/webcpanel/templates/default/footer.html @@ -1,8 +1,9 @@ -
+
+
-
+
diff --git a/modules/extra/webcpanel/templates/default/header.html b/modules/extra/webcpanel/templates/default/header.html index a5fe89517..60c324ceb 100644 --- a/modules/extra/webcpanel/templates/default/header.html +++ b/modules/extra/webcpanel/templates/default/header.html @@ -4,7 +4,7 @@ - + @@ -22,18 +22,23 @@
-
- +
@@ -50,4 +55,4 @@
-
+
\ No newline at end of file diff --git a/modules/extra/webcpanel/templates/default/hostserv/request.html b/modules/extra/webcpanel/templates/default/hostserv/request.html index 3b2b30c7d..f557244d1 100644 --- a/modules/extra/webcpanel/templates/default/hostserv/request.html +++ b/modules/extra/webcpanel/templates/default/hostserv/request.html @@ -1,43 +1,45 @@ {INCLUDE header.html} - {FOR M IN MESSAGES} -
- {M}
-
- {END FOR} +
vHost Information
+
+ {FOR M IN MESSAGES} +
+ {M}
+
+ {END FOR} -

vHost Information

- - - - - - - - {IF EXISTS CAN_REQUEST} - - + + + {IF EXISTS CAN_REQUEST} + + + + + + + + {ELSE} + + + + {END IF} + +
Your current vHost: - {IF EXISTS VHOST} - {VHOST} - {ELSE} - None - {END IF} -
+ + + + + - - - - - - {ELSE} - - - - {END IF} - -
Your current vHost: {IF EXISTS VHOST} - Request a new vHost + {VHOST} {ELSE} - Request a vHost + None {END IF} -
vHost requests are disabled on this network.
+
+ {IF EXISTS VHOST} + Request a new vHost + {ELSE} + Request a vHost + {END IF} +
vHost requests are disabled on this network.
+
{INCLUDE footer.html} diff --git a/modules/extra/webcpanel/templates/default/login.html b/modules/extra/webcpanel/templates/default/login.html index 250dde1f0..6a0b6d7a9 100644 --- a/modules/extra/webcpanel/templates/default/login.html +++ b/modules/extra/webcpanel/templates/default/login.html @@ -17,8 +17,9 @@
- + +

Login to continue

{IF EXISTS INVALID_LOGIN} diff --git a/modules/extra/webcpanel/templates/default/logo.png b/modules/extra/webcpanel/templates/default/logo.png index 1ab5546c6..f7c2ff92a 100644 Binary files a/modules/extra/webcpanel/templates/default/logo.png and b/modules/extra/webcpanel/templates/default/logo.png differ diff --git a/modules/extra/webcpanel/templates/default/memoserv/memos.html b/modules/extra/webcpanel/templates/default/memoserv/memos.html index dc82846c6..b3b54d948 100644 --- a/modules/extra/webcpanel/templates/default/memoserv/memos.html +++ b/modules/extra/webcpanel/templates/default/memoserv/memos.html @@ -1,103 +1,112 @@ {INCLUDE header.html} - {FOR M IN MESSAGES} -
- {M}
-
- {END FOR} +
Memos List
+
+ {FOR M IN MESSAGES} +
+ {M}
+
+ {END FOR} - {IF EXISTS NUMBER} - + - + -

Memos List

- - - - - - - - - {FOR I,S,T,TXT,U IN NUMBER,SENDER,TIME,TEXT,UNREAD} - {IF EQ U YES} - - {ELSE} - - {END IF} - - - - + + + + + {END FOR} + +
NumberSenderMessage (hover: Time)
{I}{S}{TXT} + + + + + + + + + {FOR I,S,T,TXT,U IN NUMBER,SENDER,TIME,TEXT,UNREAD} {IF EQ U YES} - Reply - Mark as Read - Delete + {ELSE} - Reply - Mark as Unread - Delete + {END IF} - - - {END FOR} - -
NumberSenderMessage (hover: Time)
- {ELSE} - No memos to show. - {END IF} +
{I}{S}{TXT} + {IF EQ U YES} + Reply + Mark as Read + Delete + {ELSE} + Reply + Mark as Unread + Delete + {END IF} +
+ {ELSE} + No memos to show. + {END IF} -
+
-
-
-

Memos for channel

-
    - {FOR CH,ECH IN CHANNEL_NAMES,ESCAPED_CHANNEL_NAMES} -
  • {CH}
  • - {END FOR} -
+
+
+

Memos for channel

+ {IF EXISTS CHANNEL_NAMES} +
+
    + {FOR CH,ECH IN CHANNEL_NAMES,ESCAPED_CHANNEL_NAMES} +
  • {CH}
  • + {END FOR} +
+
+ {ELSE} + You don't have access in any channel
+ {END IF} + +
+
+

Send a new Memo

+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+ +
+
+
+
-
-

Send a new Memo

-
-
- -
- -
-
-
- -
- -
-
-
-
- -
-
-
-
-
- {IF EXISTS CMDR} -
- {CMDR} + {IF EXISTS CMDR} +
+ {CMDR} +
+ {END IF}
- {END IF} {INCLUDE footer.html} diff --git a/modules/extra/webcpanel/templates/default/nickserv/access.html b/modules/extra/webcpanel/templates/default/nickserv/access.html index 89a867627..c5397a4a0 100644 --- a/modules/extra/webcpanel/templates/default/nickserv/access.html +++ b/modules/extra/webcpanel/templates/default/nickserv/access.html @@ -1,12 +1,13 @@ {INCLUDE header.html} - {FOR M IN MESSAGES} -
- {M}
-
- {END FOR} +
Nick access list
+
+ {FOR M IN MESSAGES} +
+ {M}
+
+ {END FOR} - {IF EXISTS ACCESS} -

Nick access list

+ {IF EXISTS ACCESS} {FOR A IN ACCESS} @@ -17,24 +18,25 @@ {END FOR}
- {ELSE} - Your access list is empty. - {END IF} + {ELSE} + Your access list is empty. + {END IF} -
+
-

Add an access entry

-
-
- -
- +

Add an access entry

+ +
+ +
+ +
-
-
-
- +
+
+ +
-
- + +
{INCLUDE footer.html} diff --git a/modules/extra/webcpanel/templates/default/nickserv/alist.html b/modules/extra/webcpanel/templates/default/nickserv/alist.html index 224f09894..f3b2e0124 100644 --- a/modules/extra/webcpanel/templates/default/nickserv/alist.html +++ b/modules/extra/webcpanel/templates/default/nickserv/alist.html @@ -1,21 +1,23 @@ {INCLUDE header.html} -

Channel access list

- - - - - - - - - - {FOR N,C,A IN NUMBERS,CHANNELS,ACCESSES} +
Channel access list
+
+
NumberChannelAccess
+ - - - + + + - {END FOR} - -
{N}{C}{A}NumberChannelAccess
+ + + {FOR N,C,A IN NUMBERS,CHANNELS,ACCESSES} + + {N} + {C} + {A} + + {END FOR} + + +
{INCLUDE footer.html} diff --git a/modules/extra/webcpanel/templates/default/nickserv/cert.html b/modules/extra/webcpanel/templates/default/nickserv/cert.html index 636626e2a..dcbf68818 100644 --- a/modules/extra/webcpanel/templates/default/nickserv/cert.html +++ b/modules/extra/webcpanel/templates/default/nickserv/cert.html @@ -1,36 +1,38 @@ {INCLUDE header.html} - {FOR M IN MESSAGES} -
- {M}
-
- {END FOR} - - Your certificate finrgerprints - - - {FOR CERT IN CERTS} - - - - +
Your certificate fingerprints
+
+ {FOR M IN MESSAGES} +
+ {M}
+
{END FOR} -
-
{CERT}Delete
-
+ + + {FOR CERT IN CERTS} + + + + + {END FOR} + +
{CERT}Delete
-

Add an certificate fingerprint

-
-
- -
- +
+ +

Add a certificate fingerprint

+ +
+ +
+ +
-
-
-
- +
+
+ +
-
- + +
{INCLUDE footer.html} diff --git a/modules/extra/webcpanel/templates/default/nickserv/info.html b/modules/extra/webcpanel/templates/default/nickserv/info.html index 22addbf4f..667c8b370 100644 --- a/modules/extra/webcpanel/templates/default/nickserv/info.html +++ b/modules/extra/webcpanel/templates/default/nickserv/info.html @@ -1,74 +1,72 @@ {INCLUDE header.html} - {IF EXISTS ERRORS} +
Your account information
+
{FOR M IN ERRORS}
{M}
{END FOR} - {END IF} - {IF EXISTS MESSAGES} -
{FOR M IN MESSAGES} +
{M}
- {END FOR} -
- {END IF} - -

Your account information:

-
- - - - - - - {IF EXISTS EMAIL} - - - - - {END IF} - - - - - {IF EXISTS VHOST} - - - - - {END IF} - - - - - - - - - - - - - - - - - - - - - -
Account:{DISPLAY}
E-mail:{EMAIL}
Time registered:{TIME_REGISTERED}
Vhost:{VHOST}
Greet:
Auto op:
Private:
Secure:
Kill: - -
-
-
-
+ {END FOR} + +
+ + + + + + + {IF EXISTS EMAIL} + + + + + {END IF} + + + + + {IF EXISTS VHOST} + + + + + {END IF} + + + + + + + + + + + + + + + + + + + + + +
Account:{DISPLAY}
E-mail:{EMAIL}
Time registered:{TIME_REGISTERED}
Vhost:{VHOST}
Greet:
Auto op:
Private:
Secure:
Kill: + +
+
+ +
+
+
{INCLUDE footer.html} diff --git a/modules/extra/webcpanel/templates/default/operserv/akill.html b/modules/extra/webcpanel/templates/default/operserv/akill.html index 5c25c26da..9b269a7c0 100644 --- a/modules/extra/webcpanel/templates/default/operserv/akill.html +++ b/modules/extra/webcpanel/templates/default/operserv/akill.html @@ -1,71 +1,77 @@ {INCLUDE header.html} - {IF EXISTS NOACCESS} -

Access denied.

- {ELSE} +
Akill List
+
+ {IF EXISTS NOACCESS} +

Access denied.

+ {ELSE} - {FOR M IN MESSAGES} -
- {M}
+ {FOR M IN MESSAGES} +
+ {M}
+
+ {END FOR} + + + + {IF EXISTS AKILLS} + {AKILLS} + {ELSE} + + + + + + + + + + + + {FOR N,H,S,T,E,R IN NUMBER,HOST,SETTER,TIME,EXPIRE,REASON} + + + + + + + + {END FOR} + +
NumberHostmask (hover: Reason)Expires (hover: Set Date)Setter
{N}{H}{E}{S}Delete
+ {END IF} + +
+ +

Add a new Akill

+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+
+ +
+
+
+ {END IF}
- {END FOR} - - - -

AKILL List

- - - - - - - - - - - - {FOR N,H,S,T,E,R IN NUMBER,HOST,SETTER,TIME,EXPIRE,REASON} - - - - - - - - {END FOR} - -
NumberHostmask (hover: Reason)Expires (hover: Set Date)Setter
{N}{H}{E}{S}Delete
- -
- -

Add a new AKILL

-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
-
- -
-
-
- {END IF} {INCLUDE footer.html} diff --git a/modules/extra/webcpanel/templates/default/register.html b/modules/extra/webcpanel/templates/default/register.html index 598d2ecff..821911b9b 100644 --- a/modules/extra/webcpanel/templates/default/register.html +++ b/modules/extra/webcpanel/templates/default/register.html @@ -16,7 +16,9 @@
- + + + Back Home

Register

diff --git a/modules/extra/webcpanel/templates/default/style.css b/modules/extra/webcpanel/templates/default/style.css index 117cc1ecc..e425c3d8c 100644 --- a/modules/extra/webcpanel/templates/default/style.css +++ b/modules/extra/webcpanel/templates/default/style.css @@ -1,11 +1,12 @@ -@import url(http://fonts.googleapis.com/css?family=Open+Sans:300,400); +@import url(//fonts.googleapis.com/css?family=Open+Sans:300,400); +@import url(//fonts.googleapis.com/css?family=Port+Lligat+Slab); *, html, body, h1, h2, h3, h4, div, p, span, a, button { font-family: 'Open Sans', sans-serif; } body { background-color: #eee; - background-image: url('http://politeia.in/assets/img/bg/cubes.png'); + background-image: url('/static/cubes.png'); } /* RANDOM STUFF */ @@ -25,6 +26,19 @@ h4 { box-shadow: 0 1px 10px rgba(0, 0, 0, 0.8); } +.label { + font-size: 13px; + font-weight: normal; +} + +.label-info { + background-color: #4EA4EE; +} + +.label-info[href]:hover, .label-info[href]:focus { + background-color: #428BCA; +} + /* LOGIN FORM */ .form-signin .form-signin-heading, .form-signin .checkbox { margin-bottom: 10px; @@ -50,6 +64,9 @@ h4 { } /* Control Panel */ +.panel-default .panel-heading { + font-size: 24px; +} #loggedIn { margin: 15px 15px 0 0; } @@ -69,6 +86,7 @@ h4 { font-weight: bold; padding-right: 10px; text-align: right; + width: 25%; } #tableInfoNorm td { @@ -105,6 +123,10 @@ h4 { font-weight: normal; } +#channelList li { + margin-top: 10px; +} + /* NAVBAR */ .navbar, .well { background-color: white; @@ -115,13 +137,30 @@ h4 { -moz-box-shadow: 0 8px 6px -8px black; box-shadow: 0 8px 6px -8px black; } - -.navbar-default .navbar-nav > li > a { - color: #777777; +.navbar-brand { + font-size: 25px; +} +.navbar-brand, .navbar-brand small { + font-family: 'Port Lligat Slab', serif; } -.navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus { - color: #333333; - border-bottom: 3px solid #0082D9; - margin-bottom: -3px; +.navbar-default .nav { + margin-bottom: -1px; +} + +.navbar-default .nav > li > a { + color: #428BCA; +} + +.navbar-default .nav > li > a:hover, .navbar-default .nav > li > a:focus { + color: #428BCA; + border-top: 3px solid #0082D9; + margin-top: -3px; +} + +.navbar-default .nav > li.active > a, .navbar-default .nav > li.active > a:hover, .navbar-default .nav > li.active > a:focus { + color: #428BCA; + background-color: transparent; + background-color: rgba(66, 139, 202, 0.1); + border-bottom-color: transparent; } diff --git a/modules/extra/webcpanel/webcpanel.cpp b/modules/extra/webcpanel/webcpanel.cpp index e91152f5d..c0bd841a0 100644 --- a/modules/extra/webcpanel/webcpanel.cpp +++ b/modules/extra/webcpanel/webcpanel.cpp @@ -16,7 +16,7 @@ class ModuleWebCPanel : public Module Panel panel; PrimitiveExtensibleItem id, ip; - StaticFileServer style_css, logo_png, favicon_ico; + StaticFileServer style_css, logo_png, cubes_png, favicon_ico; WebCPanel::Index index; WebCPanel::Logout logout; @@ -44,7 +44,7 @@ class ModuleWebCPanel : public Module public: ModuleWebCPanel(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, EXTRA | VENDOR), panel(this, "webcpanel"), id(this, "webcpanel_id"), ip(this, "webcpanel_ip"), - style_css("style.css", "/static/style.css", "text/css"), logo_png("logo.png", "/static/logo.png", "image/png"), favicon_ico("favicon.ico", "/favicon.ico", "image/x-icon"), + style_css("style.css", "/static/style.css", "text/css"), logo_png("logo.png", "/static/logo.png", "image/png"), cubes_png("cubes.png", "/static/cubes.png", "image/png"), favicon_ico("favicon.ico", "/favicon.ico", "image/x-icon"), index("/"), logout("/logout"), _register("/register"), confirm("/confirm"), nickserv_info("NickServ", "/nickserv/info"), nickserv_cert("NickServ", "/nickserv/cert"), nickserv_access("NickServ", "/nickserv/access"), nickserv_alist("NickServ", "/nickserv/alist"), chanserv_info("ChanServ", "/chanserv/info"), chanserv_set("ChanServ", "/chanserv/set"), chanserv_access("ChanServ", "/chanserv/access"), chanserv_akick("ChanServ", "/chanserv/akick"), @@ -65,6 +65,7 @@ class ModuleWebCPanel : public Module provider->RegisterPage(&this->style_css); provider->RegisterPage(&this->logo_png); + provider->RegisterPage(&this->cubes_png); provider->RegisterPage(&this->favicon_ico); provider->RegisterPage(&this->index); @@ -192,6 +193,7 @@ class ModuleWebCPanel : public Module { provider->UnregisterPage(&this->style_css); provider->UnregisterPage(&this->logo_png); + provider->UnregisterPage(&this->cubes_png); provider->UnregisterPage(&this->favicon_ico); provider->UnregisterPage(&this->index); diff --git a/modules/extra/webcpanel/webcpanel.h b/modules/extra/webcpanel/webcpanel.h index 5ff971ca3..ebce325d2 100644 --- a/modules/extra/webcpanel/webcpanel.h +++ b/modules/extra/webcpanel/webcpanel.h @@ -96,6 +96,8 @@ class WebPanelProtectedPage : public WebPanelPage replacements["TITLE"] = page_title; replacements["ACCOUNT"] = na->nc->display; + replacements["PAGE_NAME"] = page_name; + replacements["CATEGORY"] = category; Anope::string sections, get;