From: <be...@us...> - 2015-02-14 10:36:58
|
Revision: 12977 http://sourceforge.net/p/xoops/svn/12977 Author: beckmi Date: 2015-02-14 10:36:50 +0000 (Sat, 14 Feb 2015) Log Message: ----------- fix "setExtra" in moduleadmin.php, Admin buttons can now use "onClick" assignments (mamba) Modified Paths: -------------- XoopsCore/branches/2.5.x/2.5.8/docs/changelog.250.txt XoopsCore/branches/2.5.x/2.5.8/htdocs/Frameworks/moduleclasses/moduleadmin/moduleadmin.php Modified: XoopsCore/branches/2.5.x/2.5.8/docs/changelog.250.txt =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/docs/changelog.250.txt 2015-02-13 22:47:42 UTC (rev 12976) +++ XoopsCore/branches/2.5.x/2.5.8/docs/changelog.250.txt 2015-02-14 10:36:50 UTC (rev 12977) @@ -5,7 +5,7 @@ =============================== - replaced "dirname(__FILE__)" with "__DIR__" since the min. PHP is now 5.3.7, and __DIR__ is faster (mamba) - updating some copyright notices (mamba) -- Fix issues when protector 'id_forceintval' preference is enabled, that manifests as an error when deleting private messages. (rgriffith) +- fix issues when protector 'id_forceintval' preference is enabled, that manifests as an error when deleting private messages. (rgriffith) - fix for Update setting Template import date to 0 (timgno/mamba) - Adding language constants for Protector's Prefix Manager (slider84/mamba) - allowing for "https" URL in YouTube links in Textsanitizer (mamba) @@ -17,6 +17,7 @@ - fixing a bug in xmlrpc.php (wppd/rgriffith) - remove addrFormat override in XoopsMultiMailer (rgriffith) - patch from Xoops 2.5.6 XoopsFormSelectUser is not compatible with some old modules like xNews (luciorota) +- fix "setExtra" in moduleadmin.php, Admin buttons can now use "onClick" assignments (mamba) Security fixes Modified: XoopsCore/branches/2.5.x/2.5.8/htdocs/Frameworks/moduleclasses/moduleadmin/moduleadmin.php =================================================================== --- XoopsCore/branches/2.5.x/2.5.8/htdocs/Frameworks/moduleclasses/moduleadmin/moduleadmin.php 2015-02-13 22:47:42 UTC (rev 12976) +++ XoopsCore/branches/2.5.x/2.5.8/htdocs/Frameworks/moduleclasses/moduleadmin/moduleadmin.php 2015-02-14 10:36:50 UTC (rev 12977) @@ -178,8 +178,8 @@ } $ret .= "<div class=\"xo-buttons\">\n"; foreach (array_keys( $this -> _itemButton) as $i) { - $ret .= "<a class='ui-corner-all tooltip' href='" . $this -> _itemButton[$i]['link'] . "' title='" . $this -> _itemButton[$i]['title'] . "'>"; - $ret .= "<img src='" . $path . $this -> _itemButton[$i]['icon'] . "' title='" . $this -> _itemButton[$i]['title'] . "' />" . $this -> _itemButton[$i]['title'] . ' ' . $this -> _itemButton[$i]['extra']; + $ret .= "<a class='ui-corner-all tooltip' href='" . $this -> _itemButton[$i]['link'] . "' title='" . $this -> _itemButton[$i]['title'] . "' " . $this -> _itemButton[$i]['extra']. ">"; + $ret .= "<img src='" . $path . $this -> _itemButton[$i]['icon'] . "' title='" . $this -> _itemButton[$i]['title'] . "' alt='" . $this -> _itemButton[$i]['title'] . "' />" . $this -> _itemButton[$i]['title'] ; $ret .= "</a>\n"; $ret .= $delimeter; } |