Revision eab652e4
Added by Renato Botelho about 12 years ago
etc/inc/gwlb.inc | ||
---|---|---|
676 | 676 |
if (is_array($config['gateways']['gateway_group'])) { |
677 | 677 |
$carplist = get_configured_carp_interface_list(); |
678 | 678 |
foreach ($config['gateways']['gateway_group'] as $group) { |
679 |
/* create array with group gateways members seperated by tier */
|
|
679 |
/* create array with group gateways members separated by tier */
|
|
680 | 680 |
$tiers = array(); |
681 | 681 |
$backupplan = array(); |
682 | 682 |
$gwvip_arr = array(); |
etc/inc/pfsense-utils.inc | ||
---|---|---|
1772 | 1772 |
|
1773 | 1773 |
/* Split() is being DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 6.0.0. Relying on this feature is highly discouraged. */ |
1774 | 1774 |
if(!function_exists("split")) { |
1775 |
function split($seperator, $haystack, $limit = null) {
|
|
1776 |
log_error("deprecated split() call with seperator '{$seperator}'");
|
|
1777 |
return preg_split($seperator, $haystack, $limit);
|
|
1775 |
function split($separator, $haystack, $limit = null) {
|
|
1776 |
log_error("deprecated split() call with separator '{$separator}'");
|
|
1777 |
return preg_split($separator, $haystack, $limit);
|
|
1778 | 1778 |
} |
1779 | 1779 |
} |
1780 | 1780 |
|
etc/inc/simplepie/simplepie.inc | ||
---|---|---|
10738 | 10738 |
return (bool) preg_match('/^([A-Za-z0-9\-._~\x{A0}-\x{D7FF}\x{F900}-\x{FDCF}\x{FDF0}-\x{FFEF}\x{10000}-\x{1FFFD}\x{20000}-\x{2FFFD}\x{30000}-\x{3FFFD}\x{40000}-\x{4FFFD}\x{50000}-\x{5FFFD}\x{60000}-\x{6FFFD}\x{70000}-\x{7FFFD}\x{80000}-\x{8FFFD}\x{90000}-\x{9FFFD}\x{A0000}-\x{AFFFD}\x{B0000}-\x{BFFFD}\x{C0000}-\x{CFFFD}\x{D0000}-\x{DFFFD}\x{E1000}-\x{EFFFD}!$&\'()*+,;=@]|(%[0-9ABCDEF]{2}))+$/u', $string); |
10739 | 10739 |
} |
10740 | 10740 |
|
10741 |
function space_seperated_tokens($string)
|
|
10741 |
function space_separated_tokens($string)
|
|
10742 | 10742 |
{ |
10743 | 10743 |
$space_characters = "\x20\x09\x0A\x0B\x0C\x0D"; |
10744 | 10744 |
$string_length = strlen($string); |
... | ... | |
11830 | 11830 |
/** |
11831 | 11831 |
* Parse a superset of W3C-DTF (allows hyphens and colons to be omitted, as |
11832 | 11832 |
* well as allowing any of upper or lower case "T", horizontal tabs, or |
11833 |
* spaces to be used as the time seperator (including more than one))
|
|
11833 |
* spaces to be used as the time separator (including more than one))
|
|
11834 | 11834 |
* |
11835 | 11835 |
* @access protected |
11836 | 11836 |
* @return int Timestamp |
... | ... | |
12904 | 12904 |
} |
12905 | 12905 |
if (isset($link['attribs']['href']['data']) && isset($link['attribs']['rel']['data'])) |
12906 | 12906 |
{ |
12907 |
$rel = array_unique(SimplePie_Misc::space_seperated_tokens(strtolower($link['attribs']['rel']['data'])));
|
|
12907 |
$rel = array_unique(SimplePie_Misc::space_separated_tokens(strtolower($link['attribs']['rel']['data'])));
|
|
12908 | 12908 |
|
12909 | 12909 |
if ($this->base_location < $link['offset']) |
12910 | 12910 |
{ |
... | ... | |
13669 | 13669 |
} |
13670 | 13670 |
} |
13671 | 13671 |
|
13672 |
?> |
|
13672 |
?> |
etc/rc | ||
---|---|---|
255 | 255 |
# Setup compatibility link for packages that |
256 | 256 |
# have trouble overriding the PREFIX configure |
257 | 257 |
# argument since we build our packages in a |
258 |
# seperated PREFIX area
|
|
258 |
# separated PREFIX area
|
|
259 | 259 |
# Only create if symlink does not exist. |
260 | 260 |
if [ ! -h /tmp/tmp ]; then |
261 | 261 |
/bin/ln -hfs / /tmp/tmp |
usr/local/bin/3gstats.php | ||
---|---|---|
11 | 11 |
/* Huawei example */ |
12 | 12 |
$device = "/dev/{$argv[1]}"; |
13 | 13 |
$statfile = "/tmp/3gstats.{$argv[2]}"; |
14 |
/* mode is a comma seperated value, thus submode is born */
|
|
14 |
/* mode is a comma separated value, thus submode is born */
|
|
15 | 15 |
$header = "#seconds,rssi,mode,submode,upstream,downstream,sentbytes,receivedbyts,bwupstream,bwdownstream,simstate,service\n"; |
16 | 16 |
|
17 | 17 |
$i = 0; |
usr/local/sbin/pbi_create | ||
---|---|---|
318 | 318 |
--key key -- Path to the public key file for this repo |
319 | 319 |
--url url -- Base URL for fetching the INDEX files |
320 | 320 |
--mirror mirrorurl -- Mirror url(s) for fetching PBIs, use ',' as |
321 |
seperator for multiple
|
|
321 |
separator for multiple
|
|
322 | 322 |
|
323 | 323 |
EOF |
324 | 324 |
exit_trap |
usr/local/share/protocols/dhcp.pat | ||
---|---|---|
18 | 18 |
# Let's break that down: |
19 | 19 |
# |
20 | 20 |
# (\x01|\x02) is for BOOTREQUEST or BOOTREPLY |
21 |
# Is there a demand for doing these seperately? The Packeteer does.
|
|
21 |
# Is there a demand for doing these separately? The Packeteer does.
|
|
22 | 22 |
# |
23 | 23 |
# [\x01-\x20] is for any of the hardware address types listed at |
24 | 24 |
# (http://www.iana.org/assignments/arp-parameters) and hopefully faster |
usr/local/www/firewall_aliases_edit.php | ||
---|---|---|
489 | 489 |
|
490 | 490 |
$networks_help = gettext("Networks are specified in CIDR format. Select the CIDR mask that pertains to each entry. /32 specifies a single IPv4 host, /128 specifies a single IPv6 host, /24 specifies 255.255.255.0, /64 specifies a normal IPv6 network, etc. Hostnames (FQDNs) may also be specified, using a /32 mask for IPv4 or /128 for IPv6. You may also enter an IP range such as 192.168.1.1-192.168.1.254 and a list of CIDR networks will be derived to fill the range."); |
491 | 491 |
$hosts_help = gettext("Enter as many hosts as you would like. Hosts must be specified by their IP address or fully qualified domain name (FQDN). FQDN hostnames are periodically re-resolved and updated. If multiple IPs are returned by a DNS query, all are used."); |
492 |
$ports_help = gettext("Enter as many ports as you wish. Port ranges can be expressed by seperating with a colon.");
|
|
492 |
$ports_help = gettext("Enter as many ports as you wish. Port ranges can be expressed by separating with a colon.");
|
|
493 | 493 |
$url_help = sprintf(gettext("Enter as many URLs as you wish. After saving %s will download the URL and import the items into the alias. Use only with small sets of IP addresses (less than 3000)."), $g['product_name']); |
494 | 494 |
$urltable_help = sprintf(gettext("Enter a single URL containing a large number of IPs and/or Subnets. After saving %s will download the URL and create a table file containing these addresses. This will work with large numbers of addresses (30,000+) or small numbers."), $g['product_name']); |
495 | 495 |
|
usr/local/www/javascript/domTT/behaviour.js | ||
---|---|---|
194 | 194 |
case '=': // Equality |
195 | 195 |
checkFunction = function(e) { return (e.getAttribute(attrName) == attrValue); }; |
196 | 196 |
break; |
197 |
case '~': // Match one of space seperated words
|
|
197 |
case '~': // Match one of space separated words
|
|
198 | 198 |
checkFunction = function(e) { return (e.getAttribute(attrName).match(new RegExp('\\b'+attrValue+'\\b'))); }; |
199 | 199 |
break; |
200 | 200 |
case '|': // Match start with value followed by optional hyphen |
usr/local/www/javascript/jquery-ui-timepicker-addon/js/jquery-ui-timepicker-addon.js | ||
---|---|---|
245 | 245 |
// the time should come after x number of characters and a space. |
246 | 246 |
// x = at least the length of text specified by the date format |
247 | 247 |
var dp_dateFormat = $.datepicker._get(this.inst, 'dateFormat'); |
248 |
// escape special regex characters in the seperator
|
|
248 |
// escape special regex characters in the separator
|
|
249 | 249 |
var specials = new RegExp("[.*+?|()\\[\\]{}\\\\]", "g"); |
250 | 250 |
regstr = '^.{' + dp_dateFormat.length + ',}?' + this._defaults.separator.replace(specials, "\\$&") + regstr; |
251 | 251 |
} |
usr/local/www/javascript/jquery.js | ||
---|---|---|
2029 | 2029 |
classNames = value.split( rspace ); |
2030 | 2030 |
|
2031 | 2031 |
while ( (className = classNames[ i++ ]) ) { |
2032 |
// check each className given, space seperated list
|
|
2032 |
// check each className given, space separated list
|
|
2033 | 2033 |
state = isBool ? state : !self.hasClass( className ); |
2034 | 2034 |
self[ state ? "addClass" : "removeClass" ]( className ); |
2035 | 2035 |
} |
usr/local/www/pkg_edit.php | ||
---|---|---|
1080 | 1080 |
$row_helper_data .= $value; |
1081 | 1081 |
$sep = ""; |
1082 | 1082 |
ereg($rowhelperfield['fieldname'] . "_fieldvalue\[(.*)\]", $template_text, $sep); |
1083 |
foreach ($sep as $se) $seperator = $se;
|
|
1084 |
if($seperator <> "") {
|
|
1085 |
$row_helper_data = ereg_replace(" ", $seperator, $row_helper_data);
|
|
1086 |
$template_text = ereg_replace("\[{$seperator}\]", "", $template_text);
|
|
1083 |
foreach ($sep as $se) $separator = $se;
|
|
1084 |
if($separator <> "") {
|
|
1085 |
$row_helper_data = ereg_replace(" ", $separator, $row_helper_data);
|
|
1086 |
$template_text = ereg_replace("\[{$separator}\]", "", $template_text);
|
|
1087 | 1087 |
} |
1088 | 1088 |
$template_text = str_replace($rowhelperfield['fieldname'] . "_fieldvalue", $row_helper_data, $template_text); |
1089 | 1089 |
} |
usr/local/www/services_dhcp.php | ||
---|---|---|
904 | 904 |
<td width="22%" valign="top" class="vncell"><?=gettext("Domain search list");?></td> |
905 | 905 |
<td width="78%" class="vtable"> |
906 | 906 |
<input name="domainsearchlist" type="text" class="formfld unknown" id="domainsearchlist" size="20" value="<?=htmlspecialchars($pconfig['domainsearchlist']);?>"><br> |
907 |
<?=gettext("The DHCP server can optionally provide a domain search list. Use the semicolon character as seperator ");?>
|
|
907 |
<?=gettext("The DHCP server can optionally provide a domain search list. Use the semicolon character as separator ");?>
|
|
908 | 908 |
</td> |
909 | 909 |
</tr> |
910 | 910 |
<tr> |
usr/local/www/services_dhcp_edit.php | ||
---|---|---|
424 | 424 |
<td width="22%" valign="top" class="vncell"><?=gettext("Domain search list");?></td> |
425 | 425 |
<td width="78%" class="vtable"> |
426 | 426 |
<input name="domainsearchlist" type="text" class="formfld unknown" id="domainsearchlist" size="20" value="<?=htmlspecialchars($pconfig['domainsearchlist']);?>"><br> |
427 |
<?=gettext("The DHCP server can optionally provide a domain search list. Use the semicolon character as seperator ");?>
|
|
427 |
<?=gettext("The DHCP server can optionally provide a domain search list. Use the semicolon character as separator ");?>
|
|
428 | 428 |
</td> |
429 | 429 |
</tr> |
430 | 430 |
<tr> |
usr/local/www/services_dhcpv6.php | ||
---|---|---|
630 | 630 |
<td width="22%" valign="top" class="vncell"><?=gettext("Domain search list");?></td> |
631 | 631 |
<td width="78%" class="vtable"> |
632 | 632 |
<input name="domainsearchlist" type="text" class="formfld unknown" id="domainsearchlist" size="28" value="<?=htmlspecialchars($pconfig['domainsearchlist']);?>"><br> |
633 |
<?=gettext("The DHCP server can optionally provide a domain search list. Use the semicolon character as seperator");?>
|
|
633 |
<?=gettext("The DHCP server can optionally provide a domain search list. Use the semicolon character as separator");?>
|
|
634 | 634 |
</td> |
635 | 635 |
</tr> |
636 | 636 |
<tr> |
usr/local/www/services_router_advertisements.php | ||
---|---|---|
376 | 376 |
<td width="22%" valign="top" class="vncell"><?=gettext("Domain search list");?></td> |
377 | 377 |
<td width="78%" class="vtable"> |
378 | 378 |
<input name="radomainsearchlist" type="text" class="formfld unknown" id="radomainsearchlist" size="28" value="<?=htmlspecialchars($pconfig['radomainsearchlist']);?>"><br> |
379 |
<?=gettext("The RA server can optionally provide a domain search list. Use the semicolon character as seperator");?>
|
|
379 |
<?=gettext("The RA server can optionally provide a domain search list. Use the semicolon character as separator");?>
|
|
380 | 380 |
</td> |
381 | 381 |
</tr> |
382 | 382 |
|
usr/local/www/tree/tree.js | ||
---|---|---|
1 | 1 |
/* |
2 |
* Content-seperated javascript tree widget
|
|
2 |
* Content-separated javascript tree widget
|
|
3 | 3 |
* Copyright (C) 2005 SilverStripe Limited |
4 | 4 |
* Feel free to use this on your websites, but please leave this message in the fies |
5 | 5 |
* http://www.silverstripe.com/blog |
Also available in: Unified diff
Fix #3113, fix multiple english spell errors s/seperet/separat/