2021-07-23 15:47:14 +00:00
@ extends ( 'settings.template' )
@ section ( 'section' )
< div class = " title " >
2024-12-12 14:58:30 +00:00
< h3 class = " font-weight-bold " > {{ __ ( 'settings.media' )}} </ h3 >
2021-07-23 15:47:14 +00:00
</ div >
< hr >
< form method = " post " >
@ csrf
< div class = " form-group pb-3 " >
2024-12-12 14:58:30 +00:00
< label class = " form-check-label font-weight-bold " for = " " > {{ __ ( 'settings.media.default_license' )}} </ label >
2021-07-23 15:47:14 +00:00
< select class = " form-control " name = " default " >
@ foreach ( App\Util\Media\License :: get () as $license )
< option value = " { { $license [ 'id' ] } } " {{ $compose [ 'default_license' ] == $license [ 'id' ] ? 'selected' : '' }} >
{{ $license [ 'name' ]}}
@ if ( $license [ 'id' ] > 10 )
({{ $license [ 'title' ]}})
@ endif
</ option >
@ endforeach
</ select >
2024-12-12 14:58:30 +00:00
< p class = " text-muted small help-text " > {{ __ ( 'settings.media.set_a_default_license_for_new_posts' )}} </ p >
2021-07-23 15:47:14 +00:00
</ div >
< div class = " form-check pb-3 " >
< input class = " form-check-input " type = " checkbox " name = " sync " >
2024-12-12 14:58:30 +00:00
< label class = " form-check-label font-weight-bold " for = " " > {{ __ ( 'settings.media.sync_licenses' )}} </ label >
< p class = " text-muted small help-text " > {{ __ ( 'settings.media.update_existing_posts_with_your_new_default_etc' )}} < br /> {{ __ ( 'settings.media.license_changes_may_not_be_reflected_on_remote_servers' )}} </ p >
2021-07-23 15:47:14 +00:00
</ div >
< div class = " form-check pb-3 " >
< input class = " form-check-input " type = " checkbox " name = " media_descriptions " {{ $compose [ 'media_descriptions' ] == $license [ 'id' ] ? 'checked' : '' }} >
2024-12-12 14:58:30 +00:00
< label class = " form-check-label font-weight-bold " for = " " > {{ __ ( 'settings.media.require_media_descriptions' )}} </ label >
2021-07-23 15:47:14 +00:00
< p class = " text-muted small help-text " >
2024-12-12 14:58:30 +00:00
{{ __ ( 'settings.media.briefly_describe_your_media_to_improve_etc' )}} < br />
< span class = " font-weight-bold " > {{ __ ( 'settings.media.not_available_for_mobile_or_3rd_party_apps_etc' )}} </ span >
2021-07-23 15:47:14 +00:00
</ p >
</ div >
< div class = " form-group row mt-5 pt-5 " >
< div class = " col-12 text-right " >
< hr >
2024-12-12 14:58:30 +00:00
< button type = " submit " class = " btn btn-primary font-weight-bold py-0 px-5 " > {{ __ ( 'settings.submit' )}} </ button >
2021-07-23 15:47:14 +00:00
</ div >
</ div >
</ form >
@ endsection