From 04cdd3e8ec460d6c06869dd6ae1d2e0ac60812ed Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Mon, 25 Dec 2023 13:26:19 -0500 Subject: [PATCH] Fix Smarty reference to version constant after it was moved to App class (#13769) --- view/templates/admin/federation.tpl | 2 +- view/templates/calendar/calendar_head.tpl | 8 +- view/templates/head.tpl | 48 ++++---- view/templates/jot-header.tpl | 2 +- view/templates/media/browser.tpl | 4 +- view/templates/msg-header.tpl | 2 +- .../templates/settings/profile/index_head.tpl | 2 +- .../settings/profile/photo/crop_head.tpl | 4 +- view/theme/frio/templates/admin/site.tpl | 2 +- view/theme/frio/templates/admin/storage.tpl | 2 +- .../frio/templates/calendar/calendar_head.tpl | 2 +- view/theme/frio/templates/circle_edit.tpl | 2 +- view/theme/frio/templates/contacts-head.tpl | 2 +- view/theme/frio/templates/head.tpl | 106 +++++++++--------- view/theme/frio/templates/jot-header.tpl | 6 +- .../moderation/blocklist/contact.tpl | 4 +- .../templates/moderation/users/active.tpl | 4 +- .../templates/moderation/users/blocked.tpl | 4 +- .../templates/moderation/users/deleted.tpl | 4 +- .../frio/templates/moderation/users/index.tpl | 4 +- .../templates/moderation/users/pending.tpl | 4 +- .../templates/notifications/notifications.tpl | 4 +- view/theme/frio/templates/photos_head.tpl | 2 +- view/theme/frio/templates/theme_settings.tpl | 4 +- .../frio/templates/threaded_conversation.tpl | 4 +- 25 files changed, 116 insertions(+), 116 deletions(-) diff --git a/view/templates/admin/federation.tpl b/view/templates/admin/federation.tpl index 8f8d70cd2b..7757691ea5 100644 --- a/view/templates/admin/federation.tpl +++ b/view/templates/admin/federation.tpl @@ -1,4 +1,4 @@ - +

{{$title}} - {{$page}}

diff --git a/view/templates/calendar/calendar_head.tpl b/view/templates/calendar/calendar_head.tpl index 9266cecf7d..a326d397bb 100644 --- a/view/templates/calendar/calendar_head.tpl +++ b/view/templates/calendar/calendar_head.tpl @@ -1,7 +1,7 @@ - - - - + + + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - + \ No newline at end of file + diff --git a/view/templates/jot-header.tpl b/view/templates/jot-header.tpl index 808d511262..2ffc0753be 100644 --- a/view/templates/jot-header.tpl +++ b/view/templates/jot-header.tpl @@ -45,7 +45,7 @@ function enableOnUser(){ } - + - + + - + \ No newline at end of file + diff --git a/view/templates/settings/profile/photo/crop_head.tpl b/view/templates/settings/profile/photo/crop_head.tpl index 357cc1861c..f92933fc10 100644 --- a/view/templates/settings/profile/photo/crop_head.tpl +++ b/view/templates/settings/profile/photo/crop_head.tpl @@ -1,2 +1,2 @@ - - + + diff --git a/view/theme/frio/templates/admin/site.tpl b/view/theme/frio/templates/admin/site.tpl index 229704e7b5..418eb1237b 100644 --- a/view/theme/frio/templates/admin/site.tpl +++ b/view/theme/frio/templates/admin/site.tpl @@ -17,7 +17,7 @@ }); }); - +

{{$title}} - {{$page}}

diff --git a/view/theme/frio/templates/admin/storage.tpl b/view/theme/frio/templates/admin/storage.tpl index c1bfe371bc..76c405860e 100644 --- a/view/theme/frio/templates/admin/storage.tpl +++ b/view/theme/frio/templates/admin/storage.tpl @@ -1,4 +1,4 @@ - +

{{$title}} - {{$page}}

