4d7293d0f5
--HG-- branch : gsoc2011-kerozcak
29 lines
No EOL
929 B
PHP
29 lines
No EOL
929 B
PHP
<?php
|
|
/**
|
|
* Toolbar history state view.
|
|
*
|
|
* PHP versions 4 and 5
|
|
*
|
|
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
|
|
* Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
|
|
*
|
|
* Licensed under The MIT License
|
|
* Redistributions of files must retain the above copyright notice.
|
|
*
|
|
* @copyright Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org)
|
|
* @link http://cakephp.org
|
|
* @package debug_kit
|
|
* @subpackage debug_kit.views.helpers
|
|
* @since DebugKit 1.0
|
|
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
|
|
**/
|
|
$panels = array();
|
|
foreach ($toolbarState as $panelName => $panel) {
|
|
$panels[$panelName] = $this->element($panel['elementName'], array(
|
|
'content' => $panel['content'],
|
|
'plugin' => $panel['plugin']
|
|
));
|
|
}
|
|
echo $javascript->object($panels);
|
|
Configure::write('debug', 0);
|
|
?>
|