aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/Page.pm
diff options
context:
space:
mode:
authorLouise Crow <louise@mysociety.org>2010-02-08 09:45:53 +0000
committerLouise Crow <louise@mysociety.org>2010-02-08 09:45:53 +0000
commitfdf6e233229728ee89c08c20e0b7b65ab7a5dc7c (patch)
tree984b44bf10bce1391632b098a7eec66bf21669ce /perllib/Page.pm
parent166d8d9a36032fde533f57b3be9118d7c156efb9 (diff)
Let cobrands set map license info
Diffstat (limited to 'perllib/Page.pm')
-rw-r--r--perllib/Page.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/perllib/Page.pm b/perllib/Page.pm
index 7272b2a70..e569bd6d5 100644
--- a/perllib/Page.pm
+++ b/perllib/Page.pm
@@ -478,9 +478,11 @@ EOF
}
$out .= compass($q, $x, $y);
my $copyright = _('Crown copyright. All rights reserved. Ministry of Justice');
+ my $license_info = Cobrand::license_info($cobrand);
+ $license_info = "100037819&nbsp;2008" unless $license_info;
$out .= <<EOF;
</div>
- <p id="copyright">&copy; $copyright 100037819&nbsp;2008</p>
+ <p id="copyright">&copy; $copyright $license_info</p>
$params{post}
EOF
$out .= '</div>';