File/plugins/notes/notes.php

Description

Displays note listing

Copyright (c) 2007-2008 The NaSMail Project This file is part of NaSMail notes plugin.

This plugin is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This plugin is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with plugin; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

This script shares some code with NaSMail 1.4 src/right_main.php, functions/mailbox_display.php and src/move_messages.php Copyright (c) 1999-2006 The SquirrelMail Project Team Copyright (c) 2006-2007 The NaSMail Project

  • version: $Id: notes.php 1309 2008-04-26 08:47:18Z tokul $
Includes
 include_once (SM_PATH.'include/validate.php') (line 34)
 include_once (SM_PATH.'functions/forms.php') (line 38)
 include_once (SM_PATH.'functions/date.php') (line 36)
 include_once (SM_PATH.'functions/imap.php') (line 35)
 include_once (SM_PATH.'functions/mailbox_display.php') (line 39)
 include_once (SM_PATH.'functions/mime.php') (line 37)
Functions
notes_get_msgcnt_str (line 477)

Computes the "Viewing Notes..." string

Modified version of NaSMail get_msgcnt_str().

string notes_get_msgcnt_str (integer $start_msg, integer $end_msg, integer $num_msgs)
  • integer $start_msg: start message
  • integer $end_msg: last message
  • integer $num_msgs: total number of messages in mailbox
notes_get_paginator_link (line 280)
void notes_get_paginator_link ( $start_msg,  $text)
  • $start_msg
  • $text
notes_get_paginator_str (line 292)

Computes the paginator string

Modified version of NaSMail get_paginator_str() function.

string notes_get_paginator_str (integer $start_msg, integer $num_msgs)
  • integer $start_msg: start message
  • integer $num_msgs: number of messages in mailbox
notes_print_listing (line 161)
void notes_print_listing ( $msgs,  $start_msg)
  • $msgs
  • $start_msg
notes_sorting (line 93)

Creates listing header with sorting controls

  • return: html formated table row with listing header
string notes_sorting ()
notes_sort_button (line 137)

Creates sorting button

void notes_sort_button (int $Up, int $Down, int $sort)
  • int $sort: current sorting order
  • int $Up: ascending sorting order
  • int $Down: descending sorting order

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