From ed5ef98c4190cd9e015c51624acd345f2e978d1e Mon Sep 17 00:00:00 2001 From: Andrew Short Date: Sun, 13 Dec 2009 05:24:18 +0000 Subject: [PATCH] BUGFIX: Properly closed a tag in AssetTableField that was hiding content after the back link tracking tab. From: Andrew Short git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@95036 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- code/AssetTableField.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/AssetTableField.php b/code/AssetTableField.php index 8ed8f8b0..080421a1 100755 --- a/code/AssetTableField.php +++ b/code/AssetTableField.php @@ -202,7 +202,7 @@ class AssetTableField extends ComplexTableField { foreach($links as $link) { $backlinks[] = "
  • ID\">" . $link->Breadcrumbs(null,true). "
  • "; } - $backlinks = "
    ". _t('AssetTableField.PAGESLINKING','The following pages link to this file:') ."
      " . implode("",$backlinks) . "
    "; + $backlinks = "
    ". _t('AssetTableField.PAGESLINKING','The following pages link to this file:') ."
      " . implode("",$backlinks) . "
    "; } if(!isset($backlinks)) $backlinks = "

    ". _t('AssetTableField.NOLINKS',"This file hasn't been linked to from any pages.") ."

    "; $detailFormFields->addFieldToTab("BottomRoot.Links", new LiteralField("Backlinks", $backlinks));