Home
last modified time | relevance | path

Searched refs:max (Results 1 – 25 of 49) sorted by relevance

12

/webtrees/public/ckeditor-4.15.1-custom/
H A Dcontents.css177 max-width: 426px;
178 max-height: 240px;
184 max-width: 640px;
185 max-height: 360px;
191 max-width: 854px;
192 max-height: 480px;
198 max-width: 1280px;
199 max-height: 720px;
205 max-width: 1920px;
206 max-height: 1080px;
/webtrees/app/Module/
H A DMediaListModule.php43 use function max; alias
171 $max = Validator::queryParams($request)->integer('max', 20);
185 $pages = (int) (($count + $max - 1) / $max);
186 $page = max(min($page, $pages), 1);
188 $media_objects = $media_objects->slice(($page - 1) * $max, $max);
198 'max' => $max,
H A DTimelineChartModule.php199 'scale' => max(self::MINIMUM_SCALE, $scale - (int) ($scale * 0.4 + 1)),
252 $birthmonths[$individual->xref()] = max(1, $date->month);
253 $birthdays [$individual->xref()] = max(1, $date->day);
270 $topyear = max($topyear, $date->year);
273 $topyear = max($topyear, (int) date('Y'));
H A DLifespansChartModule.php51 use function max; alias
259 $callback = static fn (int $carry, object $item): int => max($carry, $item->row);
288 return max($carry, $item->getEstimatedDeathDate()->maximumJulianDay());
H A DRelationshipsChartModule.php51 use function max; alias
377 $max_x = max($max_x, $x);
379 $max_y = max($max_y, $y);
H A DFrequentlyAskedQuestionsModule.php151 ->max('block_order');
290 …order = 1 + (int) DB::table('block')->where('module_name', '=', $this->name())->max('block_order');
/webtrees/app/
H A DPlaceLocation.php25 use function max; alias
235 … return [[$latitudes->min(), $longitudes->min()], [$latitudes->max(), $longitudes->max()]];
255 max($latitudes->min() - $delta, -90.0),
256 max($longitudes->min() - $delta, -180.0),
258 min($latitudes->max() + $delta, 90.0),
259 min($longitudes->max() + $delta, 180.0),
H A DIndividual.php544 $max = [];
548 $max[] = $tmp->maximumJulianDay();
554 $max[] = $tmp->minimumJulianDay() + 365 * 30;
561 $max[] = $tmp->minimumJulianDay() + 365 * 65;
569 $max[] = $tmp->minimumJulianDay() + 365 * 45;
576 $max[] = $tmp->minimumJulianDay() + 365 * 30;
584 $max[] = $tmp->minimumJulianDay() - 365 * 15;
591 $max[] = $tmp->minimumJulianDay() + 365 * 25;
598 $max[] = $tmp->minimumJulianDay() - 365 * 15;
602 if ($min && $max) {
[all …]
H A DGedcomRecord.php678 [, $max] = explode(':', $repeat);
679 $max = $max === 'M' ? PHP_INT_MAX : (int) $max;
681 if ($this->facts([$subtag], false, null, true)->count() < $max) {
/webtrees/app/Services/
H A DGedcomEditService.php45 use function max; alias
278 [$min, $max] = explode(':', $occurrences);
282 if ($max === 'M') {
283 $max = PHP_INT_MAX;
285 $max = (int) $max;
300 if ($count < $max) {
308 $number_to_add = max(1, $min - $count);
H A DRateLimitService.php101 $max = intdiv(256, strlen($this->now . ','));
102 if ($num > $max) {
119 while (count($timestamps) > $max) {
H A DUserService.php37 use function max; alias
145 return max($registered_at1, $logged_in_at1) <=> max($registered_at2, $logged_in_at2);
162 return max($registered_at, $logged_in_at) < $timestamp;
H A DChartService.php45 $max = 2 ** ($generations - 1);
50 if ($sosa_stradonitz_number >= $max) {
H A DTreeService.php40 use function max; alias
259 $eol_pos = max((int) strrpos($file_data, "\r0"), (int) strrpos($file_data, "\n0"));
/webtrees/resources/views/modules/media-list/
H A Dpagination.phtml26 …'subdirs' => $subdirs, 'filter' => $filter, 'format' => $format, 'max' => $max, 'page' => 1])) ?>">
34 …'subdirs' => $subdirs, 'filter' => $filter, 'format' => $format, 'max' => $max, 'page' => $page - …
46 …'subdirs' => $subdirs, 'filter' => $filter, 'format' => $format, 'max' => $max, 'page' => $page + …
54 …'subdirs' => $subdirs, 'filter' => $filter, 'format' => $format, 'max' => $max, 'page' => $pages])…
H A Dpage.phtml53 …<?= view('components/select-number', ['name' => 'max', 'selected' => $max, 'options' => [10, 20, 3…
98 …'subdirs' => $subdirs, 'filter' => $filter, 'format' => $format, 'max' => $max, 'tree' => $tree]) …
182 …'subdirs' => $subdirs, 'filter' => $filter, 'format' => $format, 'max' => $max, 'tree' => $tree]) …
/webtrees/app/Http/RequestHandlers/
H A DSiteLogsPage.php40 use function max; alias
75 $latest = DB::table('log')->max('log_time') ?? date('Y-m-d H:i:s');
94 $from = max($from, $earliest);
95 $to = min(max($from, $to), $latest);
H A DMapDataExportCSV.php40 use function max; alias
127 $max_level = max($max_level, count($place->hierarchy));
/webtrees/resources/views/lists/
H A Dsurnames-tag-cloud.phtml19 $maximum = max(array_map(static fn (array $x): int => max($x), $surnames));
/webtrees/app/Schema/
H A DMigration44.php131 ->where('pl_parent_id', '=', $row->max)
136 ->where('pl_id', '=', $row->max)
/webtrees/public/css/
H A Dvendor.min.css6max-width:100%}[dir] .img-thumbnail{background-color:#fff;background-color:var(--bs-body-bg);borde…
11max-width:none}[dir] table.table.dataTable{clear:both;margin-bottom:0}[dir] table.table.dataTable.…
H A Dminimal.min.css1max-height:95vh;min-height:25vh;overflow:hidden;position:relative;resize:vertical}[dir] .tv_out{ba…
/webtrees/resources/css/
H A D_chart-interactive.css30 max-height: 95vh;
228 max-height: 50px;
229 max-width: 80px;
H A D_chart-pedigree.css78 width: max-content;
100 width: max-content;
/webtrees/resources/views/modules/timeline-chart/
H A Dchart.phtml294 $month = max(1, $date->month());
295 $day = max(1, $date->day());

12