rsvp_help($section)
rsvp/rsvp.module, line 23
Provides a pathetically small amount of help information for the rsvp module.
| Name | Description |
|---|---|
| core functions for rsvp. |
<?php
function rsvp_help($section) {
switch ($section) {
case 'admin/help#rsvp':
global $user;
$output = '<p>'. t('The RSVP module lets users invite people by email to events and track a list of people who will be attending. The RSVP module requires the event module because it is necessary to have an event to invite people to first.') .'</p>';
$output .= '<p>'. t('The RSVP module also lets users invite users subscribed to newsletters, which requires !simplenews installed, as well as invite other registered users.', array('!simplenews' => l(t('Simplenews module'), 'http://drupal.org/project/simplenews'))) .'</p>';
$output .= '<p>'. t('The RSVP page shows a <em>RSVP</em> tab in event page and in <em>my account</em> page. There are confirmation screens for creating and editing RSVPs. Email addresses which are input for RSVP have input validation. RSVP also creates an invitation url by hash value access so that users can click a URL and be taken directly to their invitation. For each RSVP there are view, edit, manage, and send tabs. Users can manage attendees through the manage attendees tab. Users can also send attendees a message through the send message tab.') .'</p>';
$output .= t('<p>You can:</p>
<ul>
<li>Enable the RSVP module at <a href="!admin-modules">administer >> modules</a>.</li>
<li>Not administer the RSVP module.</li>
<li>Create an RSVP for an event by clicking the <strong>Create RSVP</strong> in the RSVP tab in your event.</li>
<li>View your invites at !rsvp.</li>
<li>View your RSVPs at !rsvp-manage.</li>
<li>View, edit, and invite more attendees for each RSVP.</li>
', array('!admin-modules' => url('admin/build/modules'), '!rsvp' => l(t('your invites tab'), 'user/'. $user->uid .'/rsvp'), '!rsvp-manage' => l(t('your RSVPs tab'), 'user/'. $user->uid .'/rsvp/manage'))) .'</ul>';
$output .= '<p>'. t('For more information please read the configuration and customization handbook <a href="%rsvp">RSVP page</a>.', array('%rsvp' => 'http://www.drupal.org/handbook/modules/rsvp/')) .'</p>';
return $output;
case 'admin/modules#description' :
return t('Provides rsvp functionality for node types enabled in the event system.');
case 'rsvp/'. arg(1) .'/message' :
return t('You can send a message to the attendees of this rsvp here.');
case 'rsvp/'. arg(1) .'/attendees' :
return t('You can add attendees, remove attendees, or view the status of an attendee\'s invitation here.');
case 'rsvp' :
case 'rsvp/invites' :
global $user;
if (!$user->uid) {
return t('You must %login or %register in order to manage your invitations to rsvp events from this site. Otherwise, please use the link provided in your email to reply. If the link does not work, contact the sender of the invitation to see if the event has been deleted.', array('%login' => l('login', 'user'), '%register' => l('create a user account', 'user/register')));
}
}
}
?>