diff --git a/view/theme/frio/templates/calendar/calendar_head.tpl b/view/theme/frio/templates/calendar/calendar_head.tpl index 481da5f724..98fc92f1ad 100644 --- a/view/theme/frio/templates/calendar/calendar_head.tpl +++ b/view/theme/frio/templates/calendar/calendar_head.tpl @@ -1,5 +1,5 @@ - + +
{{if $editable == 1}} diff --git a/view/theme/frio/templates/contacts-head.tpl b/view/theme/frio/templates/contacts-head.tpl index ebdf2a29a8..0af30ded55 100644 --- a/view/theme/frio/templates/contacts-head.tpl +++ b/view/theme/frio/templates/contacts-head.tpl @@ -1,2 +1,2 @@ - + diff --git a/view/theme/frio/templates/head.tpl b/view/theme/frio/templates/head.tpl index 742a5203b8..5003cb5a1b 100644 --- a/view/theme/frio/templates/head.tpl +++ b/view/theme/frio/templates/head.tpl @@ -6,56 +6,56 @@ {{* All needed css files - Note: css must be inserted before js files *}} - - + - - - - {{* own css files *}} - - {{foreach $stylesheets as $stylesheetUrl => $media}} @@ -81,74 +81,74 @@ {{* The js files we use *}} - - + - + - + src="view/asset/textcomplete/dist/textcomplete.min.js?v={{constant('\Friendica\App::VERSION')}}"> + - + - - + + - + + src="view/theme/frio/frameworks/bootstrap/js/bootstrap.min.js?v={{constant('\Friendica\App::VERSION')}}"> + src="view/theme/frio/frameworks/jasny/js/jasny-bootstrap.custom.js?v={{constant('\Friendica\App::VERSION')}}"> + src="view/theme/frio/frameworks/ekko-lightbox/ekko-lightbox.min.js?v={{constant('\Friendica\App::VERSION')}}"> + src="view/theme/frio/frameworks/flexMenu/flexmenu.custom.js?v={{constant('\Friendica\App::VERSION')}}"> + src="view/theme/frio/frameworks/autosize/autosize.min.js?v={{constant('\Friendica\App::VERSION')}}"> + src="view/theme/frio/frameworks/sticky-kit/jquery.sticky-kit.min.js?v={{constant('\Friendica\App::VERSION')}}"> {{* own js files *}} - - + + {{if ! $block_public}} - + {{/if}} - - - + + + - - - + + + - + {{* Include the strings which are needed for some js functions (e.g. translation) They are loaded into the html so that js functions can use them *}} {{include file="js_strings.tpl"}} diff --git a/view/theme/frio/templates/jot-header.tpl b/view/theme/frio/templates/jot-header.tpl index ed3839860e..498ed7fb24 100644 --- a/view/theme/frio/templates/jot-header.tpl +++ b/view/theme/frio/templates/jot-header.tpl @@ -1,7 +1,7 @@ - - - + + + - + +

{{$title}} - {{$page}}

diff --git a/view/theme/frio/templates/moderation/users/active.tpl b/view/theme/frio/templates/moderation/users/active.tpl index 1972f138ff..fd61ea50fb 100644 --- a/view/theme/frio/templates/moderation/users/active.tpl +++ b/view/theme/frio/templates/moderation/users/active.tpl @@ -1,5 +1,5 @@ - - + +

{{$title}} - {{$page}} ({{$count}})

diff --git a/view/theme/frio/templates/moderation/users/blocked.tpl b/view/theme/frio/templates/moderation/users/blocked.tpl index 3bfcced681..f2dbc386d0 100644 --- a/view/theme/frio/templates/moderation/users/blocked.tpl +++ b/view/theme/frio/templates/moderation/users/blocked.tpl @@ -1,5 +1,5 @@ - - + +

{{$title}} - {{$page}} ({{$count}})

diff --git a/view/theme/frio/templates/moderation/users/deleted.tpl b/view/theme/frio/templates/moderation/users/deleted.tpl index cc4fa5ac02..d8501d616f 100644 --- a/view/theme/frio/templates/moderation/users/deleted.tpl +++ b/view/theme/frio/templates/moderation/users/deleted.tpl @@ -1,5 +1,5 @@ - - + +

{{$title}} - {{$page}} ({{$count}})

diff --git a/view/theme/frio/templates/moderation/users/index.tpl b/view/theme/frio/templates/moderation/users/index.tpl index c0abae5000..b03d2a540d 100644 --- a/view/theme/frio/templates/moderation/users/index.tpl +++ b/view/theme/frio/templates/moderation/users/index.tpl @@ -1,5 +1,5 @@ - - + +

{{$title}} - {{$page}} ({{$count}})

diff --git a/view/theme/frio/templates/moderation/users/pending.tpl b/view/theme/frio/templates/moderation/users/pending.tpl index dbe54029e3..4960ff00b4 100644 --- a/view/theme/frio/templates/moderation/users/pending.tpl +++ b/view/theme/frio/templates/moderation/users/pending.tpl @@ -1,5 +1,5 @@ - - + +

{{$title}} - {{$page}} ({{$count}})

diff --git a/view/theme/frio/templates/notifications/notifications.tpl b/view/theme/frio/templates/notifications/notifications.tpl index 06baf0b739..5a327a063c 100644 --- a/view/theme/frio/templates/notifications/notifications.tpl +++ b/view/theme/frio/templates/notifications/notifications.tpl @@ -1,5 +1,5 @@ - - + +
{{include file="section_title.tpl" title=$header}} diff --git a/view/theme/frio/templates/photos_head.tpl b/view/theme/frio/templates/photos_head.tpl index 8399b413c1..4b460b9dda 100644 --- a/view/theme/frio/templates/photos_head.tpl +++ b/view/theme/frio/templates/photos_head.tpl @@ -1,5 +1,5 @@ - + diff --git a/view/theme/frio/templates/theme_settings.tpl b/view/theme/frio/templates/theme_settings.tpl index d633913edf..7e53429e3b 100644 --- a/view/theme/frio/templates/theme_settings.tpl +++ b/view/theme/frio/templates/theme_settings.tpl @@ -1,5 +1,5 @@ - - + +
diff --git a/view/theme/frio/templates/threaded_conversation.tpl b/view/theme/frio/templates/threaded_conversation.tpl index de5522fa9b..dab28d8ca1 100644 --- a/view/theme/frio/templates/threaded_conversation.tpl +++ b/view/theme/frio/templates/threaded_conversation.tpl @@ -1,5 +1,5 @@ -{{if !$update}}{{/if}} -{{if $mode == display}}{{/if}} +{{if !$update}}{{/if}} +{{if $mode == display}}{{/if}} {{$live_update nofilter}} {{foreach $threads as $thread}}
-- 2.39.5