Skip to content

Commit

Permalink
Fix path to themes
Browse files Browse the repository at this point in the history
  • Loading branch information
zonky2 committed Oct 2, 2024
1 parent 06610f0 commit 4642366
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/Contao/View/Contao2BackendView/TreePicker.php
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ class TreePicker extends Widget
*
* @var string
*/
protected $titleIcon = 'system/themes/flexible/icons/pagemounts.svg';
protected $titleIcon = '/system/themes/flexible/icons/pagemounts.svg';

/**
* The data container for the item source.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ assert($translator instanceof TranslatorInterface);
<td class="tl_file_list tl_right_nowrap">
<?= $model->getMeta($model::OPERATION_BUTTONS) ?>
<?php if ($this->sortable) : ?>
<?= Image::getHtml('system/themes/' . $this->theme . '/icons/drag.svg', '&udarr;', 'class="drag"') ?>
<?= Image::getHtml('/system/themes/' . $this->theme . '/icons/drag.svg', '&udarr;', 'class="drag"') ?>
<?php endif; ?>
</td>
<?php endif; ?>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ $apply = $translator->trans(id: 'apply', domain: 'dc-general');

<div class="tl_panel">
<div class="tl_submit_panel tl_subpanel">
<input type="image" name="filter" id="language_switch" src="system/themes/<?= $this->theme ?>/images/reload.gif" class="tl_img_submit" title="<?= $apply ?>" alt="<?= $apply ?>">
<input type="image" name="filter" id="language_switch" src="/system/themes/<?= $this->theme ?>/images/reload.gif" class="tl_img_submit" title="<?= $apply ?>" alt="<?= $apply ?>">
</div>
<div class="tl_sorting tl_subpanel">
<strong><?= $translator->trans(id: 'sortBy', domain: 'dc-general') ?>:</strong>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ $model = $this->objModel;
<div class="tl_left" style="padding-left:<?= $model->getMeta(DCGE::TREE_VIEW_LEVEL) * 20 ?>px;">
<?php if ($model->getMeta($model::HAS_CHILDREN) == true): ?>
<a class="folding" href="<?= $this->toggleUrl; ?>" title="<?= $this->toggleTitle ?>" onclick="<?= $this->toggleScript ?>">
<img src="system/themes/<?= $this->theme ?>/icons/<?= ($model->getMeta($model::SHOW_CHILDREN)) ? 'folMinus.svg' : 'folPlus.svg'; ?>" width="18" height="18" alt="" style="margin-right:-2px;">
<img src="/system/themes/<?= $this->theme ?>/icons/<?= ($model->getMeta($model::SHOW_CHILDREN)) ? 'folMinus.svg' : 'folPlus.svg'; ?>" width="18" height="18" alt="" style="margin-right:-2px;">
</a>
<?php endif; ?>
<?php $arrLabels = $model->getMeta($model::LABEL_VALUE); ?>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ $model = $this->objModel; ?>
href="<?= $this->toggleUrl ?>"
title="<?= $this->toggleTitle ?>"
onclick="<?= $this->toggleScript ?>">
<img src="system/themes/<?= $this->theme ?>/icons/<?= ($model->getMeta($model::SHOW_CHILDREN)) ? 'folMinus.svg' : 'folPlus.svg' ?>"
<img src="/system/themes/<?= $this->theme ?>/icons/<?= ($model->getMeta($model::SHOW_CHILDREN)) ? 'folMinus.svg' : 'folPlus.svg' ?>"
width="18"
height="18"
alt=""
Expand Down

0 comments on commit 4642366

Please sign in to comment.