Adding plugins on/off switch, which disables plugins completely (optionally for only...
[squirrelmail.git] / templates / util_paginator.php
index 9e6f2b9dc4aacc38136133a655222c056e8e999e..b01dd0deba0fc6c1a60d13b2819910fc7efafc84 100644 (file)
@@ -1,12 +1,20 @@
 <?php
+
 /**
  * Template logic
  *
  * The following functions are utility functions for this template. Do not
  * echo output in those functions. Output is generated above this comment block
+ *
+ * @copyright &copy; 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.
   *
@@ -343,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