toolbar.inc
上传用户:xiao730204
上传日期:2007-01-04
资源大小:141k
文件大小:1k
源码类别:

WEB邮件程序

开发平台:

PHP

  1. <?php
  2. $toolbar_current_app = PIMP;
  3. $template_obj->Register( 'section_title', 'Mail' );
  4. $template_obj->ParseTemplate(
  5.    './templates/toolbar/section_title.inc' 
  6. );
  7. $toolbar_desc        = 'Check Mailbox';
  8. $toolbar_form_mode   = Array(
  9.    PIMP_MAIL_CHECK_MAILBOX,
  10.    PIMP_MAIL_SORT_ASC_SUBJECT,
  11.    PIMP_MAIL_SORT_REV_SUBJECT,
  12.    PIMP_MAIL_SORT_ASC_FROM,
  13.    PIMP_MAIL_SORT_REV_FROM,
  14.    PIMP_MAIL_SORT_ASC_DATE,
  15.    PIMP_MAIL_SORT_REV_DATE,
  16.    PIMP_MAIL_SORT_ASC_SIZE,
  17.    PIMP_MAIL_SORT_REV_SIZE,
  18.    PIMP_MAIL_COMPOSE_SEND
  19. );
  20. include( './templates/toolbar/item.inc' );
  21. $toolbar_desc        = 'Compose';
  22. $toolbar_form_mode   = Array(
  23.    PIMP_MAIL_COMPOSE,
  24.    PIMP_MAIL_COMPOSE_MAIN,
  25.    PIMP_MAIL_COMPOSE_ATTATCH,
  26.    PIMP_MAIL_COMPOSE_ATTATCH_REMOVE
  27. );
  28. include( './templates/toolbar/item.inc' );
  29. /*
  30. $toolbar_desc        = 'AddressBook';
  31. $toolbar_form_mode   = PIMP_MAIL_CONTACTS;
  32. include( './templates/toolbar/item.inc' );
  33. */
  34. $toolbar_desc        = 'Add Folder';
  35. $toolbar_form_mode   = PIMP_MAIL_ADD_FOLDER_FRM;
  36. include( './templates/toolbar/item.inc' );
  37. $toolbar_desc        = 'Remove Folder';
  38. $toolbar_form_mode   = PIMP_MAIL_REMOVE_FOLDER_FRM;
  39. include( './templates/toolbar/item.inc' );
  40. $toolbar_desc        = 'Preferences';
  41. $toolbar_form_mode   = Array(
  42.    PIMP_MAIL_PREFERENCES,
  43.    PIMP_MAIL_PREF_SERVER,
  44.    PIMP_MAIL_PREF_SIG
  45. );
  46. include( './templates/toolbar/item.inc' );
  47. /*
  48. $toolbar_desc        = 'Report a Problem';
  49. $toolbar_form_mode   = MAIL_REPORT_PROBLEM;
  50. include( './templates/toolbar/item.inc' );
  51. */
  52. ?>