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

Diff of /contributions/modules/nudge/nudge.module

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

revision 1.1.2.1, Fri Sep 21 00:46:47 2007 UTC revision 1.1.2.2, Tue Apr 29 03:03:06 2008 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: nudge.module,v 1.1 2007/09/16 17:39:58 kbahey Exp $  // $Id: nudge.module,v 1.1.2.1 2007/09/21 00:46:47 kbahey Exp $
3    
4  define('NUDGE_PERM_SEND',          'send nudges');  define('NUDGE_PERM_SEND',          'send nudges');
5  define('NUDGE_PERM_VIEW',          'view nudges');  define('NUDGE_PERM_VIEW',          'view nudges');
# Line 10  define('NUDGE_THRESHOLD', 'nudg Line 10  define('NUDGE_THRESHOLD', 'nudg
10  define('NUDGE_THRESHOLD_DEFAULT',   3);  define('NUDGE_THRESHOLD_DEFAULT',   3);
11  define('NUDGE_EMAIL',              'nudge_email');  define('NUDGE_EMAIL',              'nudge_email');
12  define('NUDGE_EMAIL_TEXT',         'nudge_email_text');  define('NUDGE_EMAIL_TEXT',         'nudge_email_text');
13  define('NUDGE_EMAIL_TEXT_DEFAULT', "Hello!\nA user on @site, @user, has nudged you about your post, @title.\nMessage: @message");  define('NUDGE_EMAIL_TEXT_DEFAULT', "Hello!\nA user on !site, !user, has nudged you about your post, !title.\nMessage: !message");
14    
15  function nudge_perm() {  function nudge_perm() {
16    return array(NUDGE_PERM_SEND, NUDGE_PERM_VIEW, NUDGE_PERM_ADMIN);    return array(NUDGE_PERM_SEND, NUDGE_PERM_VIEW, NUDGE_PERM_ADMIN);

Legend:
Removed from v.1.1.2.1  
changed lines
  Added in v.1.1.2.2

  ViewVC Help
Powered by ViewVC 1.1.2