From: <var...@us...> - 2016-05-25 08:12:25
|
Revision: 9843 http://sourceforge.net/p/phpwiki/code/9843 Author: vargenau Date: 2016-05-25 08:12:23 +0000 (Wed, 25 May 2016) Log Message: ----------- Add warning comment Modified Paths: -------------- trunk/lib/WikiTheme.php Modified: trunk/lib/WikiTheme.php =================================================================== --- trunk/lib/WikiTheme.php 2016-05-23 19:16:31 UTC (rev 9842) +++ trunk/lib/WikiTheme.php 2016-05-25 08:12:23 UTC (rev 9843) @@ -1724,6 +1724,8 @@ * @param string $url The url (href) for the button. * @param string $class The CSS class for the button. * @param array $options Additional attributes for the <input> tag. + * + * Do NOT replace with __construct: will break RSS icons links in RecentChanges */ function Button($text, $url, $class = '', $options = array()) { @@ -1755,12 +1757,13 @@ class ImageButton extends Button { /** - * * @param $text string The text for the button. * @param $url string The url (href) for the button. * @param $class string The CSS class for the button. * @param $img_url string URL for button's image. * @param $img_attr array Additional attributes for the <img> tag. + * + * Do NOT replace with __construct: will break RSS icons links in RecentChanges */ function ImageButton($text, $url, $class, $img_url, $img_attr = array()) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |