File/nasmail/functions/constants.php

Description

constants.php

Loads constants used by the rest of the SquirrelMail source. This file is include by src/login.php, src/redirect.php and src/load_prefs.php.

  • version: $Id: constants.php 1446 2009-10-08 18:40:02Z tokul $
  • copyright: (c) 1999-2006 The SquirrelMail Project Team
  • copyright: (c) 2006-2007,2009 The NaSMail Project
  • license: GNU Public License
Includes
 include_once (SM_PATH.'functions/plugin.php') (line 18)

Need to enable plugin functions for a hook

Constants
NSM_FOLDER_ALL = '&ALL&' (line 85)

Special name for all folders. Constant does not match 'All Folders' string used in NaSMail 1.0-1.6 search form.

  • since: 1.7
NSM_FOLDER_NONE = '&' (line 78)

Constant can be used for nonexistent IMAP folder

  • since: 1.5
NSM_LAYOUT_DEFAULT = 0 (line 70)

Layout constants

  • since: 1.4
NSM_LAYOUT_NOFRAMES = 1 (line 71)
NSM_LAYOUT_PREVIEW = 2 (line 72)
NSM_MESSAGE_EML = 'eml' (line 64)
NSM_MESSAGE_MSG = 'msg' (line 63)

Constants for email_message_format.

  • since: 1.3
NSM_PREF_EMPTY = '' (line 57)

Constant for empty string setting

SMPREF_JS_AUTODETECT = 2 (line 54)
SMPREF_JS_OFF = 0 (line 52)
SMPREF_JS_ON = 1 (line 53)
SMPREF_LOC_BETWEEN = 'between' (line 33)
SMPREF_LOC_BOTTOM = 'bottom' (line 34)
SMPREF_LOC_LEFT = '' (line 35)
SMPREF_LOC_RIGHT = 'right' (line 36)
SMPREF_LOC_TOP = 'top' (line 32)
SMPREF_NO = 0 (line 25)

***********************************************************

SMPREF_NONE = 'none' (line 29)
SMPREF_OFF = 0 (line 26)
SMPREF_ON = 1 (line 28)
SMPREF_TIME_12HR = 2 (line 49)
SMPREF_TIME_24HR = 1 (line 48)
SMPREF_UNSEEN_ALL = 3 (line 41)
SMPREF_UNSEEN_INBOX = 2 (line 40)
SMPREF_UNSEEN_NONE = 1 (line 39)
SMPREF_UNSEEN_NORMAL = 5 (line 43)
SMPREF_UNSEEN_ONLY = 1 (line 44)
SMPREF_UNSEEN_SPECIAL = 4 (line 42)
SMPREF_UNSEEN_TOTAL = 2 (line 45)
SMPREF_YES = 1 (line 27)

Documentation generated on Sun, 22 Nov 2009 17:36:24 +0200 by phpDocumentor 1.4.3