Browse files

Re-add preview button for IE<=7. Side-by-side disabled for these.

Preview will open in new window.
  • Loading branch information...
1 parent 230182f commit 35cbe28188810b20cbcaba22f3f64688243a64dd @adrexia adrexia committed with chillu Dec 4, 2012
Showing with 10 additions and 0 deletions.
  1. +5 −0 templates/Includes/CMSMain_EditForm.ss
  2. +5 −0 templates/Includes/CMSSettingsController_EditForm.ss
View
5 templates/Includes/CMSMain_EditForm.ss
@@ -22,6 +22,11 @@
<% loop Actions %>
$Field
<% end_loop %>
+ <% if Controller.LinkPreview %>
+ <a href="$Controller.LinkPreview" target="_cmsPreview" class="cms-preview-toggle-link ss-ui-button" data-icon="preview">
+ <% _t('LeftAndMain.PreviewButton', 'Preview') %> &raquo;
+ </a>
+ <% end_if %>
<% include LeftAndMain_ViewModeSelector SelectID="preview-mode-dropdown-in-content" %>
</div>
View
5 templates/Includes/CMSSettingsController_EditForm.ss
@@ -19,6 +19,11 @@
<% loop Actions %>
$Field
<% end_loop %>
+ <% if Controller.LinkPreview %>
+ <a href="$Controller.LinkPreview" class="cms-preview-toggle-link ss-ui-button" data-icon="preview">
+ <% _t('LeftAndMain.PreviewButton', 'Preview') %> &raquo;
+ </a>
+ <% end_if %>
</div>
<% end_if %>
</form>

0 comments on commit 35cbe28

Please sign in to comment.