From 5790a00de59d49c6ee88d5f0a5c68c8515109c92 Mon Sep 17 00:00:00 2001 From: yiidevelop Date: Sat, 3 Aug 2013 03:08:32 +0700 Subject: [PATCH] Add encodeLabels configure Please, review and approval. Thanks --- framework/yii/bootstrap/Nav.php | 1 + 1 file changed, 1 insertion(+) diff --git a/framework/yii/bootstrap/Nav.php b/framework/yii/bootstrap/Nav.php index cea83d8..18ce107 100644 --- a/framework/yii/bootstrap/Nav.php +++ b/framework/yii/bootstrap/Nav.php @@ -136,6 +136,7 @@ class Nav extends Widget if (is_array($items)) { $items = Dropdown::widget(array( 'items' => $items, + 'encodeLabels'=>$this->encodeLabels, 'clientOptions' => false, )); }