} } else { echo JText::_($value->data); } echo '</label></td></tr>'; } } else { echo '<i class="geom-icon-cancel" data-es-provide="tooltip" data-original-title="Incorrect field unique key value in module options" ></i> '; } echo '</table>'; echo '</div>'; echo '</div>'; } } if ($show_users && $profiletypes_filter) { $profiles = modGeommunity3esHelper::getProfileTypes($mapid); if (count($profiles) > 1) { $filter_h = str_replace('px', '', $height) - 50; if ($custom_filter) { $filter_h = str_replace('px', '', $height) / 2 - 50; } echo '<div id="profiletypes_filter" class="gckn_filter" style="max-height:' . $filter_h . 'px"> <div class="gckn_filter_inner">'; echo '<div><span class="geom-icon-filter"></span> ' . JText::_('COM_GEOMMUNITY3ES_ALLNONE') . ' <input type="checkbox" id="profiletypes_allnone" class="profiletypes_allnone" checked /></div>'; $allnone = "jQuery('#profiletypes_allnone').click(function () {\r\n\t\tif ( jQuery(this).is(':checked') ){\r\n\t\t\tjQuery('.profiletypes_filter_box').prop(\"checked\", true);\r\n\t\t}\r\n\t\telse{\r\n\t\t\tjQuery('.profiletypes_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">'; foreach ($profiles as $profile) { echo '<tr> <td width="1"><input type="checkbox" class="profiletypes_filter_box" name="profiletypes_filter" id="profile' . $profile->id . '" value="' . $profile->id . '" checked=""> </td> <td><label for="profile' . $profile->id . '" onmouseover="bounceProfileMarkers(\'profileid\',\'' . $profile->id . '\',1);" onmouseout="bounceProfileMarkers(\'profileid\',\'' . $profile->id . '\',0);" >' . JText::_($profile->title) . '</label></td></tr>';