From: Michael J. Rubinsky Date: Thu, 15 Jul 2010 16:17:25 +0000 (-0400) Subject: Don't allow fixed block types to be changed. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=6979c65b9e77dc2b8f17769b38bdebace679a474;p=horde.git Don't allow fixed block types to be changed. Bug: 9141 --- diff --git a/framework/Block/lib/Horde/Block/Collection.php b/framework/Block/lib/Horde/Block/Collection.php index 145d8b70b..4568f570e 100644 --- a/framework/Block/lib/Horde/Block/Collection.php +++ b/framework/Block/lib/Horde/Block/Collection.php @@ -217,16 +217,21 @@ class Horde_Block_Collection * * @param string $cur_app The block from this application gets selected. * @param string $cur_block The block with this name gets selected. + * @param boolean $onchange Include the onchange action + * @param boolean $readonly Indicates if this block type is changeable. * * @return string The select tag with all available blocks. */ public function getBlocksWidget($cur_app = null, $cur_block = null, - $onchange = false) + $onchange = false, $readonly = false) { $widget = '