MINOR Consistent link method names: LeftAndMain->PreviewLink() changed to LinkPreview()

This commit is contained in:
Ingo Schommer 2012-04-18 22:59:18 +02:00
parent ed5110dbbf
commit d8bb1b2375
2 changed files with 3 additions and 3 deletions

View File

@ -1164,7 +1164,7 @@ class LeftAndMain extends Controller implements PermissionProvider {
* *
* @return String|boolean * @return String|boolean
*/ */
public function PreviewLink() { public function LinkPreview() {
return false; return false;
} }

View File

@ -54,8 +54,8 @@
<% control Actions %> <% control Actions %>
$Field $Field
<% end_control %> <% end_control %>
<% if Controller.PreviewLink %> <% if Controller.LinkPreview %>
<a href="$Controller.PreviewLink" class="cms-preview-toggle-link ss-ui-button" data-icon="preview"> <a href="$Controller.LinkPreview" class="cms-preview-toggle-link ss-ui-button" data-icon="preview">
<% _t('LeftAndMain.PreviewButton', 'Preview') %> &raquo; <% _t('LeftAndMain.PreviewButton', 'Preview') %> &raquo;
</a> </a>
<% end_if %> <% end_if %>