diff --git a/src/bundle/Core/DependencyInjection/Configuration/Parser/FieldDefinitionSettingsTemplates.php b/src/bundle/Core/DependencyInjection/Configuration/Parser/FieldDefinitionSettingsTemplates.php index 723c4ee39c..e8d5932a82 100644 --- a/src/bundle/Core/DependencyInjection/Configuration/Parser/FieldDefinitionSettingsTemplates.php +++ b/src/bundle/Core/DependencyInjection/Configuration/Parser/FieldDefinitionSettingsTemplates.php @@ -9,7 +9,7 @@ class FieldDefinitionSettingsTemplates extends Templates { public const NODE_KEY = 'fielddefinition_settings_templates'; - public const INFO = 'Template settings for field definition settings rendered by the ez_render_field_definition_settings() Twig function'; + public const INFO = 'Template settings for field definition settings rendered by the ibexa_render_field_definition_settings() Twig function'; public const INFO_TEMPLATE_KEY = 'Template file where to find block definition to display field definition settings'; } diff --git a/src/bundle/Core/DependencyInjection/Configuration/Parser/FieldTemplates.php b/src/bundle/Core/DependencyInjection/Configuration/Parser/FieldTemplates.php index 23e76a9fa9..8c796d684b 100644 --- a/src/bundle/Core/DependencyInjection/Configuration/Parser/FieldTemplates.php +++ b/src/bundle/Core/DependencyInjection/Configuration/Parser/FieldTemplates.php @@ -9,7 +9,7 @@ class FieldTemplates extends Templates { public const NODE_KEY = 'field_templates'; - public const INFO = 'Template settings for fields rendered by the ez_render_field() Twig function'; + public const INFO = 'Template settings for fields rendered by the ibexa_render_field() Twig function'; public const INFO_TEMPLATE_KEY = 'Template file where to find block definition to display fields'; } diff --git a/src/bundle/Core/Resources/views/content_fields.html.twig b/src/bundle/Core/Resources/views/content_fields.html.twig index 28dac2393e..0b0041d141 100644 --- a/src/bundle/Core/Resources/views/content_fields.html.twig +++ b/src/bundle/Core/Resources/views/content_fields.html.twig @@ -66,7 +66,7 @@ {% block ezdatetime_field %} {% apply spaceless %} - {% if not ez_field_is_empty( content, field ) %} + {% if not ibexa_field_is_empty( content, field ) %} {% if fieldSettings.useSeconds %} {% set field_value = field.value.value|format_datetime( 'short', 'medium', locale=parameters.locale ) %} {% else %} @@ -79,7 +79,7 @@ {% block ezdate_field %} {% apply spaceless %} - {% if not ez_field_is_empty( content, field ) %} + {% if not ibexa_field_is_empty( content, field ) %} {% set field_value = field.value.date|format_date( 'short', locale=parameters.locale ) %} {{ block( 'simple_block_field' ) }} {% endif %} @@ -88,7 +88,7 @@ {% block eztime_field %} {% apply spaceless %} - {% if not ez_field_is_empty( content, field ) %} + {% if not ibexa_field_is_empty( content, field ) %} {% if fieldSettings.useSeconds %} {% set field_value = field.value.time|format_time( 'medium', locale=parameters.locale, timezone='UTC' ) %} {% else %} @@ -101,7 +101,7 @@ {% block ezemail_field %} {% apply spaceless %} - {% if not ez_field_is_empty( content, field ) %} + {% if not ibexa_field_is_empty( content, field ) %} {% set field_value = field.value.email %} {{ field.value.email }} {% endif %} @@ -110,7 +110,7 @@ {% block ezinteger_field %} {% apply spaceless %} - {% if not ez_field_is_empty( content, field ) %} + {% if not ibexa_field_is_empty( content, field ) %} {% set field_value = field.value.value %} {{ block( 'simple_inline_field' ) }} {% endif %} @@ -120,7 +120,7 @@ {# @todo: handle localization #} {% block ezfloat_field %} {% apply spaceless %} - {% if not ez_field_is_empty( content, field ) %} + {% if not ibexa_field_is_empty( content, field ) %} {% set field_value = field.value.value %} {{ block( 'simple_inline_field' ) }} {% endif %} @@ -129,7 +129,7 @@ {% block ezurl_field %} {% apply spaceless %} - {% if not ez_field_is_empty( content, field ) %} + {% if not ibexa_field_is_empty( content, field ) %} {{ field.value.text ? field.value.text : field.value.link }} {% endif %} @@ -145,7 +145,7 @@ {% block ezkeyword_field %} {% apply spaceless %} - {% if not ez_field_is_empty( content, field ) %} + {% if not ibexa_field_is_empty( content, field ) %}