From 35cbe28188810b20cbcaba22f3f64688243a64dd Mon Sep 17 00:00:00 2001 From: Naomi Guyer Date: Wed, 5 Dec 2012 10:43:20 +1300 Subject: [PATCH] Re-add preview button for IE<=7. Side-by-side disabled for these. Preview will open in new window. --- templates/Includes/CMSMain_EditForm.ss | 5 +++++ templates/Includes/CMSSettingsController_EditForm.ss | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/templates/Includes/CMSMain_EditForm.ss b/templates/Includes/CMSMain_EditForm.ss index 097d9832..591bacd1 100644 --- a/templates/Includes/CMSMain_EditForm.ss +++ b/templates/Includes/CMSMain_EditForm.ss @@ -22,6 +22,11 @@ <% loop Actions %> $Field <% end_loop %> + <% if Controller.LinkPreview %> + + <% _t('LeftAndMain.PreviewButton', 'Preview') %> » + + <% end_if %> <% include LeftAndMain_ViewModeSelector SelectID="preview-mode-dropdown-in-content" %> diff --git a/templates/Includes/CMSSettingsController_EditForm.ss b/templates/Includes/CMSSettingsController_EditForm.ss index d233a3df..dcbd4135 100644 --- a/templates/Includes/CMSSettingsController_EditForm.ss +++ b/templates/Includes/CMSSettingsController_EditForm.ss @@ -19,6 +19,11 @@ <% loop Actions %> $Field <% end_loop %> + <% if Controller.LinkPreview %> + + <% _t('LeftAndMain.PreviewButton', 'Preview') %> » + + <% end_if %> <% end_if %>