#glm-event-category {
width: 85%;
}
+#glm-event-pdf-submit,
+#glm-event-rss-feed,
+#glm-event-ical-feed {
+ margin: 5px 5px;
+}
@media only screen and (max-width: 40em) {
#glm-event-add-event {
margin-top: 20px !important;
if ( isset($_REQUEST['eventId']) && $eventId = filter_var($_REQUEST['eventId'], FILTER_VALIDATE_INT)) {
$search = true;
- if ($ical = filter_var($_REQUEST['ical'], FILTER_VALIDATE_BOOLEAN)) {
- $action = 'event-ical';
- }
+ $action = 'event-ical';
}
if ( !isset($eventId) || !$eventId ) {
if ( isset($_REQUEST['eventId']) && $eventId = filter_var($_REQUEST['eventId'], FILTER_VALIDATE_INT)) {
$search = true;
- if ($ical = filter_var($_REQUEST['ical'], FILTER_VALIDATE_BOOLEAN)) {
- $action = 'event-rss';
- }
+ $action = 'event-rss';
}
if ( !isset($eventId) || !$eventId ) {
</div>
<div class="small-4 medium-2 column">
{if !$eventId}
- <input class="right" type="image" alt="Search" id="glm-event-pdf-submit" src="{$assetsUrl}print-icon-24x24.png">
+ <input class="right" type="image" title="Print PDF" id="glm-event-pdf-submit" src="{$assetsUrl}print-icon-24x24.png">
{else}
-
{/if}
+ <a href="{$ajaxUrl}?action=glm_members_admin_ajax&glm_action=rssFeed{if $eventId}&eventId={$eventId}{/if}">
+ <img class="right" title="RSS Feed" id="glm-event-rss-feed" src="{$assetsUrl}rss-icon-24x24.png" />
+ </a>
+ <a href="{$ajaxUrl}?action=glm_members_admin_ajax&glm_action=icalFeed&ical=1{if $eventId}&eventId={$eventId}{/if}">
+ <img class="right" title="iCal Feed" id="glm-event-ical-feed" src="{$assetsUrl}calendar-icon-24x24.png" />
+ </a>
</div>
</div>
</form>