/webtrees/tests/app/Encodings/ |
H A D | UTF16BETest.php | 42 foreach (range(0, 0x7F) as $code) { 43 $char = chr(intdiv($code, 256)) . chr($code % 256); 47 static::assertSame($expected, $actual, 'U+' . dechex($code)); 50 foreach (range(0x80, 0xFF) as $code) { 51 $char = chr(intdiv($code, 256)) . chr($code % 256); 54 static::assertSame(UTF8::REPLACEMENT_CHARACTER, $actual, 'U+' . dechex($code)); 57 foreach (range(0x100, 0xD7FF) as $code) { 58 $char = chr(intdiv($code, 256)) . chr($code % 256); 62 static::assertSame($expected, $actual, 'U+' . dechex($code)); 65 foreach (range(0xD800, 0xDFFF) as $code) { [all …]
|
H A D | UTF16LETest.php | 42 foreach (range(0, 0x7F) as $code) { 43 $char = chr($code % 256) . chr(intdiv($code, 256)); 47 static::assertSame($expected, $actual, 'U+' . dechex($code)); 50 foreach (range(0x80, 0xFF) as $code) { 51 $char = chr($code % 256) . chr(intdiv($code, 256)); 54 static::assertSame(UTF8::REPLACEMENT_CHARACTER, $actual, 'U+' . dechex($code)); 57 foreach (range(0x100, 0xD7FF) as $code) { 58 $char = chr($code % 256) . chr(intdiv($code, 256)); 62 static::assertSame($expected, $actual, 'U+' . dechex($code)); 65 foreach (range(0xD800, 0xDFFF) as $code) { [all …]
|
H A D | AnselTest.php | 142 foreach ($codes as $code) { 143 $utf8 = UTF8::chr($code); 158 … static::assertSame($utf8, $encoding->toUtf8($encoding->fromUtf8($utf8)), 'U+' . dechex($code));
|
/webtrees/resources/views/help/ |
H A D | date.phtml | 42 <?php foreach ($date_dates as $code => $date) : ?> 48 <kbd dir="ltr" lang="en"><?= $code ?></kbd> 51 <?php foreach ($date_shortcuts[$code] as $shortcut) : ?> 80 <?php foreach ($date_range_dates as $code => $date) : ?> 86 <kbd dir="ltr" lang="en"><?= $code ?></kbd> 89 <?php foreach ($date_range_shortcuts[$code] as $shortcut) : ?> 118 <?php foreach ($date_period_dates as $code => $date) : ?> 124 <kbd dir="ltr" lang="en"><?= $code ?></kbd> 127 <?php foreach ($date_period_shortcuts[$code] as $shortcut) : ?> 158 <?php foreach ($julian_dates as $code => $date) : ?> [all …]
|
/webtrees/app/Encodings/ |
H A D | UTF8.php | 839 * @param int $code 843 public static function chr(int $code): string argument 845 if ($code < 0 || $code > 0x1FFFFF) { 846 throw new InvalidArgumentException((string)$code); 849 if ($code <= 0x7F) { 850 return chr($code); 853 if ($code <= 0x7FF) { 855 chr(($code >> 6) + 0xC0) . 856 chr(($code & 0x3F) + 0x80); 859 if ($code <= 0xFFFF) { [all …]
|
/webtrees/app/Factories/ |
H A D | ResponseFactory.php | 83 * @param int $code 87 …public function redirectUrl(UriInterface|string $url, int $code = StatusCodeInterface::STATUS_FOUN… argument 90 ->createResponse($code) 96 * @param int $code 101 …public function response(string|array|object $content = '', int $code = StatusCodeInterface::STATU… argument 103 if ($content === '' && $code === StatusCodeInterface::STATUS_OK) { 104 $code = StatusCodeInterface::STATUS_NO_CONTENT; 117 ->createResponse($code)
|
H A D | TimestampFactory.php | 50 $locale = I18N::locale()->code();
|
H A D | ImageFactory.php | 275 return response(content: $svg, code: StatusCodeInterface::STATUS_OK, headers: [
|
/webtrees/app/ |
H A D | I18N.php | 269 * @param string $code 274 public static function init(string $code, bool $setup = false): void argument 276 self::$locale = Locale::create($code); 304 … ->first(fn (ModuleLanguageInterface $module): bool => $module->locale()->languageTag() === $code); 318 if (str_contains(self::$locale->code(), '@')) { 319 self::$collator = new Collator(self::$locale->code() . ';collation=phonebook'); 321 self::$collator = new Collator(self::$locale->code() . '@collation=phonebook'); 567 if (in_array(self::$locale->language()->code(), self::DOTLESS_I_LOCALES, true)) { 583 if (in_array(self::$locale->language()->code(), self::DOTLESS_I_LOCALES, true)) {
|
H A D | GedcomRecord.php | 390 $language_script ??= I18N::locale()->script()->code();
|
/webtrees/app/Helpers/ |
H A D | functions.php | 76 * @param int $code 80 function redirect(string $url, int $code = StatusCodeInterface::STATUS_FOUND): ResponseInterface argument 85 ->createResponse($code) 93 * @param int $code 98 function response(array|object|string $content = '', int $code = StatusCodeInterface::STATUS_OK, ar… argument 100 return Registry::responseFactory()->response($content, $code, $headers);
|
/webtrees/ |
H A D | LICENSE.md | 28 them if you wish), that you receive source code or can get it if you 40 or can get the source code. And you must show them these terms so they 117 The “source code” for a work means the preferred form of the work 118 for making modifications to it. “Object code” means any non-source 131 implementation is available to the public in source code form. A 135 produce the work, or an object code interpreter used to run it. 137 The “Corresponding Source” for a work in object code form means all 138 the source code needed to generate, install, and (for an executable 139 work) run the object code and to modify the work, including scripts to 145 the work, and the source code for shared libraries and dynamically [all …]
|
H A D | CONTRIBUTING.md | 16 Before submitting a pull request make sure you have [tested the code](#how-to-test) 35 * `git` - to fetch the latest development code, merge changes, create pull requests, etc. 48 If you are only interested in the latest version of the code, you can use a 60 * You can use a "pre-commit hook" to run checks on your code before you commit them to your local r… 71 accustomed to downloading the latest source code and running it without any build step. 100 Your code should follow the [PSR-12](https://www.php-fig.org/psr/psr-12/) Extended coding style gui…
|
H A D | composer.lock | 308 "email": "roman@code-factory.org" 398 "email": "roman@code-factory.org" 5287 …: "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme… 5533 "description": "Allows exporting any serializable PHP data structure to plain PHP code", 6080 "name": "phpunit/php-code-coverage", 6084 "url": "https://github.com/sebastianbergmann/php-code-coverage.git", 6089 …"url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/f7f08030e8811582c… 6101 "sebastian/code-unit-reverse-lookup": "^4.0.1", 6104 "sebastian/lines-of-code": "^3.0.1", 6137 …that provides collection, processing, and rendering functionality for PHP code coverage informatio… [all …]
|
/webtrees/app/Contracts/ |
H A D | ResponseFactoryInterface.php | 52 * @param int $code 56 …public function redirectUrl(UriInterface|string $url, int $code = StatusCodeInterface::STATUS_FOUN… argument 60 * @param int $code 65 …public function response(string|array|object $content = '', int $code = StatusCodeInterface::STATU… argument
|
/webtrees/public/ckeditor-4.15.1-custom/ |
H A D | LICENSE.md | 45 Parts of code taken from the following libraries are included in CKEditor under the MIT license (se… 95 this service if you wish), that you receive source code or can get it 107 source code. And you must show them these terms so they know their 151 source code as you receive it, in any medium, provided that you 206 under Section 2) in object code or executable form under the terms of 210 source code, which must be distributed under the terms of Sections 216 machine-readable copy of the corresponding source code, to be 221 to distribute corresponding source code. (This alternative is 223 received the program in object code or executable form with such 226 The source code for a work means the preferred form of the work for [all …]
|
H A D | contents.css | 138 .code-featured
|
H A D | CHANGES.md | 10 …nside CKEditor 4 by persuading a victim to paste a specially crafted HTML code into the [Color But… 86 … code, prepared by the attacker, into the opened CKEditor source area, and (iii) switch back to WY… 90 … switch CKEditor to source mode, then (ii) paste a specially crafted HTML code, prepared by the at… 222 …ml#cfg-colorButton_colors) configuration option in the form of a label or code do not work correct… 279 * Fixed: Quotes with code `U+2019` (Right single quotation mark) are considered separators. 333 … switch CKEditor to source mode, then (ii) paste a specially crafted HTML code, prepared by the at… 687 * [#13381](https://dev.ckeditor.com/ticket/13381): Dynamic code evaluation call in [`CKEDITOR.templ… 1204 … switch CKEditor to source mode, then (ii) paste a specially crafted HTML code, prepared by the at… 1260 … switch CKEditor to source mode, then (ii) paste a specially crafted HTML code, prepared by the at… 1303 …code snippet](https://ckeditor.com/cke4/addon/codesnippet) should be presented in the [elements pa… [all …]
|
/webtrees/app/Date/ |
H A D | JewishDate.php | 87 if (I18N::locale()->script()->code() === 'Hebr') { 104 if (I18N::locale()->script()->code() === 'Hebr') { 118 if (I18N::locale()->script()->code() === 'Hebr') {
|
/webtrees/resources/css/ |
H A D | _markdown.css | 23 .markdown p code { 24 /* Bootstrap makes code text red */
|
/webtrees/app/Http/Middleware/ |
H A D | ErrorHandler.php | 49 …throw new ErrorException(message: $errstr, code: 0, severity: $errno, filename: $errfile, line: $e…
|
/webtrees/app/Cli/ |
H A D | Console.php | 56 I18N::init(code: 'en-US', setup: true);
|
/webtrees/resources/lang/zh-Hans/ |
H A D | messages.po | 1491 msgid "Add content to the end of the <code><body></code> element." 1492 msgstr "添加内容到 <code><body></code> 元素后面。" 1495 msgid "Add content to the end of the <code><head></code> element." 1496 msgstr "添加内容到 <code><head></code> 后面。" 8367 msgid "Include the <code><script></script></code> tags." 8368 msgstr "含有 <code><script></script></code> 标签." 8371 msgid "Include the <code><style></style></code> tags." 8372 msgstr "含有 <code><style></style></code> 标签." 9540 msgid "Maidenhead location code" 12334 msgid "Postal code" [all …]
|
/webtrees/resources/lang/zh-Hant/ |
H A D | messages.po | 1490 msgid "Add content to the end of the <code><body></code> element." 1491 msgstr "添加內容到 <code><body></code> 元素後面。" 1494 msgid "Add content to the end of the <code><head></code> element." 1495 msgstr "添加內容到 <code><head></code> 後面。" 8361 msgid "Include the <code><script></script></code> tags." 8362 msgstr "含有 <code><script></script></code> 標籤." 8365 msgid "Include the <code><style></style></code> tags." 8366 msgstr "含有 <code><style></style></code> 標籤." 9533 msgid "Maidenhead location code" 12321 msgid "Postal code" [all …]
|
/webtrees/resources/lang/ko/ |
H A D | messages.po | 1373 msgid "Add content to the end of the <code><body></code> element." 1374 msgstr "요소의 끝에 <code><body></code> 컨텐츠를 추가합니다." 1377 msgid "Add content to the end of the <code><head></code> element." 1378 msgstr "요소의 끝에 <code><head></code> 콘텐츠를 추가합니다." 7778 msgid "Include the <code><script></script></code> tags." 7779 msgstr "<code><script></script></code> 태그를 포함합니다." 7782 msgid "Include the <code><style></style></code> tags." 7783 msgstr "<code><style></style></code> 태그를 포함합니다." 8854 msgid "Maidenhead location code" 8855 msgstr "Maidenhead location code" [all …]
|