aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application/Controllers/BaseController.php
diff options
context:
space:
mode:
authorAntonio Gallo <tonicucoz@gmail.com>2011-02-15 00:32:19 +0000
committerAntonio Gallo <tonicucoz@gmail.com>2011-02-15 00:32:19 +0000
commit1854075a62c6ca0422040b4e5ebf89088b0d02b2 (patch)
tree4c725cb4ef2b6eab95c0db23cfedcfb3c1406be4 /h-source/Application/Controllers/BaseController.php
parent99e87e1869e49c67bea2b779283def0e98f39bca (diff)
added wiki - part 1
Diffstat (limited to 'h-source/Application/Controllers/BaseController.php')
-rw-r--r--h-source/Application/Controllers/BaseController.php8
1 files changed, 5 insertions, 3 deletions
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);
}