From d8bb1b237588c51ff961988884aaf9c2b7615491 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Wed, 18 Apr 2012 22:59:18 +0200 Subject: [PATCH] MINOR Consistent link method names: LeftAndMain->PreviewLink() changed to LinkPreview() --- admin/code/LeftAndMain.php | 2 +- admin/templates/Includes/LeftAndMain_EditForm.ss | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/admin/code/LeftAndMain.php b/admin/code/LeftAndMain.php index c243fa276..e50c14eb6 100644 --- a/admin/code/LeftAndMain.php +++ b/admin/code/LeftAndMain.php @@ -1164,7 +1164,7 @@ class LeftAndMain extends Controller implements PermissionProvider { * * @return String|boolean */ - public function PreviewLink() { + public function LinkPreview() { return false; } diff --git a/admin/templates/Includes/LeftAndMain_EditForm.ss b/admin/templates/Includes/LeftAndMain_EditForm.ss index 05777f086..ac91c60bc 100644 --- a/admin/templates/Includes/LeftAndMain_EditForm.ss +++ b/admin/templates/Includes/LeftAndMain_EditForm.ss @@ -54,8 +54,8 @@ <% control Actions %> $Field <% end_control %> - <% if Controller.PreviewLink %> - + <% if Controller.LinkPreview %> + <% _t('LeftAndMain.PreviewButton', 'Preview') %> » <% end_if %>