{*
+--------------------------------------------------------------------+
- | CiviCRM version 4.5 |
+ | CiviCRM version 4.6 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2014 |
+--------------------------------------------------------------------+
{if call_user_func(array('CRM_Core_Permission','check'), 'access CiviEvent')}
<div class="crm-actions-ribbon crm-event-manage-tab-actions-ribbon">
<ul id="actions">
-{if call_user_func(array('CRM_Core_Permission','check'), 'edit all events')}
+{if call_user_func(array('CRM_Core_Permission','check'), 'edit all events') && !empty($manageEventLinks)}
<li>
<div id="crm-event-links-wrapper">
- <div id="crm-event-configure-link"><span title="{ts}Configure this event.{/ts}"><div
- class="icon settings-icon"></div></span></div>
+ <span id="crm-event-configure-link" class="crm-hover-button">
+ <span title="{ts}Configure this event.{/ts}" class="icon settings-icon"></span>
+ </span>
<div class="ac_results" id="crm-event-links-list" style="margin-left: -25px;">
<div class="crm-event-links-list-inner">
<ul>
- <li><a title="{ts}Info and Settings{/ts}"
- href="{crmURL p='civicrm/event/manage/settings' q="reset=1&action=update&id=`$event.id`"}">{ts}Info and Settings{/ts}</a>
- </li>
- <li><a title="{ts}Location{/ts}"
- href="{crmURL p='civicrm/event/manage/location' q="reset=1&action=update&id=`$event.id`"}">{ts}Location{/ts}</a>
- </li>
- <li><a title="{ts}Fees{/ts}"
- href="{crmURL p='civicrm/event/manage/fee' q="reset=1&action=update&id=`$event.id`"}">{ts}Fees{/ts}</a>
- </li>
- <li><a title="{ts}Online Registration{/ts}"
- href="{crmURL p='civicrm/event/manage/registration' q="reset=1&action=update&id=`$event.id`"}">{ts}Online Registration{/ts}</a>
- </li>
- {if call_user_func(array('CRM_Core_Permission','check'), 'administer CiviCRM') }
- <li><a title="{ts}Schedule Reminders{/ts}"
- href="{crmURL p='civicrm/event/manage/reminder' q="reset=1&action=update&id=`$event.id`"}">{ts}Schedule Reminders{/ts}</a>
+ {foreach from=$manageEventLinks item='link'}
+ <li>
+ <a href="{crmURL p=$link.url q="reset=1&action=update&id=`$event.id`" fb=1}">{$link.title}</a>
</li>
- {/if}
- {if $eventCartEnabled}
- <li><a title="{ts}Conference Slots{/ts}"
- href="{crmURL p='civicrm/event/manage/conference' q="reset=1&action=update&id=`$event.id`"}">{ts}Conference Slots{/ts}</a>
- </li>
- {/if}
- <li><a title="{ts}Tell a Friend{/ts}"
- href="{crmURL p='civicrm/event/manage/friend' q="reset=1&action=update&id=`$event.id`"}">{ts}Tell a Friend{/ts}</a>
- </li>
- <li><a title="{ts}Personal Campaign Pages{/ts}"
- href="{crmURL p='civicrm/event/manage/pcp' q="reset=1&action=update&id=`$event.id`"}">{ts}Personal Campaign Pages{/ts}</a>
- </li>
+ {/foreach}
</ul>
</div>
</div>
</div>
</li>
{/if}
-<li><div id="crm-participant-wrapper">
- <div id="crm-participant-links"><span title="{ts}Participant listing links.{/ts}"><div class="icon search-icon"></div></div>
- <div class="ac_results" id="crm-participant-list" style="margin-left: -25px;">
- <div class="crm-participant-list-inner">
- <ul>
- {if $findParticipants.statusCounted}
- <li><a class="crm-participant-counted" href="{crmURL p='civicrm/event/search' q="reset=1&force=1&event=`$event.id`&status=true"}"><b>{ts}List counted participants{/ts}</b> ({$findParticipants.statusCounted|replace:'/':', '})</a></li>
- {/if}
+ <li>
+ <div id="crm-participant-wrapper">
+ <span id="crm-participant-links" class="crm-hover-button">
+ <span title="{ts}Participant listing links.{/ts}" class="icon search-icon"></span>
+ </span>
+ <div class="ac_results" id="crm-participant-list" style="margin-left: -25px;">
+ <div class="crm-participant-list-inner">
+ <ul>
+ {if $findParticipants.statusCounted}
+ <li><a class="crm-participant-counted" href="{crmURL p='civicrm/event/search' q="reset=1&force=1&event=`$event.id`&status=true" fb=1}"><b>{ts}List counted participants{/ts}</b> ({$findParticipants.statusCounted|replace:'/':', '})</a></li>
+ {/if}
- {if $findParticipants.statusNotCounted}
- <li><a class="crm-participant-not-counted" href="{crmURL p='civicrm/event/search' q="reset=1&force=1&event=`$event.id`&status=false"}"><b>{ts}List uncounted participants{/ts}</b> ({$findParticipants.statusNotCounted|replace:'/':', '})</a>
- </li>
- {/if}
- {if $participantListingURL}
- <li><a class="crm-participant-listing" href="{$participantListingURL}">{ts}Public Participant Listing{/ts}</a></li>
- {/if}
- </ul>
- </div>
+ {if $findParticipants.statusNotCounted}
+ <li><a class="crm-participant-not-counted" href="{crmURL p='civicrm/event/search' q="reset=1&force=1&event=`$event.id`&status=false" fb=1}"><b>{ts}List uncounted participants{/ts}</b> ({$findParticipants.statusNotCounted|replace:'/':', '})</a>
+ </li>
+ {/if}
+ {if $participantListingURL}
+ <li><a class="crm-participant-listing" href="{$participantListingURL}">{ts}Public Participant Listing{/ts}</a></li>
+ {/if}
+ </ul>
</div>
- </div></li>
+ </div>
+ </div>
+ </li>
</ul>
<div class="clear"></div>
</div>
<tr>
<td class="{$lClass} crm-event-label">{$feeBlock.label.$idx}</td>
{if $isPriceSet & $feeBlock.isDisplayAmount.$idx}
- <td class="fee_amount-value right">{$feeBlock.value.$idx|crmMoney}</td>
+ <td class="fee_amount-value right">
+ {if isset($feeBlock.tax_amount.$idx)}
+ {$feeBlock.value.$idx}
+ {else}
+ {$feeBlock.value.$idx|crmMoney}
+ {/if}
+ </td>
{/if}
</tr>
{/if}
{/if}
{/crmRegion}
</div>
- { if $event.is_public }
+ {if $event.is_public }
<br />{include file="CRM/Event/Page/iCalLinks.tpl"}
{/if}