event icons missing (showing unicode) in colorbox popup

This commit is contained in:
Mike Macgirvin 2023-06-14 07:13:45 +10:00
parent ef253d1bad
commit 55011e2c45
2 changed files with 6 additions and 3 deletions

View file

@ -26,6 +26,9 @@ class Owa extends Controller
$_SERVER['HTTP_AUTHORIZATION'] = $_SERVER['REDIRECT_REMOTE_USER'];
}
// Apache is now aggressively stripping authentication headers from reaching PHP. They aren't even available with the
// CGIPassAuth directive. So accept a Signature header in lieu of whatever Apache decides it isn't safe for your
// application to look at.
if (array_key_exists('HTTP_SIGNATURE', $_SERVER) && (!array_key_exists('HTTP_AUTHORIZATION', $_SERVER))) {
$_SERVER['HTTP_AUTHORIZATION'] = 'Signature ' . $_SERVER['HTTP_SIGNATURE'];
}

View file

@ -6,9 +6,9 @@
</div>
{{$event.html}}
<div class="event-buttons">
{{if $event.item.plink}}<a href="{{$event.plink.0}}" title="{{$event.plink.1}}" class="plink-event-link"><i class="fa fa-external-link btn btn-outline-secondary" ></i></a>{{/if}}
{{if $event.edit}}<a href="{{$event.edit.0}}" title="{{$event.edit.1}}" class="edit-event-link"><i class="fa fa-pencil btn btn-outline-secondary"></i></a>{{/if}}
{{if $event.drop}}<a href="{{$event.drop.0}}" title="{{$event.drop.1}}" class="drop-event-link"><i class="fa fa-trash-o btn btn-outline-secondary"></i></a>{{/if}}
{{if $event.item.plink}}<a href="{{$event.plink.0}}" title="{{$event.plink.1}}" class="plink-event-link btn btn-outline-secondary"><i class="fa fa-external-link" ></i></a>{{/if}}
{{if $event.edit}}<a href="{{$event.edit.0}}" title="{{$event.edit.1}}" class="edit-event-link btn btn-outline-secondary"><i class="fa fa-pencil"></i></a>{{/if}}
{{if $event.drop}}<a href="{{$event.drop.0}}" title="{{$event.drop.1}}" class="drop-event-link btn btn-outline-secondary"><i class="fa fa-trash-o"></i></a>{{/if}}
</div>
<div class="clear"></div>
</div>