mirror of
https://github.com/znc/znc.git
synced 2026-06-28 05:51:50 +02:00
Merge remote-tracking branch 'origin/1.6.x'
This commit is contained in:
@@ -159,7 +159,7 @@ public:
|
||||
/**
|
||||
* Check if this string is equal to some other string.
|
||||
* @param s The string to compare to.
|
||||
* @param cs CaseSensitive if you want the comparision to be case
|
||||
* @param cs CaseSensitive if you want the comparison to be case
|
||||
* sensitive, CaseInsensitive (default) otherwise.
|
||||
* @return True if the strings are equal.
|
||||
*/
|
||||
@@ -499,21 +499,21 @@ public:
|
||||
|
||||
/** Find the position of the given substring.
|
||||
* @param s The substring to search for.
|
||||
* @param cs CaseSensitive if you want the comparision to be case
|
||||
* @param cs CaseSensitive if you want the comparison to be case
|
||||
* sensitive, CaseInsensitive (default) otherwise.
|
||||
* @return The position of the substring if found, CString::npos otherwise.
|
||||
*/
|
||||
size_t Find(const CString& s, CaseSensitivity cs = CaseInsensitive) const;
|
||||
/** Check whether the string starts with a given prefix.
|
||||
* @param sPrefix The prefix.
|
||||
* @param cs CaseSensitive if you want the comparision to be case
|
||||
* @param cs CaseSensitive if you want the comparison to be case
|
||||
* sensitive, CaseInsensitive (default) otherwise.
|
||||
* @return True if the string starts with prefix, false otherwise.
|
||||
*/
|
||||
bool StartsWith(const CString& sPrefix, CaseSensitivity cs = CaseInsensitive) const;
|
||||
/** Check whether the string ends with a given suffix.
|
||||
* @param sSuffix The suffix.
|
||||
* @param cs CaseSensitive if you want the comparision to be case
|
||||
* @param cs CaseSensitive if you want the comparison to be case
|
||||
* sensitive, CaseInsensitive (default) otherwise.
|
||||
* @return True if the string ends with suffix, false otherwise.
|
||||
*/
|
||||
|
||||
@@ -206,7 +206,7 @@
|
||||
<td align="center">
|
||||
<? IF CanBeLoadedByNetwork ?>
|
||||
<input type="checkbox" name="loaded_by_network" id="loaded_by_net_<? VAR Name ?>"
|
||||
<? IF LoadedByAllNetworks ?>
|
||||
<? IF LoadedBySomeNetworks && LoadedByAllNetworks ?>
|
||||
checked="checked"
|
||||
<? ENDIF ?>
|
||||
disabled="disabled"/>
|
||||
|
||||
@@ -198,7 +198,7 @@
|
||||
<td align="center">
|
||||
<? IF CanBeLoadedByNetwork ?>
|
||||
<input type="checkbox" name="loaded_by_network" id="loaded_by_net_<? VAR Name ?>"
|
||||
<? IF LoadedByAllNetworks ?>
|
||||
<? IF LoadedBySomeNetworks && LoadedByAllNetworks ?>
|
||||
checked="checked"
|
||||
<? ENDIF ?>
|
||||
disabled="disabled"/>
|
||||
@@ -212,7 +212,7 @@
|
||||
<td align="center">
|
||||
<? IF CanBeLoadedByUser ?>
|
||||
<input type="checkbox" name="loaded_by_user" id="loaded_by_user_<? VAR Name ?>"
|
||||
<? IF LoadedByAllUsers ?>
|
||||
<? IF LoadedBySomeUsers && LoadedByAllUsers ?>
|
||||
checked="checked"
|
||||
<? ENDIF ?>
|
||||
disabled="disabled"/>
|
||||
|
||||
Reference in New Issue
Block a user