/webtrees/app/Http/RequestHandlers/ |
H A D | RenumberTreeAction.php | 79 ->where('i_file', '=', $tree->id()) 88 ->where('f_file', '=', $tree->id()) 96 ->where('f_file', '=', $tree->id()) 112 ->where('f_file', '=', $tree->id()) 128 ->where('i_file', '=', $tree->id()) 135 ->where('pl_file', '=', $tree->id()) 142 ->where('d_file', '=', $tree->id()) 149 ->where('gedcom_id', '=', $tree->id()) 159 ->where('f_file', '=', $tree->id()) 176 ->where('i_file', '=', $tree->id()) [all …]
|
H A D | MergeTreesAction.php | 80 new Expression($tree2->id()), 86 ->where('i_file', '=', $tree1->id()); 98 new Expression($tree2->id()), 105 ->where('f_file', '=', $tree1->id()); 115 new Expression($tree2->id()), 120 ->where('s_file', '=', $tree1->id()); 129 new Expression($tree2->id()), 133 ->where('m_file', '=', $tree1->id()); 145 new Expression($tree2->id()), 152 ->where('m_file', '=', $tree1->id()); [all …]
|
H A D | GedcomLoad.php | 80 ->where('gedcom_id', '=', $tree->id()) 85 ->where('gedcom_id', '=', $tree->id()) 103 'individuals' => DB::table('individuals')->where('i_file', '=', $tree->id()), 104 'families' => DB::table('families')->where('f_file', '=', $tree->id()), 105 'sources' => DB::table('sources')->where('s_file', '=', $tree->id()), 106 'other' => DB::table('other')->where('o_file', '=', $tree->id()), 107 'places' => DB::table('places')->where('p_file', '=', $tree->id()), 108 'placelinks' => DB::table('placelinks')->where('pl_file', '=', $tree->id()), 109 'name' => DB::table('name')->where('n_file', '=', $tree->id()), 110 'dates' => DB::table('dates')->where('d_file', '=', $tree->id()), [all …]
|
/webtrees/app/Services/ |
H A D | TreeService.php | 111 ->where('user_gedcom_setting.user_id', '=', Auth::id()) 143 * @param int $id 147 public function find(int $id): Tree argument 149 $tree = $this->all()->first(static fn (Tree $tree): bool => $tree->id() === $id); 155 throw new DomainException('Call to find() with an invalid id: ' . $id); 210 $tree->setPreference('CONTACT_USER_ID', (string) Auth::id()); 211 $tree->setPreference('WEBMASTER_USER_ID', (string) Auth::id()); 250 DB::table('gedcom_chunk')->where('gedcom_id', '=', $tree->id())->delete(); 263 'gedcom_id' => $tree->id(), 272 'gedcom_id' => $tree->id(), [all …]
|
H A D | AdminService.php | 66 ->where('i_file', '=', $tree1->id()) 69 ->where('f_file', '=', $tree1->id()) 72 ->where('s_file', '=', $tree1->id()) 75 ->where('m_file', '=', $tree1->id()) 78 ->where('o_file', '=', $tree1->id()) 83 ->where('gedcom_id', '=', $tree2->id()) 86 ->where('i_file', '=', $tree2->id()) 89 ->where('f_file', '=', $tree2->id()) 92 ->where('s_file', '=', $tree2->id()) 95 ->where('m_file', '=', $tree2->id()) [all …]
|
H A D | GedcomImportService.php | 238 $tree_id = $tree->id(); 478 ->where('id', '=', $location->id()) 515 ->where('id', '=', $location->id()) 545 while ($place->id() !== 0) { 547 'pl_p_id' => $place->id(), 549 'pl_file' => $tree->id(), 775 ->where('m_file', '=', $tree->id()) 816 'm_file' => $tree->id(), 822 'm_file' => $tree->id(), 858 ->where('pl_file', '=', $tree->id()) [all …]
|
/webtrees/public/ckeditor-4.15.1-custom/plugins/wsc/dialogs/ |
H A D | wsc.js | 7 …null,f=a.id||"",h=a.target||window,k=a.message||{id:f};a.message&&"[object Object]"==b.call(a.mess… 18 …ent().getValue())};var C=function(a){var d=document,c=a.target||d.body,e=a.id||"overlayBlock",f=a.… 19 …"+a+";opacity: "+f+";filter: alpha(opacity\x3d"+100*f+");display: none;";k.id=e;h||c.appendChild(k… 20 …:"normal"});f.setAttributes({type:"radio",value:d,name:"wscGrammerSuggest",id:k});f.setStyles({"fl… property 22 …aceLang:a.interfaceLang,text:a.dataTemp,cmd:c},target:a.targetFromFrame[e],id:"selectionLang_outer… property 24 …romFrame[a.iframeNumber+"_"+b],a.cmd[b])},suggestlist:function(b){delete b.id;a.div_overlay_no_che… 25 …id;delete b.mocklangs;D();w(a.langList);var d=b.grammSuggest[0];a.grammerSuggest.getElement().setH… 26 …ionSynonyms(d);p();a.div_overlay.setDisable()},finish:function(b){delete b.id;O();b=a.dialog.getCo… 27 …p="";c.unlockSelection();c.fire("saveSnapshot");a.dialog.hide()})}delete b.id;a.dialog.getParentEd… 29 …id;a.div_overlay.setEnable();a.dataTemp=b.text;a.selectingLang=b.currentLang;(b.cmd="0"!==b.len&&b… [all …]
|
/webtrees/app/Elements/ |
H A D | NoteStructure.php | 42 * @param string $id 49 public function edit(string $id, string $name, string $value, Tree $tree): string argument 56 return $xref_note->edit($id, $name, $value, $tree); 61 return $submitter_text->edit($id, $name, $value, $tree); 71 '<div id="' . e($id) . '-note-structure">' . 72 '<div id="' . e($id) . '-options">' . 73 …view('components/radios-inline', ['name' => $id . '-options', 'options' => $options, 'selected' =>… 75 '<div id="' . e($id) . '-inline">' . 76 $submitter_text->edit($id, $name, $value, $tree) . 78 '<div id="' . e($id) . '-shared" class="d-none">' . [all …]
|
/webtrees/tests/app/Services/ |
H A D | UserServiceTest.php | 51 self::assertSame(1, $user->id()); 58 $user_id = $user->id(); 76 $user2 = $user_service->find($user1->id()); 78 self::assertSame($user1->id(), $user2->id()); 87 self::assertSame($user1->id(), $user2->id()); 96 self::assertSame($user1->id(), $user2->id()); 106 self::assertSame($user1->id(), $user2->id()); 107 self::assertSame($user1->id(), $user3->id()); 122 self::assertSame($user->id(), $users[0]->id()); 134 self::assertSame($user2->id(), $users[0]->id()); [all …]
|
/webtrees/app/ |
H A D | Tree.php | 96 private int $id; variable in Fisharebest\\Webtrees\\Tree 120 * @param int $id 124 public function __construct(int $id, string $name, string $title) argument 126 $this->id = $id; 135 ->where('gedcom_id', '=', $this->id) 176 'gedcom_id' => $this->id, 202 ->where('gedcom_id', '=', $this->id) 274 'gedcom_id' => $this->id(), 275 'user_id' => $user->id(), 282 $this->user_preferences[$user->id()][$setting_name] = $setting_value; [all …]
|
H A D | Place.php | 70 * @param int $id 75 public static function find(int $id, Tree $tree): Place argument 79 while ($id !== 0) { 81 ->where('p_file', '=', $tree->id()) 82 ->where('p_id', '=', $id) 86 $id = (int) $row->p_parent_id; 89 $id = 0; 114 public function id(): int function in Fisharebest\\Webtrees\\Place 122 $parent_place_id = $this->parent()->id(); 125 ->where('p_file', '=', $this->tree->id()) [all …]
|
H A D | Container.php | 46 public function has(string $id): bool argument 48 return array_key_exists($id, $this->container); 56 public function get(string $id): object argument 58 return $this->container[$id] ??= $this->make($id); 67 public function set(string $id, object $object): static argument 69 $this->container[$id] = $object; 79 private function make(string $id): object argument 81 $reflector = new ReflectionClass($id); 85 return new $id(); 90 return new $id(...$parameters);
|
H A D | SessionDatabaseHandler.php | 65 * @param string $id 69 public function read(string $id): string argument 72 ->where('session_id', '=', $id) 79 * @param string $id 84 public function write(string $id, string $data): bool argument 87 $user_id = (int) Auth::id(); 92 'session_id' => $id, 121 ->where('session_id', '=', $id) 130 * @param string $id 134 public function destroy(string $id): bool argument [all …]
|
/webtrees/public/ckeditor-4.15.1-custom/plugins/flash/dialogs/ |
H A D | flash.js | 5 (function(){function b(a,b,c){var h=n[this.id];if(h)for(var f=this instanceof CKEDITOR.ui.dialog.ch… 6 …);return}f&&this.setValue(!!d["default"])}}}function c(a,b,c){var h=n[this.id];if(h)for(var f=""==… 7 …"default"]?b.removeAttribute(g.name):b.setAttribute(g.name,m)}}}for(var n={id:[{type:1,name:"id"}]… property 13 …a.insertElement(e)},onHide:function(){this.preview&&this.preview.setHtml("")},contents:[{id:"info", property 14 …"280px","110px"],align:"right",className:"cke_dialog_flash_url",children:[{id:"src",type:"text",la… property 15 …id:"browse",filebrowser:"info:src",hidden:!0,style:"display:inline-block;margin-top:14px;",label:a… property 16 …id:"height",requiredContent:"embed[height]",style:"width:95px",label:a.lang.common.height,validate… property 17 …id:"vSpace",requiredContent:"embed[vspace]",style:"width:95px",label:a.lang.flash.vSpace,validate:… property 18 …id:"uploadButton",label:a.lang.common.uploadSubmit,filebrowser:"info:src","for":["Upload","upload"… property 19 …id:"allowScriptAccess",type:"select",requiredContent:"embed[allowscriptaccess]",label:a.lang.flash… property [all …]
|
/webtrees/public/ckeditor-4.15.1-custom/plugins/iframe/dialogs/ |
H A D | iframe.js | 5 …id)&&(c=c.getAttribute(this.id),d?this.setValue(f[this.id]["true"]==c.toLowerCase()):this.setValue… 7 …:c.insertElement(b)},contents:[{id:"info",label:a.generalTab,accessKey:"I",elements:[{type:"vbox",… property 8 …id:"width",type:"text",requiredContent:"iframe[width]",style:"width:100%",labelLayout:"vertical",l… property 9 …(d.align=this.getValue())}}]},{type:"hbox",widths:["50%","50%"],children:[{id:"scrolling",type:"ch… property 10 …id:"frameborder",type:"checkbox",requiredContent:"iframe[frameborder]",label:g.border,setup:d,comm… property 11 f&&f.createAdvancedTab(c,{id:1,classes:1,styles:1},"iframe")]}})})(); property
|
/webtrees/public/ckeditor-4.15.1-custom/plugins/scayt/dialogs/ |
H A D | options.js | 2 …ng();this.newLang=null},id:"lang"},k=[{id:"options",label:c.getLocal("tab_options"),onShow:functio… property 3 …id=h,b.label=c.getLocal(g[h]),a.push(b);return a}(),onShow:function(){this.getChild();for(var b=d.… property 4 …id:"dictionaries",label:c.getLocal("tab_dictionaries"),elements:[{type:"vbox",id:"rightCol_col__le… property 6 id:"udButtonsHolder",align:"left",widths:["auto"],style:"width:auto;",children:[{type:"button",id:"… property 7 …te";a.name=h;d.fire("scaytUserDictionaryActionError",a)})}},{type:"button",id:"restoreDic",label:c… property 9 id:"disconnectDic",label:c.getLocal("btn_disconnectDic"),title:c.getLocal("btn_disconnectDic"),onCl… property 10 …ve";a.name=e;d.fire("scaytUserDictionaryActionError",a)})}},{type:"button",id:"renameDic",label:c.… property 11 …me";a.name=g;d.fire("scaytUserDictionaryActionError",a)})}},{type:"button",id:"editDic",label:c.ge… property 12 …tionaryState.call(b,"wordsState")}}]},{type:"hbox",id:"dicInfo",align:"left",children:[{type:"html… property 13 …id:"addWordAction",type:"hbox",style:"width: 100%; margin-bottom: 0;",widths:["40%","60%"],childre… property [all …]
|
/webtrees/resources/views/admin/ |
H A D | trees.phtml | 58 <div class="accordion-header" id="card-tree-header-<?= $managed_tree->id() ?>"> 59 …id() === $tree->id() || $managed_tree->getPreference('imported') === '0' ? ' ' : ' collapsed' ?>" … 67 …id() ?>" class="accordion-collapse collapse<?= $managed_tree->id() === $tree->id() || $managed_tre… 69 …orting = DB::table('gedcom_chunk')->where('gedcom_id', '=', $managed_tree->id())->where('imported'… 71 <div id="import<?= $managed_tree->id() ?>" class="col-12"> 80 …$("#import<?= $managed_tree->id() ?>").load("<?= route(GedcomLoad::class, ['tree' => $managed_tree… 84 … <div class="row<?= $importing ? ' d-none' : '' ?>" id="actions<?= $managed_tree->id() ?>"> 131 … <a href="#" onclick="document.defaultform<?= $managed_tree->id() ?>.submit();"> 135 …ltTree::class, ['tree' => $managed_tree->name()]) ?>" name="defaultform<?= $managed_tree->id() ?>">
|
H A D | control-panel.phtml | 354 <tr class="<?= $changes[$tree->id()] ? 'danger' : '' ?>"> 364 <?php if ($changes[$tree->id()]) : ?> 366 <?= I18N::number($changes[$tree->id()]) ?> 374 <?php if ($individuals[$tree->id()] > 0) : ?> 376 …= e($individual_list_module->listUrl($tree)) ?>"><?= I18N::number($individuals[$tree->id()]) ?></a> 378 <?= I18N::number($individuals[$tree->id()]) ?> 385 <?php if ($families[$tree->id()] > 0) : ?> 387 …ref="<?= e($family_list_module->listUrl($tree)) ?>"><?= I18N::number($families[$tree->id()]) ?></a> 389 <?= I18N::number($families[$tree->id()]) ?> 396 <?php if ($sources[$tree->id()] > 0) : ?> [all …]
|
/webtrees/public/ckeditor-4.15.1-custom/plugins/forms/dialogs/ |
H A D | form.js | 5 …id:1,method:1,enctype:1,target:1};return{title:a.lang.forms.form.title,minWidth:350,minHeight:200,… property 6 …id,this.getValue()):a.removeAttribute(this.id)}this.foreach(function(c){d[c.id]&&(c.setup=a,c.comm… property 7 …id:"action",type:"text",label:a.lang.forms.form.action,"default":"",accessKey:"T"},{type:"hbox",wi… property 8 ….lang.common.targetSelf,"_self"],[a.lang.common.targetParent,"_parent"]]},{id:"method",type:"selec… property
|
H A D | select.js | 8 …ateBookmarks();setTimeout(function(){d.selectBookmarks(c)},0)}},contents:[{id:"info",label:c.lang.… property 9 …id:"txtName",type:"text",widths:["25%","75%"],labelLayout:"horizontal",label:c.lang.common.name,"d… property 10 …cke_dialog_forms_select_order_txtsize",widths:["175px","170px"],children:[{id:"txtSize",type:"text… property 12 …[{id:"txtOptName",type:"text",label:c.lang.forms.select.opText,style:"width:115px",setup:function(… property 14 …{id:"txtOptValue",type:"text",label:c.lang.forms.select.opValue,style:"width:115px",setup:function… property 15 …xtValue").setValue(e)}}}]},{type:"vbox",padding:5,children:[{type:"button",id:"btnAdd",label:c.lan… property 16 …getParentEditor().document);b.setValue("");e.setValue("")}},{type:"button",id:"btnModify",label:c.… property 17 …etValue(),b.getValue()),q(a,c,e.getValue(),e.getValue()))}},{type:"button",id:"btnUp",style:"width… property 18 …id:"btnDown",style:"width:100%;",label:c.lang.forms.select.btnDown,title:c.lang.forms.select.btnDo… property 19 …tContentElement("info","txtValue").setValue(b.getValue())}},{type:"button",id:"btnDelete",label:c.… property [all …]
|
H A D | textfield.js | 5 …lue();b?a.setAttribute(this.id,b):a.removeAttribute(this.id)}function f(a){a=a.hasAttribute(this.i… 6 …each(function(a){a.getValue&&(a.setup||(a.setup=f),a.commit||(a.commit=e))})},contents:[{id:"info", property 7 …id:"_cke_saved_name",type:"text",label:b.lang.forms.textfield.name,"default":"",accessKey:"N",setu… property 8 …id:"size",type:"text",label:b.lang.forms.textfield.charWidth,"default":"",accessKey:"C",style:"wid… property 9 …ion(){CKEDITOR.env.ie7Compat&&this.getElement().setStyle("zoom","100%")}},{id:"type",type:"select"… property 10 …),c.replace(d),a.element=c)}else d.setAttribute("type",this.getValue())}},{id:"required",type:"che… property
|
/webtrees/public/ckeditor-4.15.1-custom/plugins/image/dialogs/ |
H A D | image.js | 5 …b.commit.apply(b,a);this.foreach(function(b){b.commit&&"txtdlgGenStyle"!=b.id&&b.commit.apply(b,a)… 6 …c=b.originalElement,"true"==c.getCustomData("isReady")&&("txtHeight"==this.id?(a&&"0"!=a&&(a=Math.… 9 c[2]&&(c[1]+="%",m(d,!1)),c[1]):b}if(1==a){var d=this.getDialog(),e="",f="txtWidth"==this.id?"width… 18 …ent.remove(),this.originalElement=!1);delete this.imageElement},contents:[{id:"info",label:d.lang.… property 19 "110px"],align:"right",className:"cke_dialog_image_url",children:[{id:"txtUrl",type:"text",label:d.… property 21 …,id:"browse",style:"display:inline-block;margin-top:14px;",align:"center",label:d.lang.common.brow… property 22 …id:"basic",type:"vbox",children:[{type:"hbox",requiredContent:"img{width,height}",widths:["50%","5… property 23 …):8==a&&(b.removeAttribute("width"),b.removeStyle("width"))}},{type:"text",id:"txtHeight",width:"4… property 25 …ht+"px")):8==a&&(b.removeAttribute("height"),b.removeStyle("height"))}}]},{id:"ratioLock",type:"ht… property 28 id:"txtBorder",requiredContent:"img{border-width}",width:"60px",label:d.lang.image.border,"default"… property [all …]
|
/webtrees/app/Report/ |
H A D | ReportParserGenerate.php | 953 $id = ''; 957 $id = $match[1]; 962 $id = $this->vars[$match[1]]['id']; 968 $id = $gmatch[1]; 971 $id = $attrs['id']; 975 if (!empty($id)) { 976 $record = Registry::gedcomRecordFactory()->make($id, $this->tree); 1008 $id = ''; 1011 $id = $match[1]; 1028 $this->current_element->addText($id); [all …]
|
/webtrees/public/ckeditor-4.15.1-custom/plugins/tabletools/dialogs/ |
H A D | tableCell.js | 5 …ontent:"td{"+a+"}",type:"hbox",widths:["70%","30%"],children:[{type:"text",id:a,width:"100px",labe… property 6 …id].join(" "))},setup:f(function(b){var c=parseFloat(b.getAttribute(a),10);b=parseFloat(b.getStyle… property 8 …log,q=[t("width"),t("height"),k(["td{width}","td{height}"]),{type:"select",id:"wordWrap",requiredC… property 9 …-space");a.removeAttribute("noWrap")}},k("td{white-space}"),{type:"select",id:"hAlign",requiredCon… property 10 …b):a.removeStyle("text-align");a.removeAttribute("align")}},{type:"select",id:"vAlign",requiredCon… property 11 …id:"cellType",requiredContent:"th",label:d.cellType,"default":"td",items:[[d.data,"td"],[d.header,… property 12 …ute("rowSpan",this.getValue()):a.removeAttribute("rowSpan")}},{type:"text",id:"colSpan",requiredCo… property 13 …id:"bgColor",label:d.bgColor,"default":"",setup:f(function(a){var c=a.getAttribute("bgColor");retu… property 14 …requiredContent:"td{border-color}",children:function(){var a=[{type:"text",id:"borderColor",label:… property 15 id:"borderColorChoose","class":"colorChooser",label:d.chooseColor,style:(y?"margin-right":"margin-l… property [all …]
|
/webtrees/public/ckeditor-4.15.1-custom/plugins/div/dialogs/ |
H A D | div.js | 1 …id)||"",1)}),a.commit||(a.commit=function(c){var f=this.getValue();if("dir"!=a.id||c.getComputedSt… 2 …,contents:[{id:"info",label:a.lang.common.generalTab,title:a.lang.common.generalTab,elements:[{typ… property 3 …;(c=this.getValue())?n[c].applyToObject(g,a):g.removeAttribute("style")}},{id:"class",type:"text",… property 4 …id:"advanced",label:a.lang.common.advancedTab,title:a.lang.common.advancedTab,elements:[{type:"vbo… property 5 …type:"text",id:"title",requiredContent:"div[title]",style:"width: 100%;",label:a.lang.common.advis… property
|