]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Fix use of $config in licenses
authorEvan Prodromou <evan@controlyourself.ca>
Thu, 15 Jan 2009 22:40:56 +0000 (22:40 +0000)
committerEvan Prodromou <evan@controlyourself.ca>
Thu, 15 Jan 2009 22:40:56 +0000 (22:40 +0000)
lib/action.php

index 9df39e9a820ed5d2e938ff4e55722816add5e635..d5060758e0b9dbe2a85081b36f2c510b949f7793 100644 (file)
@@ -432,13 +432,13 @@ class Action extends HTMLOutputter // lawsuit
         $this->text(_('Unless otherwise specified, contents of this site are copyright by the contributors and available under the '));
         $this->element('a', array('class' => 'license',
                                   'rel' => 'external license',
-                                  'href' => $config['license']['url']),
-                       $config['license']['title']);
+                                  'href' => common_config('license', 'url')),
+                       common_config('license', 'title'));
         $this->text(_('. Contributors should be attributed by full name or nickname.'));
         $this->elementEnd('p');
         $this->element('img', array('id' => 'license_cc',
-                                    'src' => $config['license']['image'],
-                                    'alt' => $config['license']['title']));
+                                    'src' => common_config('license', 'image'),
+                                    'alt' => common_config('license', 'title')));
         $this->elementEnd('dd');
     }