/[drupal]/contributions/modules/mailalias/mailalias.module
ViewVC logotype

Diff of /contributions/modules/mailalias/mailalias.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.9, Fri Oct 1 21:51:48 2004 UTC revision 1.10, Tue Nov 29 18:37:30 2005 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: mailalias.module,v 1.8 2004/10/01 00:08:33 uwe Exp $  // $Id: mailalias.module,v 1.9 2004/10/01 21:51:48 ankur Exp $
3    
4  function mailalias_user($type, &$edit, &$user, $category = NULL) {  function mailalias_user($type, &$edit, &$user, $category = NULL) {
5    if ($type == 'form' && $category == 'account') {    if ($type == 'form' && $category == 'account') {
# Line 19  function mailalias_user($type, &$edit, & Line 19  function mailalias_user($type, &$edit, &
19    }    }
20  }  }
21    
22    /**
23     * Implementation of hook_help().
24     */
25  function mailalias_help($section) {  function mailalias_help($section) {
26    if ($section == "admin/modules#description") {    switch ($section) {
27      return t("A user may associate additional email addresses with his account.");      case 'admin/help#mailalias':
28          $output = '<p>'. t('The mail alias module associates additional e-mail aliases to user accounts. The mailhandler module uses these email aliases to authenticate incoming e-mail with your account.  This is useful because many users have multiple email accounts and administrators want to aggregate their content submitted by e-mail to the single user account.') .'</p>';
29          $output .= '<p>'. t('The module is enabled on the users account settings page as a text field. e-mail aliases: where users can enter multiple e-mail addresses separated by a comma.') .'</p>';
30          $output .= t('<p>You can</p>
31    <ul>
32    <li>view the user page at <a href="%user"> user</a>.</li>
33    <li>adminster users at <a href="%admin-user">administer &gt;&gt; users</a>.</li>
34    <li>administer mailhandler at <a href="%admin-mailhandler">administer &gt;&gt; mailhandler</a>.</li>
35    ', array('%user' => url('user'), '%admin-user' => url('admin/user'), '%admin-mailhandler' => url('admin/mailhandler'))) .'</ul>';
36          $output .= '<p>'. t('For more information please read the configuration and customization handbook <a href="%mailalias">Mailalias page</a>.', array('%mailalias' => 'http://www.drupal.org/handbook/modules/mailalias/')) .'</p>';
37          return $output;
38        case "admin/modules#description":
39          return t("A user may associate additional email addresses with his account.");
40    }    }
41  }  }
42    

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

  ViewVC Help
Powered by ViewVC 1.1.2