| @@ -228,7 +228,7 @@ | ||
| 228 | 228 |                  'style'       => Validator::parsedBody($request)->isInArrayKeys($this->styles())->integer('style'), | 
| 229 | 229 |                  'width'       => Validator::parsedBody($request)->isBetween(self::MINIMUM_WIDTH, self::MAXIMUM_WIDTH)->integer('width'), | 
| 230 | 230 |                  'xref'        => Validator::parsedBody($request)->isXref()->string('xref'), | 
| 231 | - ])); | |
| 231 | + ])); | |
| 232 | 232 | } | 
| 233 | 233 | |
| 234 | 234 | Auth::checkComponentAccess($this, ModuleChartInterface::class, $tree, $user); | 
| @@ -304,7 +304,8 @@ discard block | ||
| 304 | 304 | <li class="wt-initials-list-item d-flex"> | 
| 305 | 305 | <?php if ($count > 0) : ?> | 
| 306 | 306 | <a href="<?= e($this->listUrl($tree, ['alpha' => $letter, 'show_marnm' => $show_marnm, 'tree' => $tree->name()])) ?>" class="wt-initial px-1<?= $letter === $alpha ? ' active' : '' ?> '" title="<?= I18N::number($count) ?>"><?= $this->displaySurnameInitial((string) $letter) ?></a> | 
| 307 | - <?php else : ?> | |
| 307 | +                        <?php else { | |
| 308 | + : ?> | |
| 308 | 309 | <span class="wt-initial px-1 text-muted"><?= $this->displaySurnameInitial((string) $letter) ?></span> | 
| 309 | 310 | |
| 310 | 311 | <?php endif ?> | 
| @@ -359,6 +360,7 @@ discard block | ||
| 359 | 360 |                  switch ($alpha) { | 
| 360 | 361 | case '@': | 
| 361 | 362 | $filter = static fn (string $x): bool => $x === Individual::NOMEN_NESCIO; | 
| 363 | +} | |
| 362 | 364 | break; | 
| 363 | 365 | case ',': | 
| 364 | 366 | $filter = static fn (string $x): bool => $x === ''; | 
| @@ -1,19 +1,19 @@ | ||
| 1 | 1 | <?php | 
| 2 | 2 | |
| 3 | 3 | return array ( | 
| 4 | - '%H:%i:%s' => '%g:%i:%s %a', | |
| 5 | - '%j %F %Y' => '%F %j, %Y', | |
| 6 | - 'Asunción, Paraguay' => 'Asuncion, Paraguay', | |
| 7 | - 'Bogotá, Colombia' => 'Bogota, Colombia', | |
| 8 | - 'Ciudad Juárez, Mexico' => 'Ciudad Juarez, Mexico', | |
| 9 | - 'Colonia Juárez, Mexico' => 'Colonia Juarez, Mexico', | |
| 10 | - 'Curaçao' => 'Curacao', | |
| 11 | - 'Córdoba, Argentina' => 'Cordoba, Argentina', | |
| 12 | - 'Côte d’Ivoire' => 'Cote d’Ivoire', | |
| 13 | - 'Réunion' => 'Reunion', | |
| 14 | - 'Saint Barthélemy' => 'Saint Barthelemy', | |
| 15 | - 'San José, Costa Rica' => 'San Jose, Costa Rica', | |
| 16 | - 'São Paulo, Brazil' => 'Sao Paulo, Brazil', | |
| 17 | - 'Tuxtla Gutiérrez, Mexico' => 'Tuxtla Gutierrez, Mexico', | |
| 18 | - 'Åland Islands' => 'Aland Islands', | |
| 4 | + '%H:%i:%s' => '%g:%i:%s %a', | |
| 5 | + '%j %F %Y' => '%F %j, %Y', | |
| 6 | + 'Asunción, Paraguay' => 'Asuncion, Paraguay', | |
| 7 | + 'Bogotá, Colombia' => 'Bogota, Colombia', | |
| 8 | + 'Ciudad Juárez, Mexico' => 'Ciudad Juarez, Mexico', | |
| 9 | + 'Colonia Juárez, Mexico' => 'Colonia Juarez, Mexico', | |
| 10 | + 'Curaçao' => 'Curacao', | |
| 11 | + 'Córdoba, Argentina' => 'Cordoba, Argentina', | |
| 12 | + 'Côte d’Ivoire' => 'Cote d’Ivoire', | |
| 13 | + 'Réunion' => 'Reunion', | |
| 14 | + 'Saint Barthélemy' => 'Saint Barthelemy', | |
| 15 | + 'San José, Costa Rica' => 'San Jose, Costa Rica', | |
| 16 | + 'São Paulo, Brazil' => 'Sao Paulo, Brazil', | |
| 17 | + 'Tuxtla Gutiérrez, Mexico' => 'Tuxtla Gutierrez, Mexico', | |
| 18 | + 'Åland Islands' => 'Aland Islands', | |
| 19 | 19 | ); | 
| @@ -57,52 +57,52 @@ | ||
| 57 | 57 | * Instead, the list from version 1.26 is copied here. | 
| 58 | 58 | */ | 
| 59 | 59 | public const AI_ROBOTS = [ | 
| 60 | - 'AI2Bot', | |
| 61 | - 'Ai2Bot-Dolma', | |
| 62 | - 'Amazonbot', | |
| 63 | - 'anthropic-ai', | |
| 64 | - 'Applebot', | |
| 65 | - 'Applebot-Extended', | |
| 66 | - 'Brightbot 1.0', | |
| 67 | - 'Bytespider', | |
| 68 | - 'CCBot', | |
| 69 | - 'ChatGPT-User', | |
| 70 | - 'Claude-Web', | |
| 71 | - 'ClaudeBot', | |
| 72 | - 'cohere-ai', | |
| 73 | - 'cohere-training-data-crawler', | |
| 74 | - 'Crawlspace', | |
| 75 | - 'Diffbot', | |
| 76 | - 'DuckAssistBot', | |
| 77 | - 'FacebookBot', | |
| 78 | - 'FriendlyCrawler', | |
| 79 | - 'Google-Extended', | |
| 80 | - 'GoogleOther', | |
| 81 | - 'GoogleOther-Image', | |
| 82 | - 'GoogleOther-Video', | |
| 83 | - 'GPTBot', | |
| 84 | - 'iaskspider/2.0', | |
| 85 | - 'ICC-Crawler', | |
| 86 | - 'ImagesiftBot', | |
| 87 | - 'img2dataset', | |
| 88 | - 'ISSCyberRiskCrawler', | |
| 89 | - 'Kangaroo Bot', | |
| 90 | - 'meta-externalagent', | |
| 91 | - 'meta-externalfetcher', | |
| 92 | - 'OAI-SearchBot', | |
| 93 | - 'omgili', | |
| 94 | - 'omgilibot', | |
| 95 | - 'PanguBot', | |
| 96 | - 'PerplexityBot', | |
| 97 | - 'PetalBot', | |
| 98 | - 'Scrapy', | |
| 99 | - 'SemrushBot-OCOB', | |
| 100 | - 'SemrushBot-SWA', | |
| 101 | - 'Sidetrade indexer bot', | |
| 102 | - 'Timpibot', | |
| 103 | - 'VelenPublicWebCrawler', | |
| 104 | - 'Webzio-Extended', | |
| 105 | - 'YouBot', | |
| 60 | + 'AI2Bot', | |
| 61 | + 'Ai2Bot-Dolma', | |
| 62 | + 'Amazonbot', | |
| 63 | + 'anthropic-ai', | |
| 64 | + 'Applebot', | |
| 65 | + 'Applebot-Extended', | |
| 66 | + 'Brightbot 1.0', | |
| 67 | + 'Bytespider', | |
| 68 | + 'CCBot', | |
| 69 | + 'ChatGPT-User', | |
| 70 | + 'Claude-Web', | |
| 71 | + 'ClaudeBot', | |
| 72 | + 'cohere-ai', | |
| 73 | + 'cohere-training-data-crawler', | |
| 74 | + 'Crawlspace', | |
| 75 | + 'Diffbot', | |
| 76 | + 'DuckAssistBot', | |
| 77 | + 'FacebookBot', | |
| 78 | + 'FriendlyCrawler', | |
| 79 | + 'Google-Extended', | |
| 80 | + 'GoogleOther', | |
| 81 | + 'GoogleOther-Image', | |
| 82 | + 'GoogleOther-Video', | |
| 83 | + 'GPTBot', | |
| 84 | + 'iaskspider/2.0', | |
| 85 | + 'ICC-Crawler', | |
| 86 | + 'ImagesiftBot', | |
| 87 | + 'img2dataset', | |
| 88 | + 'ISSCyberRiskCrawler', | |
| 89 | + 'Kangaroo Bot', | |
| 90 | + 'meta-externalagent', | |
| 91 | + 'meta-externalfetcher', | |
| 92 | + 'OAI-SearchBot', | |
| 93 | + 'omgili', | |
| 94 | + 'omgilibot', | |
| 95 | + 'PanguBot', | |
| 96 | + 'PerplexityBot', | |
| 97 | + 'PetalBot', | |
| 98 | + 'Scrapy', | |
| 99 | + 'SemrushBot-OCOB', | |
| 100 | + 'SemrushBot-SWA', | |
| 101 | + 'Sidetrade indexer bot', | |
| 102 | + 'Timpibot', | |
| 103 | + 'VelenPublicWebCrawler', | |
| 104 | + 'Webzio-Extended', | |
| 105 | + 'YouBot', | |
| 106 | 106 | ]; | 
| 107 | 107 | |
| 108 | 108 | // Other bad robots - SEO optimisers, advertisers, etc. This list is shared with robots.txt. |