Example #1
0
function _ti_init($trace)
{
    $base =& $GLOBALS['_ti_base'];
    if ($base && !_ti_inBaseOrChild($trace)) {
        flushblocks();
        // will set $base to null
    }
    if (!$base) {
        $base = array('trace' => $trace, 'filters' => null, 'children' => array(), 'start' => 0, 'end' => null);
        $GLOBALS['_ti_level'] = ob_get_level();
        $GLOBALS['_ti_stack'] = array();
        $GLOBALS['_ti_hash'] = array();
        $GLOBALS['_ti_end'] = null;
        $GLOBALS['_ti_after'] = '';
        ob_start('_ti_bufferCallback');
    }
}
Example #2
0
                <?php 
emptyblock('admin_content_footer');
?>
            </div>
            <!-- /.box-footer-->
            <!-- /.box -->

        </section>
        <!-- /.content -->
    </div>
    <!-- /.content-wrapper -->

    <?php 
ob_start();
include $_SERVER['DOCUMENT_ROOT'] . '/src/App/Views/admin/footer.php';
flushblocks();
?>

</div>


<!-- ./wrapper -->

<?php 
startblock('script_body_end_custom');
?>
<script>
    Kmiko.App.functions.require(
        ["ux.utils",
            "admin.formController",
            "admin.adminController"]