<?php 
/**
* 
*/

// Disallow direct access.
defined('ABSPATH') or die('Restricted Access');

// Block view aggregated object!
$blockView = $this->getBlockView();
?>
<div id="cjtoolbox-<?php echo $blockView->block->id; ?>" class="postbox">

    <div class="postbox-header">
    
        <h2 class="hndle">
        
            <input  name='cjtoolbox[<?php echo $blockView->block->id ?>][name]'
                    type='text'
                    class='block-name'
                    value='<?php echo $blockView->block->name ?>'
                    title='<?php echo cssJSToolbox::getText('Click to update Block name') ?>'
                    maxlength='50' />
            
        </h2>
        
        <div class="handle-actions hide-if-no-js">
        
            <button type="button" class="handle-order-higher hidden" aria-disabled="false" aria-describedby="cjtoolbox-<?php echo $blockView->block->id ?>-handle-order-higher-description">
                <span class="screen-reader-text"> <?php _e('Move up') ?></span>
                <span class="order-higher-indicator" aria-hidden="true"></span>
            </button>
            
            <span class="hidden" id="cjtoolbox-<?php echo $blockView->block->id ?>-handle-order-higher-description"><?php _e('Move box up') ?></span>
            
            <button type="button" class="handle-order-lower hidden" aria-disabled="false" aria-describedby="cjtoolbox-<?php echo $blockView->block->id ?>-handle-order-lower-description">
                <span class="screen-reader-text"><?php _e('Move down') ?></span>
                <span class="order-lower-indicator" aria-hidden="true"></span>
            </button>
            
            <span class="hidden" id="cjtoolbox-<?php echo $blockView->block->id ?>-handle-order-lower-description"><?php _e('Move box down') ?></span>
                
            <button type="button" class="handlediv" aria-expanded="true">
                <span class="screen-reader-text"><?php _e('Toggle panel') ?>: </span>
                <span class="toggle-indicator" aria-hidden="true"></span>
            </button>
            
        </div>
    
    </div>
    
	<div class="inside">
    
<?php echo $this->getTemplate('default') ?>

	</div>
</div>