diff --git a/administrator/components/com_templates/forms/source.xml b/administrator/components/com_templates/forms/source.xml index 07e78c88dabd8..ab8636636ff98 100644 --- a/administrator/components/com_templates/forms/source.xml +++ b/administrator/components/com_templates/forms/source.xml @@ -39,21 +39,23 @@ - - + + - - + + diff --git a/administrator/components/com_templates/tmpl/template/default.php b/administrator/components/com_templates/tmpl/template/default.php index 3cd903272c80e..a1157149446c2 100644 --- a/administrator/components/com_templates/tmpl/template/default.php +++ b/administrator/components/com_templates/tmpl/template/default.php @@ -79,8 +79,8 @@ type == 'file' && !empty($this->source->coreFile)) : ?>
- form->getInput('show_core'); ?> - form->getInput('show_diff'); ?> + form->renderField('show_core'); ?> + form->renderField('show_diff'); ?>
diff --git a/administrator/language/en-GB/com_templates.ini b/administrator/language/en-GB/com_templates.ini index e0b5094a4d695..1b2211b710697 100644 --- a/administrator/language/en-GB/com_templates.ini +++ b/administrator/language/en-GB/com_templates.ini @@ -147,10 +147,8 @@ COM_TEMPLATES_IMAGE_WIDTH="Width" COM_TEMPLATES_INVALID_FILE_NAME="Invalid file name. Please choose a file name with a-z, A-Z, 0-9, - and _." COM_TEMPLATES_INVALID_FILE_TYPE="File type not selected." COM_TEMPLATES_INVALID_FOLDER_NAME="Invalid folder name. Please choose a folder name with a-z, A-Z, 0-9, - and _." -COM_TEMPLATES_LAYOUTS_DIFFVIEW_HIDE_CORE="Hide Original" -COM_TEMPLATES_LAYOUTS_DIFFVIEW_HIDE_DIFF="Hide Differences" -COM_TEMPLATES_LAYOUTS_DIFFVIEW_SHOW_CORE="Show Original" -COM_TEMPLATES_LAYOUTS_DIFFVIEW_SHOW_DIFF="Show Differences" +COM_TEMPLATES_LAYOUTS_DIFFVIEW_CORE="Original File" +COM_TEMPLATES_LAYOUTS_DIFFVIEW_DIFF="Differences" COM_TEMPLATES_MANAGE_FOLDERS="Manage Folders" COM_TEMPLATES_MANAGER_ADD_STYLE="Templates: Add Style" COM_TEMPLATES_MANAGER_EDIT_STYLE="Templates: Edit Style" diff --git a/build/media_source/com_templates/css/admin-templates-default.css b/build/media_source/com_templates/css/admin-templates-default.css index 5f930753fff38..a92aa1935c07a 100644 --- a/build/media_source/com_templates/css/admin-templates-default.css +++ b/build/media_source/com_templates/css/admin-templates-default.css @@ -92,15 +92,6 @@ background-color: #F0F0EE; } -#jform_show_core { - display: inline; -} - -#jform_show_diff { - display: inline; - margin-left: 3.5em; -} - .switcher-label-0, .switcher-label-1 { white-space: nowrap; }