From: maxious Date: Mon, 03 Dec 2012 03:23:19 +0000 Subject: fix template X-Git-Url: http://maxious.lambdacomplex.org/git/?p=disclosr.git&a=commitdiff&h=3756c388be21b0150a690c4b422d46d45ded879b --- fix template Former-commit-id: e3e8196ec34e4ba9c1d99397691d4923250658b2 --- --- a/documents/template.inc.php +++ b/documents/template.inc.php @@ -1,6 +1,7 @@ @@ -11,10 +12,6 @@ - - - Australian Disclosure Logs<?php if ($title != "") echo " - $title";?> @@ -145,8 +142,8 @@ } function displayLogEntry($row, $idtoname) { $result = ""; - $result .= "

".$row->value->date.": ".truncate($row->value->title, 80)." (".$idtoname[$row->value->agencyID].")

"; - echo "

Title".$row->value->title."
".str_replace("\n","
",$row->value->description); + $result .= "

".$row->value->date.": ".truncate($row->value->title, 120)." (".$idtoname[$row->value->agencyID].")

"; + $result .= "

Title".$row->value->title."
".str_replace("\n","
",$row->value->description); if (isset($row->value->notes)) { $result .= "
Note: ".$row->value->notes; } @@ -155,7 +152,7 @@ if (isset($row->value->links)){ $result .= "

Links/Documents

";