<commit_before><?
/**
 * @version     $Id$
 * @package     Nooku_Server
 * @subpackage  Application
 * @copyright   Copyright (C) 2011 - 2012 <NAME> and Contributors. (http://www.timble.net).
 * @license     GNU GPLv3 <http://www.gnu.org/licenses/gpl.html>
 * @link        http://www.nooku.org
 */
?>

<script src="media://com_application/js/application.js" />

<? /*if($params->get('flexBox', '1')) :*/ if(true) : ?>
<script src="media://com_application/js/chromatable.js" />
<? else : ?>
<style src="media://com_application/css/legacy.css" />
<? endif; ?>

<body id="minwidth-body" class="<?= JRequest::getVar('option', 'cmd'); ?>">
<div id="container" class="box-row">
	<div id="panel-pages">
	    <?= @template('com://admin/pages.view.pages.list'); ?>
	</div>
	

<div class="box-column">

    <div id="header-box">

        <?= @helper('menubar.render', array('menubar' => $menubar, 'attribs' => array('id' => 'menu')))?>
        <?= @helper('toolbar.render', array('toolbar' => $toolbar, 'attribs' => array('id' => 'statusmenu')))?>

	</div>

    <div id="tabs-box">
		<ktml:modules position="menubar" />
	</div>

    <ktml:modules position="toolbar">
    <div id="toolbar-box">
        <ktml:content />
    </div>
    </ktml:modules>

    <?= @template('default_message') ?>

    <div id="window-body" class="<?= @service('dispatcher')->getController()->getView()->getLayout() ?>">

        <ktml:modules position="sidebar">
        <div id="window-sidebar">
            <ktml:content />
        </div>
        </ktml:modules>

        <div id="window-content" class="<?= @service('dispatcher')->getController()->getView()->getLayout() ?> row-fluid">
            <ktml:variable name="component" />
	    </div>

        <ktml:modules position="inspector">
            <div id="window-inspector">
                <ktml:content />
            </div>
        </ktml:modules>

    </div>
</div>
</div>
<? if(KDEBUG) : ?>
	<?= @service('com://admin/debug.controller.debug')->display(); ?>
<? endif; ?>
	
<script data-inline src="media://com_application/js/chosen.mootools.1.2.js" /></script>
<script data-inline> $$(".chzn-select").chosen(); </script>
</body><commit_msg>re #228 : 'Option' is now injected as a template variable. 'dispatcher' service alias has been renamed to 'component'<commit_after><?
/**
 * @version     $Id$
 * @package     Nooku_Server
 * @subpackage  Application
 * @copyright   Copyright (C) 2011 - 2012 Timble CVBA and Contributors. (http://www.timble.net).
 * @license     GNU GPLv3 <http://www.gnu.org/licenses/gpl.html>
 * @link        http://www.nooku.org
 */
?>

<script src="media://com_application/js/application.js" />

<? /*if($params->get('flexBox', '1')) :*/ if(true) : ?>
<script src="media://com_application/js/chromatable.js" />
<? else : ?>
<style src="media://com_application/css/legacy.css" />
<? endif; ?>

<body id="minwidth-body" class="<?= $option ?>">
<div id="container" class="box-row">
	<div id="panel-pages">
	    <?= @template('com://admin/pages.view.pages.list'); ?>
	</div>
	

<div class="box-column">

    <div id="header-box">

        <?= @helper('menubar.render', array('menubar' => $menubar, 'attribs' => array('id' => 'menu')))?>
        <?= @helper('toolbar.render', array('toolbar' => $toolbar, 'attribs' => array('id' => 'statusmenu')))?>

	</div>

    <div id="tabs-box">
		<ktml:modules position="menubar" />
	</div>

    <ktml:modules position="toolbar">
    <div id="toolbar-box">
        <ktml:content />
    </div>
    </ktml:modules>

    <?= @template('default_message') ?>

    <div id="window-body" class="<?= @service('component')->getController()->getView()->getLayout() ?>">

        <ktml:modules position="sidebar">
        <div id="window-sidebar">
            <ktml:content />
        </div>
        </ktml:modules>

        <div id="window-content" class="<?= @service('component')->getController()->getView()->getLayout() ?> row-fluid">
            <ktml:variable name="content" />
	    </div>

        <ktml:modules position="inspector">
            <div id="window-inspector">
                <ktml:content />
            </div>
        </ktml:modules>

    </div>
</div>
</div>
<? if(KDEBUG) : ?>
	<?= @service('com://admin/debug.controller.debug')->display(); ?>
<? endif; ?>
	
<script data-inline src="media://com_application/js/chosen.mootools.1.2.js" /></script>
<script data-inline> $$(".chzn-select").chosen(); </script>
</body>
{'fraction_non_alphanumeric': 0.2321266968325792, 'fraction_numerical': 0.006108597285067873, 'mean_word_length': 3.1944971537001896, 'pattern_counts': {'":': 0, '<': 114, '<?xml version=': 0, '>': 142, 'https://': 0, 'lorem ipsum': 0, 'www.': 6, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4672932', 'n_tokens_mistral': 1544, 'n_tokens_neox': 1480, 'n_words': 248}