diff options
author | madmaxoft <github@xoft.cz> | 2014-08-09 22:54:43 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-08-09 22:54:43 +0200 |
commit | 50359ce65670badb72879f09fc9b2f77b2cbeae6 (patch) | |
tree | f159fac3b7c90e4e05103944fef1656c2c5c1b2e /src/WebAdmin.h | |
parent | WebAdmin: Added GetURLEncodedString(). (diff) | |
download | cuberite-50359ce65670badb72879f09fc9b2f77b2cbeae6.tar cuberite-50359ce65670badb72879f09fc9b2f77b2cbeae6.tar.gz cuberite-50359ce65670badb72879f09fc9b2f77b2cbeae6.tar.bz2 cuberite-50359ce65670badb72879f09fc9b2f77b2cbeae6.tar.lz cuberite-50359ce65670badb72879f09fc9b2f77b2cbeae6.tar.xz cuberite-50359ce65670badb72879f09fc9b2f77b2cbeae6.tar.zst cuberite-50359ce65670badb72879f09fc9b2f77b2cbeae6.zip |
Diffstat (limited to 'src/WebAdmin.h')
-rw-r--r-- | src/WebAdmin.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/WebAdmin.h b/src/WebAdmin.h index 018a27b69..f48e8ce9e 100644 --- a/src/WebAdmin.h +++ b/src/WebAdmin.h @@ -132,17 +132,17 @@ public: /** Returns the prefix needed for making a link point to the webadmin root from the given URL ("../../../webadmin"-style) */ AString GetBaseURL(const AString & a_URL); + AString GetIPv4Ports(void) const { return m_PortsIPv4; } + AString GetIPv6Ports(void) const { return m_PortsIPv6; } + + // tolua_end + /** Escapes text passed into it, so it can be embedded into html. */ static AString GetHTMLEscapedString(const AString & a_Input); /** Escapes the string for use in an URL */ static AString GetURLEncodedString(const AString & a_Input); - AString GetIPv4Ports(void) const { return m_PortsIPv4; } - AString GetIPv6Ports(void) const { return m_PortsIPv6; } - - // tolua_end - /** Returns the prefix needed for making a link point to the webadmin root from the given URL ("../../../webadmin"-style) */ static AString GetBaseURL(const AStringVector & a_URLSplit); |