Templates for reading a message
[squirrelmail.git] / templates / util_paginator.php
index dfebb9a5a0304969d34acd791415b30479ec9ad5..b01dd0deba0fc6c1a60d13b2819910fc7efafc84 100644 (file)
@@ -1,11 +1,20 @@
 <?php
+
 /**
  * Template logic
  *
  * The following functions are utility functions for this template. Do not
- * echo output in those functions. Output is generated abbove this comment block
+ * 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.
   *
@@ -342,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