diff options
-rw-r--r-- | perllib/Cobrand.pm | 2 | ||||
-rw-r--r-- | perllib/Page.pm | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/perllib/Cobrand.pm b/perllib/Cobrand.pm index 4433858bb..3fc88d9dc 100644 --- a/perllib/Cobrand.pm +++ b/perllib/Cobrand.pm @@ -90,6 +90,8 @@ my %fns = ( 'root_path_js' => { default => "'var root_path = \"\";'" }, # Return the title to be used in page heads. 'site_title' => { default => "''" }, + # Return the license information + 'license_info' => { default => 'undef' }, # Return the maximum number of items to be given in the list of reports on the map 'on_map_list_limit' => { default => 'undef' }, # Return a boolean indicating whether the cobrand allows photo uploads 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 2008" unless $license_info; $out .= <<EOF; </div> - <p id="copyright">© $copyright 100037819 2008</p> + <p id="copyright">© $copyright $license_info</p> $params{post} EOF $out .= '</div>'; |