Adding plugins on/off switch, which disables plugins completely (optionally for only...
[squirrelmail.git] / templates / util_paginator.php
index c327a4fcc6c3618360873746ba2b83106a60c700..b01dd0deba0fc6c1a60d13b2819910fc7efafc84 100644 (file)
@@ -6,12 +6,15 @@
  * The following functions are utility functions for this template. Do not
  * echo output in those functions. Output is generated above this comment block
  *
- * @copyright © 2005 The SquirrelMail Project Team
+ * @copyright © 2005-2006 The SquirrelMail Project Team
  * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
  * @package squirrelmail
  */
 
+/** Load forms functions, needed for addsubmit(). */
+include_once(SM_PATH . 'functions/forms.php');
+
  /**
   * Generate a paginator link.
   *
@@ -348,4 +351,3 @@ function get_paginator_str($box, $iOffset, $iTotal, $iLimit, $bShowAll,$page_sel
     /* Return our final magical compact paginator string. */
     return ($result);
 }
-?>
\ No newline at end of file