/** * Render filters. * @return ArticleList */ public function renderFilters() { $this->beforeRender(); include dirname(__FILE__) . '/filters.php'; self::$renderFilters = TRUE; return $this; }
echo putGS('Related Articles'); ?> </h2> </div> <div class="context-content" style="position:relative"> <div class="context-block context-search"> <h3><?php echo putGS('Available Articles'); ?> </h3> <?php $contextlist = new ContextList(); $contextlist->setSearch(TRUE); $contextlist->setOrder(TRUE); $contextlist->setLanguage($f_language_id); $contextlist->renderFilters(); $contextlist->render(); ?> </div> <script> $(function(){ $(".dataTables_filter input").attr("placeholder", "Search").addClass("context-search search"); //$("#table-<?php echo $contextlist->getId(); ?> _filter").css("border","0px"); $(".fg-toolbar .ui-toolbar .ui-widget-header .ui-corner-tl .ui-corner-tr .ui-helper-clearfix").css("border","none"); $(".fg-toolbar .ui-toolbar .ui-widget-header .ui-corner-bl .ui-corner-br .ui-helper-clearfix").css("background-color","#CCCCCC"); $(".datatable").css("position","static"); }); $(function(){