/** * Creates the html for copyright declaration. * @return type */ function create_copyright() { $text = Html::luo_a_linkto("http://creativecommons.org/licenses/by-sa/4.0/", Html::luo_img(array(Attr::alt("Creative Commons -licence"), Attr::style("border-width:0"), Attr::src("https://i.creativecommons.org/l/by-sa/4.0/88x31.png"))), array(Attr::rel("licence"), Attr::target_blank())) . Html::luo_span(Tekstit::$home_copyright_before_link, array()) . Html::luo_a_linkto("http://creativecommons.org/licenses/by-sa/4.0/", " Creative Commons Attribution-ShareAlike 4.0 International", array(Attr::rel("licence"), Attr::target_blank())) . Html::luo_span(Tekstit::$home_copyright_after_link, array()); return $text; }