<?php /** * @package Geommunity3 * @subpackage mod_geommunity3es * @copyright Copyright (C) 2010 - 2014 Nordmograph.com , Adrien ROUSSEL. All rights reserved. * @license GNU General Public License version 3 or later; see LICENSE.txt */ defined('_JEXEC') or die; echo '<div id="mapajaxloader"><img src="' . $juri . 'components/com_geommunity3es/assets/img/loader.gif" alt="loading" width="16" height="11" /></div>'; if ($show_users && $custom_filter) { $values = modGeommunity3esHelper::getCustomFilterOptions($custom_filter); if (count($values) > 2) { //var_dump($values); $filter_h = str_replace('px', '', $height) - 50; if ($profiletypes_filter) { $filter_h = str_replace('px', '', $height) / 2 - 50; } echo '<div id="custom_filter" class="gckn_filter" style="max-height:' . $filter_h . 'px"> <div class="gckn_filter_inner">'; $app_id = $values[count($values) - 1]; $title = $values[count($values) - 2]; if (strstr($title, 'COM_EASYSOCIAL_')) { $lang->load('com_easysocial', JPATH_ADMINISTRATOR, '', false); } $title = JText::_($title); echo '<h4>' . $title . '</h4>'; echo '<div><span class="geom-icon-filter"></span> ' . JText::_('COM_GEOMMUNITY3ES_ALLNONE') . ' <input type="checkbox" id="custom_allnone" class="custom_allnone" checked /></div>'; $allnone = "jQuery('#custom_allnone').click(function () {\r\n\t\tif ( jQuery(this).is(':checked') ){\r\n\t\t\tjQuery('.custom_filter_box').prop(\"checked\", true);\r\n\t\t}\r\n\t\telse{\r\n\t\t\tjQuery('.custom_filter_box').removeAttr(\"checked\");\r\n\t\t}\r\n\t\t});"; echo '<script>' . $allnone . '</script>'; echo '<table class="table table-condensed table-striped table-hover">';