增加後台圖檔旋轉功能。加強報名地址檢查。修正前台文字。增加前後台報名欄位。設定報名欄位TWID為UNIQUE。修正前台報名可以連續送出的問題。

This commit is contained in:
Eric Li
2025-06-19 12:02:27 +08:00
parent 32b04d09c3
commit 7529061de5
17 changed files with 171 additions and 15 deletions

View File

@ -21,11 +21,14 @@ class IframeField
? $options['url'](CrudPanelFacade::getFacadeRoot())
: ($options['url'] ?? null);
$imageRotation90Url = str_replace('/storage/', '/storage/image-rotation90/', $url);
$field = [
'name' => $name,
'label' => $label,
'type' => 'iframe',
'url' => $url, // URL to display in iframe
'image-rotation-url' => $imageRotation90Url,
'width' => $options['width'] ?? '', // Iframe width
'height' => $options['height'] ?? '', // Iframe height
'extra_attributes' => $options['extra_attributes'] ?? [], // Additional iframe attributes