/webtrees/app/Encodings/ |
H A D | AbstractUTF16Encoding.php | 39 * @param string $text 43 public function fromUtf8(string $text): string argument 46 $len = strlen($text); 49 $code_point = ord($text[$n]); 57 $byte2 = ord($text[++$n]); 66 $byte2 = ord($text[++$n]); 67 $byte3 = ord($text[++$n]); 87 * @param string $text 91 public function toUtf8(string $text): string argument 95 foreach (str_split($text, 2) as $character) { [all …]
|
H A D | AbstractEncoding.php | 46 * @param string $text 50 public function fromUtf8(string $text): string argument 55 $chars = preg_split('//u', $text, -1, PREG_SPLIT_NO_EMPTY); 70 * @param string $text 74 public function toUtf8(string $text): string argument 76 return strtr($text, static::TO_UTF8); 82 * @param string $text 86 public function convertibleBytes(string $text): int argument 95 $pos = strrpos($text, $char);
|
H A D | EncodingInterface.php | 33 * @param string $text 37 public function fromUtf8(string $text): string; argument 42 * @param string $text 46 public function toUtf8(string $text): string; argument 51 * @param string $text 55 public function convertibleBytes(string $text): int; argument
|
H A D | ANSEL.php | 659 * @param string $text 663 public function toUtf8(string $text): string argument 666 $text = preg_replace('/([\xE0-\xFF]+)(.)/', '$2$1', $text); 669 $text = strtr($text, self::TO_UTF8); 672 return strtr($text, self::PRECOMPOSED_CHARACTERS); 678 * @param string $text 682 public function fromUtf8(string $text): string argument 685 $text = strtr($text, array_flip(self::PRECOMPOSED_CHARACTERS)); 688 $text = strtr($text, self::HORN_CONVERT_STEP_1); 691 $text = parent::fromUtf8($text); [all …]
|
/webtrees/app/Http/RequestHandlers/ |
H A D | HelpText.php | 207 $text = view('help/date', [ 224 $text = view('help/name'); 229 $text = view('help/surname'); 234 $text = view('help/media-object'); 239 $text = view('help/place'); 244 $text = view('help/restriction'); 249 $text = view('help/romanized'); 254 $text = view('help/hebrew'); 259 $text = view('help/data-fixes'); 264 $text = view('help/source-events'); [all …]
|
H A D | CreateSourceAction.php | 48 $text = Validator::parsedBody($request)->string('source-text'); 57 $text = Registry::elementFactory()->make('SOUR:TEXT')->canonical($text); 74 if ($text !== '') { 75 $gedcom .= "\n1 TEXT " . strtr($text, ["\n" => "\n2 CONT "]);
|
/webtrees/public/ckeditor-4.15.1-custom/plugins/link/dialogs/ |
H A D | link.js | 15 …ment().hide()}},{type:"vbox",id:"emailOptions",padding:1,children:[{type:"text",id:"emailAddress",… 16 …unction(a){a.email||(a.email={});a.email.address=this.getValue()}},{type:"text",id:"emailSubject",… 19 …unction(a){a.target||(a.target={});a.target.type=this.getValue()}},{type:"text",id:"linkTargetName… 21 …text",widths:["50%","50%"],labelLayout:"horizontal",label:h.width,id:"width",setup:d,commit:e},{ty… 22 setup:d,commit:e},{type:"text",labelLayout:"horizontal",label:b.popupTop,widths:["50%","50%"],id:"t… 23 …text",id:"advId",requiredContent:"a[id]",label:b.id,setup:g,commit:k},{type:"select",id:"advLangDi… 24 …text",label:b.langCode,id:"advLangCode",requiredContent:"a[lang]",width:"110px","default":"",setup… 25 …text",label:b.cssClasses,requiredContent:"a(cke-xyz)","default":"",id:"advCSSClasses",setup:g,comm…
|
/webtrees/app/Report/ |
H A D | ReportParserSetup.php | 59 $this->text .= I18N::number((int) $match[1]); 61 $this->text .= I18N::translate($match[1]); 63 $this->text .= I18N::translateContext($match[1], $match[2]); 65 $this->text .= $attrs['var']; 76 $this->text = ''; 86 $this->data['title'] = $this->text; 88 $this->text = ''; 98 $this->data['description'] = $this->text; 100 $this->text = ''; 112 $this->text = ''; [all …]
|
H A D | ReportBaseElement.php | 33 public string $text = ''; variable in Fisharebest\\Webtrees\\Report\\ReportBaseElement 83 $this->text .= strip_tags($t); 93 $this->text .= "\n"; 103 return $this->text; 133 * @param string $text 137 public function setText(string $text): void argument 139 $this->text = $text;
|
H A D | ReportHtmlText.php | 46 $temptext = str_replace('#PAGENUM#', (string) $renderer->pageNo(), $this->text); 100 $ct = substr_count($this->text, "\n"); 130 $lw = $renderer->getStringWidth($this->text); 132 $lfct = $renderer->countLines($this->text); 139 $lines = explode("\n", $this->text); 181 $this->text = $newtext; 182 $lfct = substr_count($this->text, "\n"); 192 $lfct = substr_count($this->text, "\n");
|
H A D | ReportPdfText.php | 47 $temptext = str_replace('#PAGENUM#', (string) $renderer->tcpdf->PageNo(), $this->text); 129 $lw = $renderer->tcpdf->GetStringWidth($this->text); 131 $lfct = substr_count($this->text, "\n") + 1; 138 $lines = explode("\n", $this->text); 180 $this->text = $newtext; 181 $lfct = substr_count($this->text, "\n"); 191 $lfct = substr_count($this->text, "\n");
|
H A D | ReportHtmlFootnote.php | 61 $temptext = str_replace('#PAGENUM#', (string) $renderer->pageNo(), $this->text); 92 $this->text = $renderer->textWrap($this->text, $cellWidth); 95 $this->text .= "\n\n"; 96 $ct = substr_count($this->text, "\n");
|
/webtrees/app/Services/ |
H A D | GedcomService.php | 177 public function readLatitude(string $text): float|null argument 179 return $this->readDegrees($text, Gedcom::LATITUDE_NORTH, Gedcom::LATITUDE_SOUTH); 182 public function readLongitude(string $text): float|null argument 184 return $this->readDegrees($text, Gedcom::LONGITUDE_EAST, Gedcom::LONGITUDE_WEST); 187 private function readDegrees(string $text, string $positive, string $negative): float|null argument 189 $text = trim($text); variable in Fisharebest\\Webtrees\\Services\\GedcomService 190 $hemisphere = substr($text, 0, 1); 191 $degrees = substr($text, 1); 208 if (is_numeric($text)) { 209 return (float) $text; variable in Fisharebest\\Webtrees\\Services\\GedcomService
|
/webtrees/app/Module/ |
H A D | FanChartModule.php | 398 $text = implode("\n", $text_lines); 408 $text = mb_convert_encoding($text, 'EUC-JP', 'UTF-8'); 419 $text 514 * @param string $text 519 protected function fitTextToPixelWidth(string $text, int $pixels): string argument 521 while ($this->textWidthInPixels($text) > $pixels) { 522 $text = mb_substr($text, 0, -1); 525 while ($this->textWidthInPixels(' ' . $text . ' ') < $pixels) { 526 $text = ' ' . $text . ' '; 530 return rtrim($text); [all …]
|
H A D | CensusAssistantModule.php | 167 $text = $ca_title; 170 $text .= "\n" . $ca_citation; 174 $text .= "\n" . $ca_place; 177 $text .= "\n\n|"; 180 $text .= ' ' . $column->abbreviation() . ' |'; 183 $text .= "\n|" . str_repeat(' ----- |', count($census->columns())); 186 $text .= "\n|"; 189 $text .= ' ' . $ca_individuals[$n][$key] . ' |'; 194 $text .= "\n\n" . strtr($ca_notes, ["\r" => '']); 197 return $text;
|
H A D | ModuleLanguageTrait.php | 199 * @param string $text 203 public function normalize(string $text): string argument 206 $text = normalizer_normalize($text, Normalizer::FORM_KD); 209 $text = strtr($text, $this->normalizeExceptions()); 212 return strtr($text, $this->combining_diacritics);
|
/webtrees/app/ |
H A D | I18N.php | 433 * @param string $text Text to be reversed 437 public static function reverseText(string $text): string argument 440 $text = strip_tags($text); 442 $text = html_entity_decode($text, ENT_QUOTES, 'UTF-8'); 445 if (self::scriptDirection(self::textScript($text)) === 'ltr') { 446 return $text; 450 $text = strtr($text, self::MIRROR_CHARACTERS); 454 while ($text !== '') { 455 $letter = mb_substr($text, 0, 1); 456 $text = mb_substr($text, 1);
|
H A D | Soundex.php | 632 * @param string $text 636 public static function russell(string $text): string argument 638 $words = explode(' ', $text); 652 $soundex_array[] = soundex(str_replace(' ', '', $text)); 664 * @param string $text 668 public static function daitchMokotoff(string $text): string argument 670 $words = explode(' ', $text); 678 …soundex_array = array_merge($soundex_array, self::daitchMokotoffWord(str_replace(' ', '', $text)));
|
/webtrees/app/Factories/ |
H A D | ImageFactory.php | 95 … return $this->replacementImageResponse(text: (string) StatusCodeInterface::STATUS_NOT_FOUND) 120 ->replacementImageResponse(text: (string) StatusCodeInterface::STATUS_NOT_FOUND) 124 … ->replacementImageResponse(text: '.' . pathinfo(path: $path, flags: PATHINFO_EXTENSION)) 128 … ->replacementImageResponse(text: (string) StatusCodeInterface::STATUS_INTERNAL_SERVER_ERROR) 156 … return $this->replacementImageResponse(text: pathinfo(path: $path, flags: PATHINFO_EXTENSION)) 159 … return $this->replacementImageResponse(text: (string) StatusCodeInterface::STATUS_NOT_FOUND) 162 …return $this->replacementImageResponse(text: (string) StatusCodeInterface::STATUS_INTERNAL_SERVER_… 217 … ->replacementImageResponse(text: '.' . pathinfo(path: $path, flags: PATHINFO_EXTENSION)) 221 ->replacementImageResponse(text: (string) StatusCodeInterface::STATUS_NOT_FOUND) 225 … ->replacementImageResponse(text: (string) StatusCodeInterface::STATUS_INTERNAL_SERVER_ERROR) [all …]
|
/webtrees/public/css/ |
H A D | vendor.min.css | 6 …text-emphasis:#052c65;--bs-secondary-text-emphasis:#2b2f32;--bs-success-text-emphasis:#0a3622;--bs… 11 …text))}[dir] table.table.dataTable>tbody>tr.selected>*{box-shadow:inset 0 0 0 9999px #0d6efd;box-s…
|
/webtrees/public/ckeditor-4.15.1-custom/plugins/wsc/dialogs/ |
H A D | wsc.js | 10 …text:"Change to",localizationID:"ChangeTo"},ChangeAll:{instance:null,text:"Change All"},IgnoreWord… property 11 …text:"Options",localizationID:"Options"},FinishChecking_button_block:{instance:null,text:"Finish C… property 18 …ar();for(var c=0;c<b.length;c++){var e=document.createElement("option");e.text=b[c];e.value=b[c];d… 22 …e.send({message:{changeLang:a.selectingLang,interfaceLang:a.interfaceLang,text:a.dataTemp,cmd:c},t… property 24 ….clear();for(d=0;d<c.length;d++){var e=document.createElement("option");e.text=c[d];e.value=c[d];b… 26 …de.Categories.clear();for(var e in b)b=document.createElement("option"),b.text=e,b.value=e,d.$.add… 27 …e()},settext:function(b){function d(){try{c.focus()}catch(d){}c.setData(b.text,function(){a.dataTe… 29 …eplaceText:function(b){delete b.id;a.div_overlay.setEnable();a.dataTemp=b.text;a.selectingLang=b.c… 33 …;c=c||a.dataTemp;g.postMessage.send({message:{customerId:a.wsc_customerId,text:c,txt_ctrl:a.TextAr… property 56 …{type:"text",id:"ChangeTo_label",label:a.LocalizationLabel.ChangeTo_label.text+":",labelLayout:"ho… [all …]
|
/webtrees/tests/feature/ |
H A D | EmbeddedVariablesTest.php | 128 $text = $statistics->embedTags('#getAllTagsTable#'); 129 self::assertNotEquals('#getAllTagsTable#', $text); 132 $text = $statistics->embedTags('#getAllTagsTable#'); 133 self::assertNotEquals('#getAllTagsTable#', $text); 151 $text = $statistics->embedTags('#getAllTagsTable#'); 152 self::assertNotEquals('#getAllTagsTable#', $text); 159 $text = $statistics->embedTags('#getAllTagsTable#'); 160 self::assertNotEquals('#getAllTagsTable#', $text);
|
/webtrees/resources/css/ |
H A D | _base.css | 43 text-align: right; 59 text-decoration: none; 63 text-decoration: underline; 101 text-decoration: var(--link-decoration); 106 text-decoration: var(--link-decoration-hover); 116 /* User-generated text */ 118 /* RTL text on LTR pages (or vice-versa) */ 131 .wt-text-overflow-elipsis { 134 text-overflow: ellipsis;
|
/webtrees/resources/views/modules/notes/ |
H A D | tab.phtml | 59 <?php $text = preg_replace('/\n\d CONT ?/', "\n", $match[1]) ?> variable 60 … <?php if (preg_match('/^@' . Gedcom::REGEX_XREF . '@$/', $text) === 1) : ?> 61 … <?php $note = Registry::noteFactory()->make(trim($text, '@'), $individual->tree()) ?> 71 <span class="error"><?= e($text) ?></span> 74 … <?= (new SubmitterText(''))->value($text, $individual->tree()) ?>
|
/webtrees/public/ckeditor-4.15.1-custom/skins/moono/ |
H A D | dialog.css | 5 …text-shadow:0 1px 0 rgba(255,255,255,.75);border-bottom:1px solid #999;padding:6px 10px;border-rad…
|