Home
last modified time | relevance | path

Searched refs:asset (Results 1 – 17 of 17) sorted by relevance

/webtrees/app/Module/
H A DModuleCustomTrait.php146 * @param string $asset e.g. "css/theme.css" or "img/banner.png"
150 public function assetUrl(string $asset): string argument
152 $file = $this->resourcesFolder() . $asset;
160 'asset' => $asset,
175 $asset = Validator::queryParams($request)->string('asset');
178 if (str_contains($asset, '..')) {
179 throw new HttpAccessDeniedException($asset);
185 $file = $this->resourcesFolder() . $asset;
192 $extension = strtoupper(pathinfo($asset, PATHINFO_EXTENSION));
H A DRelationshipsChartModule.php45 use function asset; alias
301 $diagonal1 = asset('css/images/dline.png');
302 $diagonal2 = asset('css/images/dline2.png');
304 $diagonal1 = asset('css/images/dline2.png');
305 $diagonal2 = asset('css/images/dline.png');
351 …$table[$x + 1][$y] = '<div style="background:url(' . e(asset('css/images/hline.png')) . ') repeat-…
361 …$table[$x][$y - 1] = '<div style="background:url(' . e('"' . asset('css/images/vline.png') . '"') …
372 …$table[$x][$y + 1] = '<div style="background:url(' . e('"' . asset('css/images/vline.png') . '"') …
H A DColorsTheme.php32 use function asset; alias
108 asset('css/colors.min.css'),
109 asset('css/colors/' . $this->palette() . '.min.css'),
H A DWebtreesTheme.php49 asset('css/webtrees.min.css'),
H A DFabTheme.php50 asset('css/fab.min.css'),
H A DXeneaTheme.php50 asset('css/xenea.min.css'),
H A DMinimalTheme.php50 asset('css/minimal.min.css'),
H A DCloudsTheme.php78 asset('css/clouds.min.css'),
/webtrees/resources/views/modules/timeline-chart/
H A Dchart.phtml197 dbox.style.backgroundImage = "url('<?= asset('css/images/dline2.png') ?>')";
200 dbox.style.backgroundImage = "url('<?= asset('css/images/dline.png') ?>')";
207 dbox.style.backgroundImage = "url('<?= asset('css/images/dline.png') ?>')";
210 dbox.style.backgroundImage = "url('<?= asset('css/images/dline2.png') ?>')";
258 <img src="<?= e(asset('css/images/vline.png')) ?>" width="3"
321 …echo '<img src="' . e(asset('css/images/hline.png')) . '" id="boxline' . $factcount . '" height="3…
373 $img = asset('css/images/dline2.png');
376 $img = asset('css/images/dline.png');
383 $img = asset('css/images/dline.png');
386 $img = asset('css/images/dline2.png');
[all …]
/webtrees/resources/views/layouts/
H A Dadministration.phtml33 <link rel="icon" href="<?= e(asset('favicon.ico')) ?>" type="image/x-icon">
35 <link rel="stylesheet" href="<?= e(asset('css/vendor.min.css')) ?>">
36 <link rel="stylesheet" href="<?= e(asset('css/administration.min.css')) ?>">
86 <script src="<?= e(asset('js/vendor.min.js')) ?>"></script>
87 <script src="<?= e(asset('js/webtrees.min.js')) ?>"></script>
H A Ddefault.phtml51 <link rel="icon" sizes="32x32" href="<?= e(asset('favicon-32.png')) ?>">
52 <link rel="icon" sizes="192x192" href="<?= e(asset('favicon-192.png')) ?>">
58 <link rel="stylesheet" href="<?= e(asset('css/vendor.min.css')) ?>">
145 <script src="<?= e(asset('js/vendor.min.js')) ?>"></script>
146 <script src="<?= e(asset('js/webtrees.min.js')) ?>"></script>
H A Dreport.phtml21 <link rel="icon" href="<?= e(asset('favicon.ico')) ?>" type="image/x-icon">
/webtrees/resources/views/modules/sitemap/
H A Dsitemap-xsl.phtml13 <link rel="stylesheet" href="<?= asset('css/vendor.min.css') ?>" />
/webtrees/resources/views/
H A Dbrowserconfig-xml.phtml5 <square150x150logo src="<?= e(asset('favicon-192.png')) ?>"/>
H A Dwebmanifest-json.phtml11 'src' => asset('favicon-192.png'),
/webtrees/resources/views/admin/
H A Dlocation-edit.phtml85 L.Icon.Default.imagePath = <?= json_encode(asset('css/images/'), JSON_THROW_ON_ERROR) ?>;
/webtrees/app/Helpers/
H A Dfunctions.php38 function asset(string $path): string function