This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="media avatar flip"> | |
<a href="http://placekitten.com/75/75" class="img"> | |
<img src="http://placekitten.com/75/75" alt="Purr Avatar" /> | |
</a> | |
<div class="media-hd"> | |
<h3 class="heading h4">The proper heading, specific to this avatar</h3> | |
</div> | |
<div class="media-bd"> | |
<div class="wysiwyg"> | |
<p>Etiam at risus et justo dignissim congue. Donec congue lacinia dui, a porttitor lectus condimentum laoreet. Nunc eu ullamcorper orci. Quisque eget odio ac lectus vestibulum faucibus eget in metus. In pellentesque faucibus vestibulum. Nulla at nulla justo, eget luctus tortor. Nulla facilisi. Duis.</p> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$_GET['cal_id'] = (isset($_GET['cal_id'])) ? $_GET['cal_id'] : ''; | |
$_GET['event_id'] = (isset($_GET['event_id'])) ? $_GET['event_id'] : ''; | |
?> | |
<?php if( empty($_GET['cal_id']) ) : ?> | |
{!-- the links from the old site didn't use cal_id or event_id. this will preserve their functionality --} | |
{if segment_3} | |
{exp:calendar:calendars calendar_name="{segment_3}" } | |
{redirect="events/detail/{calendar_url_title}?cal_id={calendar_id}"} |