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
*/
public function PreviewLink() {
public function LinkPreview() {
return false;
}

View File

@ -54,8 +54,8 @@
<% control Actions %>
$Field
<% end_control %>
<% if Controller.PreviewLink %>
<a href="$Controller.PreviewLink" class="cms-preview-toggle-link ss-ui-button" data-icon="preview">
<% 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 %>