/**
  * Creates the link to this form, including the search pattern
  *
  * @return string
  */
 function CurrentLink()
 {
     $link = parent::CurrentLink();
     if (isset($_REQUEST['FileSearch'])) {
         if (strpos($link, '?') !== false) {
             $link .= "&";
         } else {
             $link .= "/?";
         }
         $link .= "FileSearch=" . urlencode($_REQUEST['FileSearch']);
     }
     return $link;
 }