Ejemplo n.º 1
0
			<label class="label-checkbox">
				<input type="checkbox" name="avatar" id="avatar" value="1" class="input checkbox "<?php 
echo $avatarOnly ? ' checked="checked"' : '';
?>
>
				<?php 
echo JText::_('COM_COMMUNITY_EVENTS_AVATAR_ONLY');
?>

			</label>
		</div>

		<input type="hidden" name="option" value="com_community" />
		<input type="hidden" name="view" value="search" />
		<input type="hidden" name="Itemid" value="<?php 
echo CRoute::_getDefaultItemid();
?>
">
	</form>

	<?php 
if ($results) {
    ?>

	<div class="cSearch-Result">
		<p>
			<b><?php 
    echo JText::_('COM_COMMUNITY_SEARCH_RESULTS');
    ?>
</b>
		</p>
Ejemplo n.º 2
0
 /**
  * Retrieve the Itemid of JomSocial's menu. If you are creating a link to JomSocial, you
  * will need to retrieve the Itemid.
  * */
 static function getItemId()
 {
     return CRoute::_getDefaultItemid();
 }