From fcbce693b7b080d36831bf4cf6b64f38cdb29173 Mon Sep 17 00:00:00 2001 From: Andrew Short Date: Fri, 22 Jan 2010 01:43:39 +0000 Subject: [PATCH] BUGFIX: Properly closed a tag in AssetTableField that was hiding content after the back link tracking tab. From: Andrew Short (from r95036) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@97437 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 09903cbd..e80d8700 100755 --- a/code/AssetTableField.php +++ b/code/AssetTableField.php @@ -205,7 +205,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));