diff --git a/e107_plugins/siteinfo/e_shortcode.php b/e107_plugins/siteinfo/e_shortcode.php index 90b9bf9d0..5ee1d9094 100644 --- a/e107_plugins/siteinfo/e_shortcode.php +++ b/e107_plugins/siteinfo/e_shortcode.php @@ -47,11 +47,14 @@ class siteinfo_shortcodes // must match the folder name of the plugin. /** * YYYY is automatically replaced with the current year. + * @param array $parm 'class' to set the class of links. * @return string */ - function sc_sitedisclaimer() + function sc_sitedisclaimer($parm=array()) { - $default = "Proudly powered by e107 which is released under the terms of the GNU GPL License."; + $class = !empty($parm['class']) ? " class='".$parm['class']."'" : ''; + + $default = "Proudly powered by e107 which is released under the terms of the GNU GPL License."; $text = deftrue('SITEDISCLAIMER',$default);