'metaTemplates', 'action' => 'view', $newestMetaTemplate->id ]); $bodyHtml = ''; $bodyHtml .= sprintf('
%s: %s
', __('Current version'), h($metaTemplate->version)); $bodyHtml .= sprintf('
%s: %s
', __('Newest version'), $urlNewestMetaTemplate, h($newestMetaTemplate->version)); $bodyHtml .= sprintf('

%s

', __('Entities with meta-fields to be updated:')); $bodyHtml .= ''; echo $this->Bootstrap->modal([ 'titleHtml' => __('{0} has a new meta-template and meta-fields to be updated', sprintf('%s', h($metaTemplate->name))), 'bodyHtml' => $bodyHtml, 'size' => 'lg', 'type' => 'ok-only', ]); ?>