From c34bf673d5eec7e133748deab89635973cffa28f Mon Sep 17 00:00:00 2001 From: Kyle Robinson Young Date: Sun, 18 Dec 2011 09:40:23 -0800 Subject: [PATCH] Remove extra space in HtmlHelper radio tag --- lib/Cake/View/Helper/CacheHelper.php | 2 +- lib/Cake/View/Helper/HtmlHelper.php | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/Cake/View/Helper/CacheHelper.php b/lib/Cake/View/Helper/CacheHelper.php index 2f2e4a8a9..198c34188 100644 --- a/lib/Cake/View/Helper/CacheHelper.php +++ b/lib/Cake/View/Helper/CacheHelper.php @@ -281,7 +281,7 @@ class CacheHelper extends AppHelper { $controller = new ' . $this->_View->name . 'Controller($request, $response); $controller->plugin = $this->plugin = \'' . $this->_View->plugin . '\'; $controller->helpers = $this->helpers = unserialize(base64_decode(\'' . base64_encode(serialize($this->_View->helpers)) . '\')); - $controller->layout = $this->layout = \'' . $this->_View->layout. '\'; + $controller->layout = $this->layout = \'' . $this->_View->layout . '\'; $controller->theme = $this->theme = \'' . $this->_View->theme . '\'; $controller->viewVars = unserialize(base64_decode(\'' . base64_encode(serialize($this->_View->viewVars)) . '\')); Router::setRequestInfo($controller->request); diff --git a/lib/Cake/View/Helper/HtmlHelper.php b/lib/Cake/View/Helper/HtmlHelper.php index 34fced7b2..23a0d8b80 100644 --- a/lib/Cake/View/Helper/HtmlHelper.php +++ b/lib/Cake/View/Helper/HtmlHelper.php @@ -46,7 +46,7 @@ class HtmlHelper extends AppHelper { 'hidden' => '', 'checkbox' => '', 'checkboxmultiple' => '', - 'radio' => '%s', + 'radio' => '%s', 'selectstart' => '', 'selectempty' => '', @@ -235,9 +235,9 @@ class HtmlHelper extends AppHelper { if (!is_array($type)) { $types = array( - 'rss' => array('type' => 'application/rss+xml', 'rel' => 'alternate', 'title' => $type, 'link' => $url), - 'atom' => array('type' => 'application/atom+xml', 'title' => $type, 'link' => $url), - 'icon' => array('type' => 'image/x-icon', 'rel' => 'icon', 'link' => $url), + 'rss' => array('type' => 'application/rss+xml', 'rel' => 'alternate', 'title' => $type, 'link' => $url), + 'atom' => array('type' => 'application/atom+xml', 'title' => $type, 'link' => $url), + 'icon' => array('type' => 'image/x-icon', 'rel' => 'icon', 'link' => $url), 'keywords' => array('name' => 'keywords', 'content' => $url), 'description' => array('name' => 'description', 'content' => $url), );