<?php echo UI::page_header(__('Available Classes')); ?> <input type="text" placeholder="<?php echo __('Filter'); ?> " class="form-control" name="search" id="api-filter-box"> <script type="text/javascript"> $.fn.extend({ filter_content: function(search){ var search_regex = new RegExp(search, 'gi'); // Run through each .class definition $('.panel', this).each(function(k, container){ if (search == '') { // If search box is empty show everything without doing any regex $(container).show(); $('li', container).show(); // Continue return true; } // // Run through every anchor $('a', $(container)).each(function(k, anchor){ // Keep track of the li var $parent = $(anchor).closest('li');
echo $breadcrumbs; ?> <div class="row"> <div class="col-md-3"> <div id="kodoc-topics" class="panel"> <?php echo $menu; ?> </div> </div> <div class="col-md-9"> <?php if (!empty($title)) { ?> <?php echo UI::page_header($title); ?> <?php } ?> <?php echo $content; ?> <div class="clearfix"></div> </div> </div> <?php echo $footer; ?>