Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
12345 anikendra 1
<?php
2
/**
3
 * Request Panel Element
4
 *
5
 * PHP 5
6
 *
7
 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
8
 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
9
 *
10
 * Licensed under The MIT License
11
 * Redistributions of files must retain the above copyright notice.
12
 *
13
 * @copyright     Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
14
 * @link          http://cakephp.org CakePHP(tm) Project
15
 * @since         DebugKit 0.1
16
 * @license       http://www.opensource.org/licenses/mit-license.php MIT License
17
 */
18
?>
19
<h2> <?php echo __d('debug_kit', 'Request'); ?></h2>
20
 
21
<h4>Cake Params</h4>
22
<?php echo $this->Toolbar->makeNeatArray($content['params']); ?>
23
 
24
<h4>Post data</h4>
25
<?php
26
if (empty($content['data'])):
27
	echo '<p class="info">' . __d('debug_kit', 'No post data.') . '</p>';
28
else:
29
	echo $this->Toolbar->makeNeatArray($content['data']);
30
endif;
31
?>
32
 
33
<h4>Query string</h4>
34
<?php
35
if (empty($content['query'])):
36
	echo '<p class="info">' . __d('debug_kit', 'No querystring data.') . '</p>';
37
else:
38
	echo $this->Toolbar->makeNeatArray($content['query']);
39
endif;
40
?>
41
 
42
<h4>Cookie</h4>
43
<?php if (isset($content['cookie'])): ?>
44
	<?php echo $this->Toolbar->makeNeatArray($content['cookie']); ?>
45
<?php else: ?>
46
	<p class="info">To view Cookies, add CookieComponent to Controller</p>
47
<?php endif; ?>
48
 
49
<h4><?php echo __d('debug_kit', 'Current Route') ?></h4>
50
<?php echo $this->Toolbar->makeNeatArray($content['currentRoute']);