From 1854075a62c6ca0422040b4e5ebf89088b0d02b2 Mon Sep 17 00:00:00 2001 From: Antonio Gallo Date: Tue, 15 Feb 2011 00:32:19 +0000 Subject: added wiki - part 1 --- h-source/Application/Controllers/BaseController.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'h-source/Application/Controllers/BaseController.php') diff --git a/h-source/Application/Controllers/BaseController.php b/h-source/Application/Controllers/BaseController.php index 7d03735..0f7c532 100644 --- a/h-source/Application/Controllers/BaseController.php +++ b/h-source/Application/Controllers/BaseController.php @@ -27,7 +27,7 @@ class BaseController extends Controller protected $ismoderator = false; protected $querySanitized = true; protected $token = 'token'; - + protected $_topMenuClasses = array( "home" => null, "hardware" => null, @@ -82,9 +82,11 @@ class BaseController extends Controller $data['tm'] = $this->_topMenuClasses; -// print_r($this->_queryString); $this->_queryString = $this->sanitizeQueryString($this->_queryString); - + + $data['querySanitized'] = $this->querySanitized; + $data['queryString'] = Url::createUrl($this->_queryString); + $this->append($data); } -- cgit v1.2.3