From: Niklas Laxström Date: Tue, 30 Aug 2005 19:22:31 +0000 (+0000) Subject: Avar casts lvl 5 enhance to Licenses.php: X-Git-Tag: 1.6.0~1755 X-Git-Url: http://git.cyclocoop.org/geomaker.php?a=commitdiff_plain;h=630c79339c22be05de9a465bf5cff1b6abfe92db;p=lhc%2Fweb%2Fwiklou.git Avar casts lvl 5 enhance to Licenses.php: *Support for template paramaters --- diff --git a/includes/Licenses.php b/includes/Licenses.php index eedc2cd39e..1d78c31d90 100644 --- a/includes/Licenses.php +++ b/includes/Licenses.php @@ -27,7 +27,8 @@ class Licenses { * @var string */ var $html; - + /**#@-*/ + /** * Constrictor * @@ -163,10 +164,10 @@ class License { * @param string $str */ function License( $str ) { - list( $template, $text ) = explode( '|', $str, 2 ); + list( $text, $template ) = explode( '|', strrev( $str ), 2 ); - $this->template = $template; - $this->text = $text; + $this->template = strrev( $template ); + $this->text = strrev( $text ); } } ?>